Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Translational.TestBraking.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.Translational.TestBraking,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Translational_TestBraking",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Translational.TestBraking,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Translational_TestBraking",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.001521/0.001521, allocations: 104.5 kB / 17.63 MB, free: 5.344 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.001638/0.001638, allocations: 192 kB / 18.56 MB, free: 4.434 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.35/1.35, allocations: 222.9 MB / 242.2 MB, free: 15.17 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.2096/0.2096, allocations: 44.18 MB / 336.6 MB, free: 2.742 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001215/0.001215, allocations: 65.33 kB / 408.5 MB, free: 27.14 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1036/0.1048, allocations: 60.82 MB / 469.3 MB, free: 14.28 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Translational.TestBraking): time 0.003853/0.1087, allocations: 2.781 MB / 472.1 MB, free: 11.48 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001545/0.1103, allocations: 0.9541 MB / 473.1 MB, free: 10.52 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001409/0.1105, allocations: 11.94 kB / 473.1 MB, free: 10.51 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001759/0.1107, allocations: 51.5 kB / 473.1 MB, free: 10.46 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001718/0.1109, allocations: 99.06 kB / 473.2 MB, free: 10.36 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004329/0.1113, allocations: 143.6 kB / 473.4 MB, free: 10.22 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003602/0.1117, allocations: 386.2 kB / 473.8 MB, free: 9.84 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001998/0.1119, allocations: 85.16 kB / 473.8 MB, free: 9.754 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001281/0.112, allocations: 143.4 kB / 474 MB, free: 9.613 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002027/0.1122, allocations: 151.3 kB / 474.1 MB, free: 9.465 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.93e-05/0.1123, allocations: 24 kB / 474.2 MB, free: 9.441 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001178/0.1124, allocations: 43.98 kB / 474.2 MB, free: 9.398 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.469e-05/0.1125, allocations: 63.77 kB / 474.3 MB, free: 9.336 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001495/0.1126, allocations: 167.2 kB / 474.4 MB, free: 9.172 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003733/0.113, allocations: 370.9 kB / 474.8 MB, free: 8.809 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.113, allocations: 0 / 474.8 MB, free: 8.809 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.222e-06/0.113, allocations: 0 / 474.8 MB, free: 8.809 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.224e-06/0.113, allocations: 0 / 474.8 MB, free: 8.809 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: 73 * Number of variables: 73 Notification: Performance of Generate backend data structure: time 0.001004/0.1141, allocations: 0.6266 MB / 475.4 MB, free: 8.137 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.971e-05/0.1141, allocations: 8.031 kB / 475.4 MB, free: 8.129 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.167e-05/0.1142, allocations: 70.72 kB / 475.5 MB, free: 8.051 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002113/0.1144, allocations: 52.45 kB / 475.5 MB, free: 8 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002723/0.1147, allocations: 259.7 kB / 475.8 MB, free: 7.707 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.987e-05/0.1147, allocations: 21.03 kB / 475.8 MB, free: 7.688 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.634e-05/0.1148, allocations: 36.36 kB / 475.8 MB, free: 7.652 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004371/0.1152, allocations: 302.4 kB / 476.1 MB, free: 7.336 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.501e-05/0.1152, allocations: 15.89 kB / 476.2 MB, free: 7.32 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.627e-05/0.1153, allocations: 12 kB / 476.2 MB, free: 7.309 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.708e-05/0.1153, allocations: 8 kB / 476.2 MB, free: 7.301 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003192/0.1156, allocations: 191.8 kB / 476.4 MB, free: 7.113 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001647/0.1173, allocations: 1.292 MB / 477.7 MB, free: 5.723 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005092/0.1178, allocations: 332.9 kB / 478 MB, free: 5.352 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001455/0.118, allocations: 112.7 kB / 478.1 MB, free: 5.227 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.467e-05/0.118, allocations: 11.97 kB / 478.1 MB, free: 5.215 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.181e-05/0.118, allocations: 42.48 kB / 478.1 MB, free: 5.164 MB / 350.1 MB Notification: Performance of pre-optimization done (n=36): time 1.853e-06/0.118, allocations: 4 kB / 478.1 MB, free: 5.16 MB / 350.1 MB Notification: Performance of matching and sorting (n=40): time 0.00239/0.1204, allocations: 1.566 MB / 479.7 MB, free: 3.383 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.412e-05/0.1205, allocations: 158.2 kB / 479.9 MB, free: 3.191 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001966/0.1207, allocations: 225 kB / 480.1 MB, free: 2.965 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.342e-05/0.1208, allocations: 33.7 kB / 480.1 MB, free: 2.926 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001095/0.1209, allocations: 184.1 kB / 480.3 MB, free: 2.742 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.731e-05/0.121, allocations: 153.8 kB / 480.5 MB, free: 2.59 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001046/0.1211, allocations: 86.16 kB / 480.5 MB, free: 2.5 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001257/0.1212, allocations: 338.8 kB / 480.9 MB, free: 2.16 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001509/0.1214, allocations: 93.09 kB / 481 MB, free: 2.07 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002433/0.1216, allocations: 243.5 kB / 481.2 MB, free: 1.766 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004468/0.1221, allocations: 378.7 kB / 481.6 MB, free: 1.332 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.957e-06/0.1221, allocations: 4 kB / 481.6 MB, free: 1.328 MB / 350.1 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.0006013/0.1227, allocations: 417 kB / 482 MB, free: 0.9141 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.807e-05/0.1227, allocations: 8 kB / 482 MB, free: 0.9062 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.087e-05/0.1228, allocations: 4 kB / 482 MB, free: 0.9023 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.292e-05/0.1228, allocations: 11.94 kB / 482 MB, free: 0.8906 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003865/0.1232, allocations: 115.8 kB / 482.1 MB, free: 0.7773 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.292e-05/0.1232, allocations: 7.984 kB / 482.1 MB, free: 0.7695 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002056/0.1234, allocations: 16.38 kB / 482.1 MB, free: 0.7539 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.115e-05/0.1235, allocations: 24 kB / 482.2 MB, free: 0.7305 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (62): * Single equations (assignments): 62 * 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.0001945/0.1237, allocations: 157.7 kB / 482.3 MB, free: 0.5664 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001211/0.1238, allocations: 31.62 kB / 482.3 MB, free: 0.5352 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002233/0.124, allocations: 123.3 kB / 482.5 MB, free: 424 kB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.484e-06/0.124, allocations: 7.938 kB / 482.5 MB, free: 416 kB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.222e-06/0.1241, allocations: 0 / 482.5 MB, free: 416 kB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.845e-06/0.1241, allocations: 7.984 kB / 482.5 MB, free: 408 kB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001453/0.1255, allocations: 1.033 MB / 483.5 MB, free: 15.28 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.679e-06/0.1256, allocations: 4.188 kB / 483.5 MB, free: 15.28 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004473/0.126, allocations: 95.89 kB / 483.6 MB, free: 15.18 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.492e-06/0.126, allocations: 7.938 kB / 483.6 MB, free: 15.18 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.632e-05/0.1261, allocations: 12 kB / 483.6 MB, free: 15.16 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.253e-06/0.1261, allocations: 11.92 kB / 483.6 MB, free: 15.15 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.51e-06/0.1261, allocations: 4 kB / 483.6 MB, free: 15.15 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007735/0.1269, allocations: 0.8306 MB / 484.5 MB, free: 14.27 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.817e-05/0.127, allocations: 112.7 kB / 484.6 MB, free: 14.14 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.501e-05/0.127, allocations: 8.125 kB / 484.6 MB, free: 14.13 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000285/0.1273, allocations: 12 kB / 484.6 MB, free: 14.12 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.975e-05/0.1274, allocations: 39.84 kB / 484.6 MB, free: 14.08 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.235e-05/0.1274, allocations: 16 kB / 484.7 MB, free: 14.07 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001419/0.1275, allocations: 156.5 kB / 484.8 MB, free: 13.91 MB / 366.1 MB Notification: Performance of sort global known variables: time 2e-07/0.1275, allocations: 0 / 484.8 MB, free: 13.91 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005504/0.1281, allocations: 84 kB / 484.9 MB, free: 13.83 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * Number of states: 11 (mass5.s,mass5.v,heatCapacitor.T,mass4.s,mass4.v,mass3.s,mass3.v,mass2.s,mass2.v,mass1.s,mass1.v) * 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 (41): * Single equations (assignments): 41 * 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.0009979/0.1291, allocations: 1.367 MB / 486.3 MB, free: 12.41 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.000483/0.1296, allocations: 304.1 kB / 486.6 MB, free: 12.11 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.817e-06/0.1296, allocations: 0 / 486.6 MB, free: 12.11 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000183/0.1298, allocations: 127.8 kB / 486.7 MB, free: 11.98 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009704/0.1308, allocations: 74.28 kB / 486.8 MB, free: 11.91 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004998/0.1358, allocations: 4.019 MB / 490.8 MB, free: 7.629 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000388/0.1362, allocations: 0.7919 MB / 491.6 MB, free: 6.812 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001829/0.1364, allocations: 43.27 kB / 491.6 MB, free: 6.773 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001502/0.1366, allocations: 107.4 kB / 491.7 MB, free: 6.668 MB / 366.1 MB Notification: Performance of SimCode: time 8.01e-07/0.1366, allocations: 0 / 491.7 MB, free: 6.668 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02466/0.1612, allocations: 6.289 MB / 498 MB, free: 484 kB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.49/7.651, allocations: 4.688 kB / 498 MB, free: 480 kB / 366.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Translational.TestBraking.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Translational.TestBraking.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Translational.TestBraking.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Translational.TestBraking.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Translational.TestBraking_res.csv --start-time 0 --stop-time 2 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0008 ModelicaTest_4_0_0_ModelicaTest_Translational_TestBraking.fmu > ModelicaTest_4.0.0_ModelicaTest.Translational.TestBraking.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Translational.TestBraking_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Translational/TestBraking/TestBraking.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Translational.TestBraking.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches