Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Blocks.Continuous.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Blocks.Continuous,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Blocks_Continuous",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Blocks.Continuous,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Blocks_Continuous",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0006982/0.0006981, allocations: 94.33 kB / 17.35 MB, free: 6.375 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008477/0.0008478, allocations: 179.2 kB / 18.26 MB, free: 5.52 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.194/1.194, allocations: 223.3 MB / 242.3 MB, free: 204 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2147/0.2147, allocations: 44.24 MB / 337.7 MB, free: 2.664 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002743/0.0002745, allocations: 12.78 kB / 410.4 MB, free: 27.21 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1018/0.102, allocations: 61.92 MB / 472.4 MB, free: 13.26 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.Continuous): time 0.00337/0.1055, allocations: 2.958 MB / 475.3 MB, free: 10.27 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002637/0.1081, allocations: 1.497 MB / 476.8 MB, free: 8.77 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004438/0.1086, allocations: 19.88 kB / 476.8 MB, free: 8.75 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004805/0.1091, allocations: 115.2 kB / 476.9 MB, free: 8.637 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005696/0.1097, allocations: 166.3 kB / 477.1 MB, free: 8.477 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001099/0.1108, allocations: 486.4 kB / 477.6 MB, free: 8.004 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001027/0.1118, allocations: 0.8576 MB / 478.4 MB, free: 7.145 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003767/0.1122, allocations: 222.4 kB / 478.7 MB, free: 6.914 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00046/0.1127, allocations: 294.5 kB / 478.9 MB, free: 6.625 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004858/0.1132, allocations: 346.1 kB / 479.3 MB, free: 6.285 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 9.479e-05/0.1133, allocations: 24 kB / 479.3 MB, free: 6.262 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.624e-05/0.1134, allocations: 20 kB / 479.3 MB, free: 6.242 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001773/0.1135, allocations: 159.3 kB / 479.5 MB, free: 6.086 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002697/0.1138, allocations: 315.5 kB / 479.8 MB, free: 5.77 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007284/0.1145, allocations: 0.6886 MB / 480.5 MB, free: 5.078 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.237e-06/0.1146, allocations: 0 / 480.5 MB, free: 5.078 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.402e-06/0.1146, allocations: 0 / 480.5 MB, free: 5.078 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.272e-05/0.1146, allocations: 0 / 480.5 MB, free: 5.078 MB / 350.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.002794/0.1174, allocations: 1.051 MB / 481.5 MB, free: 3.977 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.558e-05/0.1175, allocations: 12.03 kB / 481.5 MB, free: 3.965 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001775/0.1177, allocations: 82.72 kB / 481.6 MB, free: 3.875 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002399/0.1179, allocations: 87.91 kB / 481.7 MB, free: 3.789 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001244/0.1192, allocations: 0.5662 MB / 482.3 MB, free: 3.184 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.476e-05/0.1192, allocations: 37.38 kB / 482.3 MB, free: 3.148 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001372/0.1194, allocations: 56.36 kB / 482.4 MB, free: 3.094 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001567/0.121, allocations: 0.6408 MB / 483 MB, free: 2.398 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.442e-05/0.121, allocations: 3.906 kB / 483 MB, free: 2.395 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.656e-05/0.1211, allocations: 20 kB / 483 MB, free: 2.375 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.675e-05/0.1211, allocations: 16 kB / 483 MB, free: 2.359 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00152/0.1226, allocations: 497.8 kB / 483.5 MB, free: 1.875 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004779/0.1274, allocations: 2.694 MB / 486.2 MB, free: 15.08 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001572/0.129, allocations: 0.5794 MB / 486.8 MB, free: 14.48 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008007/0.1298, allocations: 282.4 kB / 487.1 MB, free: 14.19 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.438e-05/0.1299, allocations: 4 kB / 487.1 MB, free: 14.19 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.791e-05/0.1299, allocations: 38.56 kB / 487.1 MB, free: 14.14 MB / 366.1 MB Notification: Performance of pre-optimization done (n=43): time 3.146e-06/0.1299, allocations: 0 / 487.1 MB, free: 14.14 MB / 366.1 MB Notification: Performance of matching and sorting (n=44): time 0.002964/0.1329, allocations: 1.206 MB / 488.3 MB, free: 12.92 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.566e-05/0.133, allocations: 132.5 kB / 488.5 MB, free: 12.76 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008417/0.1339, allocations: 0.6607 MB / 489.1 MB, free: 12.09 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.971e-05/0.1339, allocations: 33.7 kB / 489.1 MB, free: 12.05 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002455/0.1342, allocations: 360 kB / 489.5 MB, free: 11.7 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001387/0.1343, allocations: 169.5 kB / 489.7 MB, free: 11.53 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.825e-05/0.1344, allocations: 61.69 kB / 489.7 MB, free: 11.46 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000111/0.1345, allocations: 337.9 kB / 490.1 MB, free: 11.13 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007867/0.1353, allocations: 285.1 kB / 490.3 MB, free: 10.85 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001097/0.1364, allocations: 460.5 kB / 490.8 MB, free: 10.33 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001961/0.1384, allocations: 0.7093 MB / 491.5 MB, free: 9.562 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.998e-06/0.1384, allocations: 3.938 kB / 491.5 MB, free: 9.559 MB / 366.1 MB Notification: Performance of matching and sorting (n=77) (initialization): time 0.002432/0.1408, allocations: 0.8533 MB / 492.3 MB, free: 8.703 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001715/0.141, allocations: 217.4 kB / 492.6 MB, free: 8.426 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.613e-05/0.1411, allocations: 7.938 kB / 492.6 MB, free: 8.418 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.621e-05/0.1411, allocations: 11.94 kB / 492.6 MB, free: 8.406 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009207/0.142, allocations: 159.8 kB / 492.7 MB, free: 8.25 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.315e-05/0.1421, allocations: 11.98 kB / 492.7 MB, free: 8.238 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007356/0.1428, allocations: 95.53 kB / 492.8 MB, free: 8.145 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.464e-05/0.1429, allocations: 20 kB / 492.9 MB, free: 8.125 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.103e-05/0.1429, allocations: 6.5 kB / 492.9 MB, free: 8.121 MB / 366.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002045/0.1449, allocations: 0.718 MB / 493.6 MB, free: 7.402 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.888e-06/0.145, allocations: 4 kB / 493.6 MB, free: 7.398 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.419e-05/0.145, allocations: 11.98 kB / 493.6 MB, free: 7.387 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008618/0.1459, allocations: 151.8 kB / 493.7 MB, free: 7.238 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.781e-05/0.1459, allocations: 12.22 kB / 493.8 MB, free: 7.227 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007218/0.1466, allocations: 83.62 kB / 493.8 MB, free: 7.145 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.248e-05/0.1467, allocations: 27.94 kB / 493.9 MB, free: 7.117 MB / 366.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.000444/0.1472, allocations: 294.3 kB / 494.2 MB, free: 6.82 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002233/0.1474, allocations: 75.06 kB / 494.2 MB, free: 6.746 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000281/0.1477, allocations: 90.2 kB / 494.3 MB, free: 6.652 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.136e-06/0.1477, allocations: 7.938 kB / 494.3 MB, free: 6.645 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.133e-06/0.1477, allocations: 0 / 494.3 MB, free: 6.645 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.271e-05/0.1477, allocations: 12.02 kB / 494.3 MB, free: 6.633 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001882/0.1496, allocations: 0.8647 MB / 495.2 MB, free: 5.711 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.494e-06/0.1497, allocations: 4 kB / 495.2 MB, free: 5.707 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008765/0.1505, allocations: 111.9 kB / 495.3 MB, free: 5.598 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.828e-06/0.1506, allocations: 8 kB / 495.3 MB, free: 5.59 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7e-05/0.1506, allocations: 11.98 kB / 495.3 MB, free: 5.578 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.536e-06/0.1507, allocations: 7.938 kB / 495.3 MB, free: 5.57 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.304e-06/0.1507, allocations: 0 / 495.3 MB, free: 5.57 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002868/0.1535, allocations: 1.203 MB / 496.5 MB, free: 4.352 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003115/0.1539, allocations: 192.2 kB / 496.7 MB, free: 4.145 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001181/0.154, allocations: 15.98 kB / 496.7 MB, free: 4.129 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007575/0.1548, allocations: 63.89 kB / 496.8 MB, free: 4.066 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000142/0.1549, allocations: 35.94 kB / 496.8 MB, free: 4.031 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.264e-05/0.155, allocations: 15.94 kB / 496.9 MB, free: 4.016 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000882/0.1559, allocations: 467 kB / 497.3 MB, free: 3.562 MB / 366.1 MB Notification: Performance of sort global known variables: time 3.3e-07/0.1559, allocations: 4 kB / 497.3 MB, free: 3.559 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0009343/0.1568, allocations: 192 kB / 497.5 MB, free: 3.371 MB / 366.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.002239/0.1591, allocations: 1.752 MB / 499.3 MB, free: 1.582 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.002129/0.1612, allocations: 1.024 MB / 0.4886 GB, free: 0.5625 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.1612, allocations: 0 / 0.4886 GB, free: 0.5625 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000638/0.1619, allocations: 303.7 kB / 0.4889 GB, free: 272 kB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001104/0.163, allocations: 188.7 kB / 0.489 GB, free: 88 kB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01049/0.1735, allocations: 7.227 MB / 0.4961 GB, free: 8.59 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000532/0.174, allocations: 0.9497 MB / 0.497 GB, free: 7.613 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0004805/0.1745, allocations: 152.7 kB / 0.4972 GB, free: 7.461 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003664/0.1749, allocations: 259.3 kB / 0.4974 GB, free: 7.207 MB / 382.1 MB Notification: Performance of SimCode: time 5.11e-07/0.1749, allocations: 0 / 0.4974 GB, free: 7.207 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1996/0.3746, allocations: 13.49 MB / 0.5106 GB, free: 48.21 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001453/0.3747, allocations: 182.5 kB / 0.5108 GB, free: 47.96 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.911/2.286, allocations: 0 / 0.5108 GB, free: 47.96 MB / 382.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Blocks.Continuous.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Blocks.Continuous.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Blocks.Continuous.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Blocks.Continuous.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Blocks.Continuous_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Blocks_Continuous_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Blocks_Continuous.fmu > ModelicaTest_4.0.0_ModelicaTest.Blocks.Continuous.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Blocks.Continuous_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Blocks/Continuous/Continuous.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Blocks.Continuous.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches