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.001095/0.001095, allocations: 104.2 kB / 17.63 MB, free: 5.531 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.001217/0.001217, allocations: 191.9 kB / 18.56 MB, free: 4.609 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.361/1.361, allocations: 222.9 MB / 242.3 MB, free: 15.23 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.288/0.288, allocations: 44.18 MB / 336.6 MB, free: 2.762 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001205/0.001205, allocations: 63.03 kB / 408.5 MB, free: 27.15 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1033/0.1045, allocations: 60.82 MB / 469.4 MB, free: 14.29 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.Continuous): time 0.00432/0.1089, allocations: 3.329 MB / 472.7 MB, free: 10.94 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002686/0.1116, allocations: 1.544 MB / 474.2 MB, free: 9.387 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003761/0.112, allocations: 23.88 kB / 474.3 MB, free: 9.363 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000515/0.1125, allocations: 142.7 kB / 474.4 MB, free: 9.223 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004545/0.113, allocations: 190.6 kB / 474.6 MB, free: 9.035 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001173/0.1142, allocations: 0.5246 MB / 475.1 MB, free: 8.512 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009135/0.1151, allocations: 0.9124 MB / 476 MB, free: 7.598 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003882/0.1155, allocations: 230.4 kB / 476.2 MB, free: 7.359 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004458/0.116, allocations: 354.5 kB / 476.6 MB, free: 7.012 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004664/0.1164, allocations: 398.1 kB / 477 MB, free: 6.621 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000105/0.1166, allocations: 64 kB / 477 MB, free: 6.559 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001001/0.1167, allocations: 64 kB / 477.1 MB, free: 6.496 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002169/0.1169, allocations: 203.2 kB / 477.3 MB, free: 6.297 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002976/0.1172, allocations: 337.9 kB / 477.6 MB, free: 5.965 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006883/0.1179, allocations: 0.7512 MB / 478.4 MB, free: 5.211 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.127e-06/0.1179, allocations: 4 kB / 478.4 MB, free: 5.207 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.382e-06/0.1179, allocations: 0 / 478.4 MB, free: 5.207 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.508e-06/0.1179, allocations: 0 / 478.4 MB, free: 5.207 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.002172/0.1201, allocations: 1.164 MB / 479.5 MB, free: 3.992 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.213e-05/0.1202, allocations: 8.031 kB / 479.6 MB, free: 3.984 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.219e-05/0.1203, allocations: 82.72 kB / 479.6 MB, free: 3.895 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001312/0.1204, allocations: 87.91 kB / 479.7 MB, free: 3.809 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008962/0.1213, allocations: 0.5545 MB / 480.3 MB, free: 3.215 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.39e-05/0.1214, allocations: 41.38 kB / 480.3 MB, free: 3.176 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001066/0.1215, allocations: 64.27 kB / 480.4 MB, free: 3.113 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001156/0.1226, allocations: 0.6135 MB / 481 MB, free: 2.449 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.244e-05/0.1227, allocations: 4 kB / 481 MB, free: 2.445 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.754e-05/0.1227, allocations: 20 kB / 481 MB, free: 2.426 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.291e-05/0.1228, allocations: 16 kB / 481 MB, free: 2.41 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001093/0.1239, allocations: 461.8 kB / 481.5 MB, free: 1.961 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003616/0.1275, allocations: 2.659 MB / 484.1 MB, free: 15.2 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001177/0.1287, allocations: 0.5419 MB / 484.7 MB, free: 14.63 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005837/0.1293, allocations: 250.4 kB / 484.9 MB, free: 14.38 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.656e-05/0.1294, allocations: 15.97 kB / 484.9 MB, free: 14.36 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.736e-05/0.1294, allocations: 34.56 kB / 485 MB, free: 14.32 MB / 366.1 MB Notification: Performance of pre-optimization done (n=43): time 3.647e-06/0.1294, allocations: 0 / 485 MB, free: 14.32 MB / 366.1 MB Notification: Performance of matching and sorting (n=44): time 0.002688/0.1321, allocations: 1.136 MB / 486.1 MB, free: 13.17 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.508e-05/0.1322, allocations: 132.5 kB / 486.2 MB, free: 13.01 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009337/0.1332, allocations: 0.6528 MB / 486.9 MB, free: 12.35 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.345e-05/0.1332, allocations: 37.7 kB / 486.9 MB, free: 12.31 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000347/0.1336, allocations: 363.9 kB / 487.3 MB, free: 11.95 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000146/0.1337, allocations: 169.5 kB / 487.5 MB, free: 11.78 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001901/0.1339, allocations: 126.2 kB / 487.6 MB, free: 11.65 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001207/0.1341, allocations: 325.9 kB / 487.9 MB, free: 11.33 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006221/0.1347, allocations: 275.3 kB / 488.2 MB, free: 11.05 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007308/0.1354, allocations: 432.5 kB / 488.6 MB, free: 10.57 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001324/0.1368, allocations: 0.6796 MB / 489.3 MB, free: 9.828 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.046e-06/0.1368, allocations: 0 / 489.3 MB, free: 9.828 MB / 366.1 MB Notification: Performance of matching and sorting (n=77) (initialization): time 0.001624/0.1384, allocations: 0.7869 MB / 490 MB, free: 9.039 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.128e-05/0.1384, allocations: 11.98 kB / 490.1 MB, free: 9.027 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.608e-06/0.1385, allocations: 4 kB / 490.1 MB, free: 9.023 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.208e-05/0.1385, allocations: 8 kB / 490.1 MB, free: 9.016 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006735/0.1392, allocations: 151.7 kB / 490.2 MB, free: 8.867 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.882e-05/0.1392, allocations: 15.92 kB / 490.2 MB, free: 8.852 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005121/0.1397, allocations: 75.83 kB / 490.3 MB, free: 8.777 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.126e-05/0.1398, allocations: 23.98 kB / 490.3 MB, free: 8.754 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007724/0.1406, allocations: 410.1 kB / 490.7 MB, free: 8.348 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006787/0.1412, allocations: 416.3 kB / 491.1 MB, free: 7.879 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001243/0.1425, allocations: 0.6493 MB / 491.8 MB, free: 7.168 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.4e-06/0.1425, allocations: 4 kB / 491.8 MB, free: 7.164 MB / 366.1 MB Notification: Performance of matching and sorting (n=77) (initialization_lambda0): time 0.001537/0.1441, allocations: 0.7837 MB / 492.6 MB, free: 6.375 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.253e-05/0.1441, allocations: 8 kB / 492.6 MB, free: 6.367 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.581e-06/0.1441, allocations: 4 kB / 492.6 MB, free: 6.363 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.367e-06/0.1441, allocations: 8 kB / 492.6 MB, free: 6.355 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006235/0.1447, allocations: 144.2 kB / 492.7 MB, free: 6.215 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.464e-05/0.1448, allocations: 19.88 kB / 492.8 MB, free: 6.195 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005113/0.1453, allocations: 75.58 kB / 492.8 MB, free: 6.121 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.337e-05/0.1453, allocations: 27.98 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.1455, allocations: 208.1 kB / 493.1 MB, free: 5.883 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001489/0.1457, allocations: 75.06 kB / 493.1 MB, free: 5.809 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001902/0.1459, allocations: 90.22 kB / 493.2 MB, free: 5.715 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.404e-06/0.1459, allocations: 11.94 kB / 493.2 MB, free: 5.703 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.316e-06/0.1459, allocations: 0 / 493.2 MB, free: 5.703 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.043e-05/0.1459, allocations: 7.984 kB / 493.2 MB, free: 5.695 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001316/0.1472, allocations: 0.8531 MB / 494.1 MB, free: 4.785 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.841e-06/0.1473, allocations: 7.938 kB / 494.1 MB, free: 4.777 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006609/0.1479, allocations: 103.9 kB / 494.2 MB, free: 4.676 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.851e-06/0.148, allocations: 4 kB / 494.2 MB, free: 4.672 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.057e-05/0.148, allocations: 16 kB / 494.2 MB, free: 4.656 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.534e-06/0.148, allocations: 4 kB / 494.2 MB, free: 4.652 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.864e-06/0.148, allocations: 0 / 494.2 MB, free: 4.652 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001989/0.15, allocations: 1.133 MB / 495.4 MB, free: 3.5 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002313/0.1503, allocations: 200.1 kB / 495.6 MB, free: 3.285 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001022/0.1504, allocations: 16 kB / 495.6 MB, free: 3.27 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000541/0.1509, allocations: 51.94 kB / 495.6 MB, free: 3.219 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001176/0.1511, allocations: 35.95 kB / 495.7 MB, free: 3.184 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.372e-05/0.1511, allocations: 15.98 kB / 495.7 MB, free: 3.168 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000743/0.1518, allocations: 459 kB / 496.1 MB, free: 2.723 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.5e-07/0.1519, allocations: 0 / 496.1 MB, free: 2.723 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0008321/0.1527, allocations: 192 kB / 496.3 MB, free: 2.535 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.002392/0.1551, allocations: 1.697 MB / 498 MB, free: 0.8047 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.002353/0.1575, allocations: 0.9892 MB / 499 MB, free: 15.81 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.087e-06/0.1575, allocations: 0 / 499 MB, free: 15.81 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006346/0.1581, allocations: 275.7 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.001116/0.1593, allocations: 194.6 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.01107/0.1703, allocations: 6.837 MB / 0.4944 GB, free: 8.262 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005117/0.1709, allocations: 0.9536 MB / 0.4954 GB, free: 7.281 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.000563/0.1715, allocations: 148.9 kB / 0.4955 GB, free: 7.133 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003977/0.1719, allocations: 259.3 kB / 0.4957 GB, free: 6.879 MB / 382.1 MB Notification: Performance of SimCode: time 1.062e-06/0.1719, allocations: 4 kB / 0.4958 GB, free: 6.875 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2228/0.3947, allocations: 14.38 MB / 0.5098 GB, free: 49.48 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.797/8.192, allocations: 10.28 kB / 0.5098 GB, free: 49.48 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 & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Blocks.Continuous_res.csv --start-time 0 --stop-time 1.1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00044 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.csv","/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