Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Translational.TestBraking.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001768/0.001768, allocations: 109.2 kB / 20.48 MB, free: 1.492 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001513/0.001513, allocations: 215 kB / 23.79 MB, free: 4.703 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.55/1.55, allocations: 207.6 MB / 234.6 MB, free: 10.01 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2323/0.2323, allocations: 44.25 MB / 331.1 MB, free: 9.531 MB / 270.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Translational.TestBraking,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Translational_TestBraking",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Translational.TestBraking,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Translational_TestBraking",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002227/0.002227, allocations: 74.55 kB / 468.3 MB, free: 4.543 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1326/0.1348, allocations: 61.03 MB / 0.5169 GB, free: 7.375 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Translational.TestBraking): time 0.004567/0.1394, allocations: 2.807 MB / 0.5196 GB, free: 4.551 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002263/0.1416, allocations: 1.009 MB / 0.5206 GB, free: 3.531 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002747/0.1419, allocations: 7.938 kB / 0.5206 GB, free: 3.523 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002265/0.1421, allocations: 55.45 kB / 0.5207 GB, free: 3.469 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002684/0.1424, allocations: 107.1 kB / 0.5208 GB, free: 3.363 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006096/0.143, allocations: 151.5 kB / 0.5209 GB, free: 3.215 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004765/0.1435, allocations: 378.2 kB / 0.5213 GB, free: 2.844 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001869/0.1437, allocations: 65.27 kB / 0.5213 GB, free: 2.777 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001786/0.1438, allocations: 151.5 kB / 0.5215 GB, free: 2.629 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002229/0.1441, allocations: 147.3 kB / 0.5216 GB, free: 2.484 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 4.838e-05/0.1441, allocations: 31.98 kB / 0.5217 GB, free: 2.453 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001365/0.1443, allocations: 43.98 kB / 0.5217 GB, free: 2.41 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.604e-05/0.1443, allocations: 67.7 kB / 0.5218 GB, free: 2.344 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001645/0.1445, allocations: 159.2 kB / 0.5219 GB, free: 2.188 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004751/0.145, allocations: 374.4 kB / 0.5223 GB, free: 1.82 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.629e-06/0.145, allocations: 0 / 0.5223 GB, free: 1.82 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.145, allocations: 0 / 0.5223 GB, free: 1.82 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.294e-06/0.145, allocations: 0 / 0.5223 GB, free: 1.82 MB / 398.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.001086/0.1461, allocations: 0.5559 MB / 0.5228 GB, free: 1.234 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.956e-05/0.1461, allocations: 8.031 kB / 0.5228 GB, free: 1.227 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.448e-05/0.1461, allocations: 8.844 kB / 0.5228 GB, free: 1.219 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.996e-05/0.1462, allocations: 66.73 kB / 0.5229 GB, free: 1.145 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002493/0.1465, allocations: 56.67 kB / 0.523 GB, free: 1.09 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004503/0.1469, allocations: 217.7 kB / 0.5232 GB, free: 0.8516 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.709e-05/0.1469, allocations: 24.97 kB / 0.5232 GB, free: 0.8281 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.799e-05/0.147, allocations: 32.38 kB / 0.5232 GB, free: 0.7969 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005346/0.1475, allocations: 306.2 kB / 0.5235 GB, free: 488 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.463e-05/0.1476, allocations: 3.953 kB / 0.5235 GB, free: 484 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.499e-05/0.1476, allocations: 19.98 kB / 0.5235 GB, free: 464 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.137e-05/0.1476, allocations: 8 kB / 0.5235 GB, free: 456 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003727/0.148, allocations: 199.8 kB / 0.5237 GB, free: 256 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001983/0.15, allocations: 1.23 MB / 0.5249 GB, free: 14.93 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005717/0.1505, allocations: 328.9 kB / 0.5252 GB, free: 14.56 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001718/0.1507, allocations: 108.2 kB / 0.5253 GB, free: 14.44 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.618e-05/0.1507, allocations: 11.98 kB / 0.5254 GB, free: 14.43 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.999e-05/0.1508, allocations: 38.56 kB / 0.5254 GB, free: 14.38 MB / 414.1 MB Notification: Performance of pre-optimization done (n=36): time 2.084e-06/0.1508, allocations: 0 / 0.5254 GB, free: 14.38 MB / 414.1 MB Notification: Performance of matching and sorting (n=40): time 0.002523/0.1533, allocations: 1.203 MB / 0.5266 GB, free: 13.06 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001054/0.1534, allocations: 170.1 kB / 0.5267 GB, free: 12.86 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002493/0.1536, allocations: 224.8 kB / 0.5269 GB, free: 12.63 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.874e-05/0.1537, allocations: 33.7 kB / 0.527 GB, free: 12.59 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000133/0.1538, allocations: 176.5 kB / 0.5271 GB, free: 12.41 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001335/0.1539, allocations: 162.6 kB / 0.5273 GB, free: 12.25 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001235/0.1541, allocations: 90.14 kB / 0.5274 GB, free: 12.16 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001717/0.1542, allocations: 342.8 kB / 0.5277 GB, free: 11.82 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001704/0.1544, allocations: 88.97 kB / 0.5278 GB, free: 11.73 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002981/0.1547, allocations: 243 kB / 0.528 GB, free: 11.43 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005067/0.1552, allocations: 373.9 kB / 0.5284 GB, free: 11 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.295e-06/0.1552, allocations: 0 / 0.5284 GB, free: 11 MB / 414.1 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.0006759/0.1559, allocations: 410.1 kB / 0.5288 GB, free: 10.59 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.347e-05/0.1559, allocations: 11.94 kB / 0.5288 GB, free: 10.58 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.363e-05/0.1559, allocations: 7.938 kB / 0.5288 GB, free: 10.57 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.127e-05/0.1559, allocations: 8 kB / 0.5288 GB, free: 10.57 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004165/0.1564, allocations: 115.8 kB / 0.5289 GB, free: 10.45 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.002e-05/0.1564, allocations: 15.92 kB / 0.5289 GB, free: 10.44 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001889/0.1566, allocations: 12 kB / 0.5289 GB, free: 10.43 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.281e-05/0.1566, allocations: 24 kB / 0.529 GB, free: 10.4 MB / 414.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.0001806/0.1568, allocations: 161.8 kB / 0.5291 GB, free: 10.23 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001266/0.1569, allocations: 31.81 kB / 0.5292 GB, free: 10.2 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002577/0.1572, allocations: 123.2 kB / 0.5293 GB, free: 10.07 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.602e-06/0.1572, allocations: 4 kB / 0.5293 GB, free: 10.07 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.372e-06/0.1572, allocations: 0 / 0.5293 GB, free: 10.07 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.101e-06/0.1572, allocations: 4 kB / 0.5293 GB, free: 10.07 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001606/0.1588, allocations: 1.013 MB / 0.5303 GB, free: 8.977 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.6e-06/0.1588, allocations: 4 kB / 0.5303 GB, free: 8.973 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000445/0.1592, allocations: 100.1 kB / 0.5304 GB, free: 8.875 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.307e-06/0.1593, allocations: 8.234 kB / 0.5304 GB, free: 8.867 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.788e-05/0.1593, allocations: 12 kB / 0.5304 GB, free: 8.855 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.322e-06/0.1593, allocations: 8 kB / 0.5304 GB, free: 8.848 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.087e-06/0.1593, allocations: 4 kB / 0.5304 GB, free: 8.844 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008756/0.1602, allocations: 0.8337 MB / 0.5312 GB, free: 7.957 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.323e-05/0.1602, allocations: 31.81 kB / 0.5312 GB, free: 7.926 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.583e-05/0.1603, allocations: 8 kB / 0.5312 GB, free: 7.918 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003007/0.1606, allocations: 12 kB / 0.5313 GB, free: 7.906 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.048e-05/0.1606, allocations: 39.86 kB / 0.5313 GB, free: 7.867 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.096e-05/0.1606, allocations: 12 kB / 0.5313 GB, free: 7.855 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001538/0.1608, allocations: 156.5 kB / 0.5315 GB, free: 7.703 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1608, allocations: 0 / 0.5315 GB, free: 7.703 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0005832/0.1614, allocations: 88 kB / 0.5315 GB, free: 7.617 MB / 414.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.001179/0.1626, allocations: 1.384 MB / 0.5329 GB, free: 6.184 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0005172/0.1631, allocations: 276.6 kB / 0.5332 GB, free: 5.914 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.925e-06/0.1631, allocations: 0 / 0.5332 GB, free: 5.914 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001943/0.1633, allocations: 124.8 kB / 0.5333 GB, free: 5.793 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009105/0.1642, allocations: 73.88 kB / 0.5333 GB, free: 5.723 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005224/0.1694, allocations: 4.027 MB / 0.5373 GB, free: 1.422 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004614/0.1699, allocations: 0.7841 MB / 0.538 GB, free: 0.6133 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001996/0.1701, allocations: 43.27 kB / 0.5381 GB, free: 0.5664 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001852/0.1703, allocations: 107.4 kB / 0.5382 GB, free: 472 kB / 414.1 MB Notification: Performance of SimCode: time 1.653e-06/0.1703, allocations: 0 / 0.5382 GB, free: 472 kB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2463/0.4165, allocations: 6.887 MB / 0.5449 GB, free: 28.07 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.9/12.32, allocations: 18.77 kB / 0.5449 GB, free: 28.07 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_3.2.3_ModelicaTest.Translational.TestBraking.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Translational.TestBraking.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Translational.TestBraking.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Translational.TestBraking.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Translational.TestBraking_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Translational_TestBraking_fmu --startTime=0 --stopTime=2 --stepSize=0.00039984 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Translational_TestBraking.fmu > ModelicaTest_3.2.3_ModelicaTest.Translational.TestBraking.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Translational.TestBraking_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Translational/TestBraking/TestBraking.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Translational.TestBraking.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 15.669324256014079]