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.001136/0.001136, allocations: 104.1 kB / 17.64 MB, free: 5.48 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.00109/0.00109, allocations: 192 kB / 18.55 MB, free: 4.566 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.369/1.369, allocations: 222.9 MB / 242.3 MB, free: 15.19 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2424/0.2424, allocations: 44.17 MB / 336.6 MB, free: 2.766 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00136/0.001361, allocations: 63.81 kB / 408.5 MB, free: 27.15 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1075/0.1088, allocations: 60.82 MB / 469.4 MB, free: 14.29 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.Continuous): time 0.005743/0.1146, allocations: 3.341 MB / 472.7 MB, free: 10.92 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.004266/0.1189, allocations: 1.536 MB / 474.2 MB, free: 9.379 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008896/0.1199, allocations: 23.88 kB / 474.3 MB, free: 9.355 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006169/0.1205, allocations: 142.7 kB / 474.4 MB, free: 9.215 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000564/0.1211, allocations: 190.5 kB / 474.6 MB, free: 9.027 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001311/0.1225, allocations: 0.5247 MB / 475.1 MB, free: 8.508 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001193/0.1237, allocations: 0.9084 MB / 476 MB, free: 7.598 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004559/0.1241, allocations: 242.3 kB / 476.2 MB, free: 7.348 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004842/0.1246, allocations: 342.6 kB / 476.6 MB, free: 7.012 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004612/0.1251, allocations: 398.1 kB / 477 MB, free: 6.621 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 9.974e-05/0.1252, allocations: 64 kB / 477 MB, free: 6.559 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.385e-05/0.1253, allocations: 64 kB / 477.1 MB, free: 6.496 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002663/0.1256, allocations: 207.2 kB / 477.3 MB, free: 6.293 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003067/0.1259, allocations: 349.8 kB / 477.6 MB, free: 5.949 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007342/0.1266, allocations: 0.7435 MB / 478.4 MB, free: 5.203 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.618e-06/0.1266, allocations: 0 / 478.4 MB, free: 5.203 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.323e-06/0.1267, allocations: 0 / 478.4 MB, free: 5.203 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.027e-05/0.1267, allocations: 0 / 478.4 MB, free: 5.203 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.002317/0.129, allocations: 1.164 MB / 479.5 MB, free: 3.988 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.916e-05/0.129, allocations: 12.02 kB / 479.6 MB, free: 3.977 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001024/0.1291, allocations: 78.72 kB / 479.6 MB, free: 3.891 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001371/0.1293, allocations: 91.91 kB / 479.7 MB, free: 3.801 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008273/0.1301, allocations: 0.5545 MB / 480.3 MB, free: 3.207 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.931e-05/0.1302, allocations: 41.31 kB / 480.3 MB, free: 3.168 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.625e-05/0.1303, allocations: 60.27 kB / 480.4 MB, free: 3.109 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001082/0.1314, allocations: 0.6174 MB / 481 MB, free: 2.441 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.226e-05/0.1314, allocations: 15.92 kB / 481 MB, free: 2.426 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.638e-05/0.1314, allocations: 16 kB / 481 MB, free: 2.41 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.165e-05/0.1315, allocations: 12 kB / 481 MB, free: 2.398 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001048/0.1325, allocations: 461.8 kB / 481.5 MB, free: 1.949 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003501/0.136, allocations: 2.655 MB / 484.1 MB, free: 15.19 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001101/0.1372, allocations: 0.5417 MB / 484.7 MB, free: 14.62 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005371/0.1377, allocations: 250.4 kB / 484.9 MB, free: 14.37 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.263e-05/0.1378, allocations: 7.984 kB / 484.9 MB, free: 14.36 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.064e-05/0.1378, allocations: 50.59 kB / 485 MB, free: 14.3 MB / 366.1 MB Notification: Performance of pre-optimization done (n=43): time 1.994e-06/0.1378, allocations: 0 / 485 MB, free: 14.3 MB / 366.1 MB Notification: Performance of matching and sorting (n=44): time 0.002456/0.1403, allocations: 1.124 MB / 486.1 MB, free: 13.17 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.551e-05/0.1403, allocations: 140.5 kB / 486.2 MB, free: 13 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008143/0.1412, allocations: 0.649 MB / 486.9 MB, free: 12.34 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.332e-05/0.1412, allocations: 41.69 kB / 486.9 MB, free: 12.3 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002464/0.1415, allocations: 356 kB / 487.3 MB, free: 11.95 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001463/0.1416, allocations: 177.5 kB / 487.5 MB, free: 11.77 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001791/0.1418, allocations: 110.2 kB / 487.6 MB, free: 11.66 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001136/0.1419, allocations: 333.9 kB / 487.9 MB, free: 11.32 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006178/0.1426, allocations: 275.3 kB / 488.2 MB, free: 11.05 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000728/0.1433, allocations: 440.5 kB / 488.6 MB, free: 10.55 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001304/0.1446, allocations: 0.6679 MB / 489.3 MB, free: 9.828 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.245e-06/0.1446, allocations: 0 / 489.3 MB, free: 9.828 MB / 366.1 MB Notification: Performance of matching and sorting (n=77) (initialization): time 0.001562/0.1462, allocations: 0.7944 MB / 490.1 MB, free: 9.031 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.76e-05/0.1462, allocations: 8 kB / 490.1 MB, free: 9.023 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.728e-06/0.1462, allocations: 8.031 kB / 490.1 MB, free: 9.016 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.919e-05/0.1463, allocations: 11.98 kB / 490.1 MB, free: 9.004 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006482/0.1469, allocations: 144.3 kB / 490.2 MB, free: 8.863 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.396e-05/0.147, allocations: 19.92 kB / 490.2 MB, free: 8.844 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005046/0.1475, allocations: 75.64 kB / 490.3 MB, free: 8.77 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.441e-05/0.1475, allocations: 20 kB / 490.3 MB, free: 8.75 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000752/0.1483, allocations: 422.1 kB / 490.7 MB, free: 8.332 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006419/0.1489, allocations: 408.4 kB / 491.1 MB, free: 7.871 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001166/0.1501, allocations: 0.6454 MB / 491.8 MB, free: 7.164 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.867e-06/0.1501, allocations: 4 kB / 491.8 MB, free: 7.16 MB / 366.1 MB Notification: Performance of matching and sorting (n=77) (initialization_lambda0): time 0.001463/0.1516, allocations: 0.7759 MB / 492.6 MB, free: 6.379 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.623e-05/0.1516, allocations: 8 kB / 492.6 MB, free: 6.371 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.38e-06/0.1516, allocations: 11.88 kB / 492.6 MB, free: 6.359 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.614e-06/0.1516, allocations: 8 kB / 492.6 MB, free: 6.352 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000618/0.1523, allocations: 156.2 kB / 492.8 MB, free: 6.199 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.147e-05/0.1523, allocations: 11.94 kB / 492.8 MB, free: 6.188 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004947/0.1528, allocations: 71.58 kB / 492.8 MB, free: 6.117 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.249e-05/0.1528, allocations: 24 kB / 492.9 MB, free: 6.094 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.000192/0.153, allocations: 220.1 kB / 493.1 MB, free: 5.871 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001596/0.1532, allocations: 75.06 kB / 493.1 MB, free: 5.797 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002075/0.1534, allocations: 90.22 kB / 493.2 MB, free: 5.703 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.078e-05/0.1534, allocations: 11.88 kB / 493.2 MB, free: 5.691 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.197e-06/0.1535, allocations: 0 / 493.2 MB, free: 5.691 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.334e-05/0.1535, allocations: 7.984 kB / 493.3 MB, free: 5.684 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001304/0.1548, allocations: 0.8453 MB / 494.1 MB, free: 4.781 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.472e-06/0.1548, allocations: 7.938 kB / 494.1 MB, free: 4.773 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006217/0.1554, allocations: 99.88 kB / 494.2 MB, free: 4.676 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.42e-06/0.1555, allocations: 4 kB / 494.2 MB, free: 4.672 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.57e-05/0.1555, allocations: 15.98 kB / 494.2 MB, free: 4.656 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.717e-06/0.1555, allocations: 4 kB / 494.2 MB, free: 4.652 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.525e-06/0.1555, allocations: 7.938 kB / 494.2 MB, free: 4.645 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001995/0.1575, allocations: 1.125 MB / 495.4 MB, free: 3.5 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000239/0.1578, allocations: 200.1 kB / 495.6 MB, free: 3.285 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.818e-05/0.1579, allocations: 15.98 kB / 495.6 MB, free: 3.27 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005171/0.1584, allocations: 47.94 kB / 495.6 MB, free: 3.223 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001383/0.1585, allocations: 39.95 kB / 495.7 MB, free: 3.184 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.134e-05/0.1586, allocations: 12 kB / 495.7 MB, free: 3.172 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0006747/0.1593, allocations: 459 kB / 496.1 MB, free: 2.727 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1593, allocations: 0 / 496.1 MB, free: 2.727 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0007974/0.1601, allocations: 200 kB / 496.3 MB, free: 2.531 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.002388/0.1625, allocations: 1.693 MB / 498 MB, free: 0.8047 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.002214/0.1647, allocations: 0.9852 MB / 499 MB, free: 15.82 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.697e-06/0.1647, allocations: 0 / 499 MB, free: 15.82 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006062/0.1653, allocations: 287.3 kB / 499.3 MB, free: 15.54 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001045/0.1664, allocations: 191.5 kB / 499.5 MB, free: 15.36 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01026/0.1767, allocations: 6.842 MB / 0.4944 GB, free: 8.246 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006777/0.1774, allocations: 0.9497 MB / 0.4954 GB, free: 7.27 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0006029/0.178, allocations: 144.8 kB / 0.4955 GB, free: 7.125 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000402/0.1784, allocations: 259.3 kB / 0.4957 GB, free: 6.871 MB / 382.1 MB Notification: Performance of SimCode: time 1.022e-06/0.1784, allocations: 0 / 0.4957 GB, free: 6.871 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2268/0.4053, allocations: 14.37 MB / 0.5098 GB, free: 49.47 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.798/8.203, allocations: 10.62 kB / 0.5098 GB, free: 49.46 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