Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Blocks.Continuous_InitialState.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Blocks.Continuous_InitialState,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Blocks_Continuous_InitialState",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Blocks.Continuous_InitialState,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Blocks_Continuous_InitialState",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0006922/0.0006923, allocations: 98.61 kB / 17.35 MB, free: 6.367 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0008053/0.0008052, allocations: 206 kB / 18.28 MB, free: 5.496 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.249/1.249, allocations: 227.7 MB / 246.8 MB, free: 11.41 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1791/0.1791, allocations: 46.19 MB / 345.2 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002471/0.0002472, allocations: 8 kB / 419.6 MB, free: 19.68 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08868/0.08894, allocations: 63.57 MB / 483.2 MB, free: 4.098 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.Continuous_InitialState): time 0.003012/0.09199, allocations: 2.99 MB / 486.2 MB, free: 1.09 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002338/0.09434, allocations: 1.563 MB / 487.7 MB, free: 15.52 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002278/0.09459, allocations: 19.88 kB / 487.7 MB, free: 15.5 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003868/0.09498, allocations: 111.2 kB / 487.9 MB, free: 15.39 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000386/0.09538, allocations: 163 kB / 488 MB, free: 15.23 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009222/0.09631, allocations: 0.4901 MB / 488.5 MB, free: 14.75 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007551/0.09708, allocations: 0.8459 MB / 489.3 MB, free: 13.9 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003172/0.09741, allocations: 218.4 kB / 489.6 MB, free: 13.67 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003594/0.09777, allocations: 302.4 kB / 489.9 MB, free: 13.38 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000379/0.09816, allocations: 346.1 kB / 490.2 MB, free: 13.04 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 5.872e-05/0.09823, allocations: 20 kB / 490.2 MB, free: 13.02 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.536e-05/0.09833, allocations: 32 kB / 490.2 MB, free: 12.98 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001529/0.09849, allocations: 151.3 kB / 490.4 MB, free: 12.84 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002219/0.09872, allocations: 319.5 kB / 490.7 MB, free: 12.52 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005235/0.09925, allocations: 0.6847 MB / 491.4 MB, free: 11.83 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.845e-06/0.09926, allocations: 0 / 491.4 MB, free: 11.83 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.09926, allocations: 0 / 491.4 MB, free: 11.83 MB / 366.1 MB Notification: Performance of Transformations before backend: time 7.113e-06/0.09928, allocations: 0 / 491.4 MB, free: 11.83 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 110 * Number of variables: 110 Notification: Performance of Generate backend data structure: time 0.001893/0.1012, allocations: 1.051 MB / 492.4 MB, free: 10.73 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.517e-05/0.1012, allocations: 13.95 kB / 492.5 MB, free: 10.71 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.273e-05/0.1013, allocations: 82.7 kB / 492.5 MB, free: 10.62 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002113/0.1015, allocations: 99.91 kB / 492.6 MB, free: 10.53 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007702/0.1023, allocations: 0.5662 MB / 493.2 MB, free: 9.922 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.444e-05/0.1024, allocations: 37.38 kB / 493.2 MB, free: 9.887 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.515e-05/0.1025, allocations: 60.28 kB / 493.3 MB, free: 9.828 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001074/0.1035, allocations: 0.636 MB / 493.9 MB, free: 9.137 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.93e-05/0.1036, allocations: 11.88 kB / 493.9 MB, free: 9.125 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.838e-05/0.1036, allocations: 24 kB / 494 MB, free: 9.102 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.164e-05/0.1036, allocations: 12 kB / 494 MB, free: 9.09 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001079/0.1047, allocations: 0.49 MB / 494.5 MB, free: 8.598 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003252/0.108, allocations: 2.686 MB / 497.2 MB, free: 5.812 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001113/0.1091, allocations: 0.5818 MB / 497.7 MB, free: 5.203 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005746/0.1097, allocations: 274.5 kB / 498 MB, free: 4.926 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.234e-05/0.1097, allocations: 11.98 kB / 498 MB, free: 4.914 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.399e-05/0.1098, allocations: 34.56 kB / 498 MB, free: 4.871 MB / 366.1 MB Notification: Performance of pre-optimization done (n=43): time 1.493e-06/0.1098, allocations: 0 / 498 MB, free: 4.871 MB / 366.1 MB Notification: Performance of matching and sorting (n=44): time 0.002419/0.1122, allocations: 1.217 MB / 499.3 MB, free: 3.645 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.182e-05/0.1123, allocations: 162.2 kB / 499.4 MB, free: 3.449 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007831/0.1131, allocations: 0.6568 MB / 0.4884 GB, free: 2.781 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.392e-05/0.1131, allocations: 33.7 kB / 0.4884 GB, free: 2.742 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002419/0.1134, allocations: 364 kB / 0.4887 GB, free: 2.379 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001239/0.1135, allocations: 169.5 kB / 0.4889 GB, free: 2.211 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.353e-05/0.1136, allocations: 65.67 kB / 0.489 GB, free: 2.141 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 9.586e-05/0.1137, allocations: 329.9 kB / 0.4893 GB, free: 1.812 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006303/0.1143, allocations: 289.1 kB / 0.4896 GB, free: 1.531 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007277/0.1151, allocations: 461.5 kB / 0.49 GB, free: 1.008 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001312/0.1164, allocations: 0.721 MB / 0.4907 GB, free: 232 kB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.517e-06/0.1164, allocations: 4 kB / 0.4907 GB, free: 228 kB / 366.1 MB Notification: Performance of matching and sorting (n=77) (initialization): time 0.001615/0.118, allocations: 0.8429 MB / 0.4915 GB, free: 15.38 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.000112/0.1182, allocations: 217.9 kB / 0.4917 GB, free: 15.1 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.927e-06/0.1182, allocations: 7.938 kB / 0.4917 GB, free: 15.09 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.588e-05/0.1182, allocations: 8 kB / 0.4917 GB, free: 15.08 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006695/0.1189, allocations: 171.7 kB / 0.4919 GB, free: 14.91 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.167e-05/0.1189, allocations: 11.94 kB / 0.4919 GB, free: 14.9 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005122/0.1194, allocations: 87.62 kB / 0.492 GB, free: 14.82 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.139e-05/0.1195, allocations: 24 kB / 0.492 GB, free: 14.79 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.881e-06/0.1195, allocations: 4 kB / 0.492 GB, free: 14.79 MB / 382.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001382/0.1209, allocations: 0.7173 MB / 0.4927 GB, free: 14.07 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.5e-06/0.1209, allocations: 4 kB / 0.4927 GB, free: 14.07 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.965e-06/0.1209, allocations: 8 kB / 0.4927 GB, free: 14.06 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006074/0.1215, allocations: 164.1 kB / 0.4929 GB, free: 13.9 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.013e-05/0.1215, allocations: 11.98 kB / 0.4929 GB, free: 13.89 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004779/0.122, allocations: 79.55 kB / 0.493 GB, free: 13.81 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.897e-05/0.1221, allocations: 28 kB / 0.493 GB, free: 13.79 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * Number of states: 0 () * Number of discrete variables: 4 (limPID.I.local_reset,pID.I.local_reset,limIntegrator.local_reset,integrator.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (77): * Single equations (assignments): 77 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002614/0.1223, allocations: 300.8 kB / 0.4933 GB, free: 13.48 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001302/0.1225, allocations: 71.16 kB / 0.4934 GB, free: 13.41 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001824/0.1227, allocations: 86.22 kB / 0.4935 GB, free: 13.32 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.38e-06/0.1227, allocations: 4 kB / 0.4935 GB, free: 13.32 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.863e-06/0.1227, allocations: 3.984 kB / 0.4935 GB, free: 13.32 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.47e-06/0.1227, allocations: 0 / 0.4935 GB, free: 13.32 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001162/0.1238, allocations: 0.8649 MB / 0.4943 GB, free: 12.39 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.484e-06/0.1239, allocations: 0 / 0.4943 GB, free: 12.39 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006421/0.1245, allocations: 119.8 kB / 0.4944 GB, free: 12.28 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.137e-06/0.1245, allocations: 7.922 kB / 0.4944 GB, free: 12.27 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.012e-05/0.1246, allocations: 12 kB / 0.4944 GB, free: 12.26 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.827e-06/0.1246, allocations: 3.938 kB / 0.4944 GB, free: 12.25 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.1246, allocations: 4 kB / 0.4944 GB, free: 12.25 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002011/0.1266, allocations: 1.207 MB / 0.4956 GB, free: 11.02 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002015/0.1268, allocations: 192.3 kB / 0.4958 GB, free: 10.81 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.827e-05/0.1269, allocations: 12 kB / 0.4958 GB, free: 10.8 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005508/0.1275, allocations: 67.88 kB / 0.4959 GB, free: 10.73 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.946e-05/0.1276, allocations: 39.88 kB / 0.4959 GB, free: 10.7 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.727e-05/0.1276, allocations: 12 kB / 0.4959 GB, free: 10.68 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0005829/0.1282, allocations: 467 kB / 0.4964 GB, free: 10.23 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1282, allocations: 0 / 0.4964 GB, free: 10.23 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0006999/0.1289, allocations: 188 kB / 0.4966 GB, free: 10.05 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 18 (limPID.I.y,limPID.D.x,transferFunction.x_scaled[1],stateSpace.x[1],stateSpace.x[2],lowpassButterworth.x1[1],lowpassButterworth.x2[1],criticalDamping.x[1],criticalDamping.x[2],integrator.y,limIntegrator.y,derivative.x,firstOrder.y,secondOrder.y,secondOrder.yd,pI.x,pID.I.y,pID.D.x) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (44): * Single equations (assignments): 44 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002257/0.1312, allocations: 1.761 MB / 0.4983 GB, free: 8.262 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002047/0.1332, allocations: 1.017 MB / 0.4993 GB, free: 7.246 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.1332, allocations: 3.938 kB / 0.4993 GB, free: 7.242 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006376/0.1339, allocations: 315.8 kB / 0.4996 GB, free: 6.934 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001103/0.135, allocations: 175.9 kB / 0.4997 GB, free: 6.766 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1713/0.3063, allocations: 7.268 MB / 0.5068 GB, free: 39.46 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004305/0.3068, allocations: 0.9485 MB / 0.5078 GB, free: 38.76 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0006057/0.3074, allocations: 150.2 kB / 0.5079 GB, free: 38.76 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004007/0.3078, allocations: 259.9 kB / 0.5082 GB, free: 38.75 MB / 382.1 MB Notification: Performance of SimCode: time 5.41e-07/0.3078, allocations: 0 / 0.5082 GB, free: 38.75 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02664/0.3344, allocations: 13.47 MB / 0.5213 GB, free: 35.37 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001171/0.3346, allocations: 201.7 kB / 0.5215 GB, free: 35.11 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.945/2.28, allocations: 1 kB / 0.5215 GB, free: 35.11 MB / 382.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Blocks.Continuous_InitialState.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Blocks.Continuous_InitialState.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Blocks.Continuous_InitialState.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Blocks.Continuous_InitialState.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Blocks.Continuous_InitialState_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Blocks_Continuous_InitialState_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Blocks_Continuous_InitialState.fmu > ModelicaTest_trunk_ModelicaTest.Blocks.Continuous_InitialState.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Blocks.Continuous_InitialState_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Blocks/Continuous_InitialState/Continuous_InitialState.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Blocks.Continuous_InitialState.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches