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.001943/0.001943, allocations: 114.2 kB / 19.69 MB, free: 2.188 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.002368/0.002368, allocations: 216 kB / 23 MB, free: 5.004 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.485/1.485, allocations: 207.6 MB / 233.8 MB, free: 10 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.2254/0.2254, allocations: 44.24 MB / 330.3 MB, free: 9.516 MB / 270.1 MB " [Timeout remaining time 180] 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Translational.TestBraking,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Translational_TestBraking",fmuType="me",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.002496/0.002496, allocations: 68.52 kB / 467.5 MB, free: 4.543 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1117/0.1142, allocations: 61.05 MB / 0.5161 GB, free: 7.363 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Translational.TestBraking): time 0.0048/0.119, allocations: 2.811 MB / 0.5189 GB, free: 4.535 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002178/0.1212, allocations: 1.006 MB / 0.5199 GB, free: 3.52 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003438/0.1215, allocations: 15.94 kB / 0.5199 GB, free: 3.504 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002856/0.1218, allocations: 51.44 kB / 0.5199 GB, free: 3.453 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003573/0.1222, allocations: 103.1 kB / 0.52 GB, free: 3.352 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006583/0.1228, allocations: 147.6 kB / 0.5202 GB, free: 3.207 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006139/0.1234, allocations: 382.2 kB / 0.5205 GB, free: 2.832 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002067/0.1236, allocations: 69.33 kB / 0.5206 GB, free: 2.762 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002614/0.1239, allocations: 143.5 kB / 0.5207 GB, free: 2.621 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002848/0.1242, allocations: 147.3 kB / 0.5209 GB, free: 2.477 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 6.976e-05/0.1243, allocations: 28 kB / 0.5209 GB, free: 2.449 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001967/0.1245, allocations: 43.98 kB / 0.5209 GB, free: 2.406 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.139e-05/0.1245, allocations: 67.7 kB / 0.521 GB, free: 2.34 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002496/0.1248, allocations: 167.2 kB / 0.5212 GB, free: 2.176 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005988/0.1254, allocations: 370.4 kB / 0.5215 GB, free: 1.812 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.111e-06/0.1254, allocations: 4 kB / 0.5215 GB, free: 1.809 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.1254, allocations: 0 / 0.5215 GB, free: 1.809 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.781e-05/0.1254, allocations: 0 / 0.5215 GB, free: 1.809 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.001297/0.1267, allocations: 0.552 MB / 0.5221 GB, free: 1.227 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.481e-05/0.1268, allocations: 8.031 kB / 0.5221 GB, free: 1.219 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.956e-05/0.1269, allocations: 70.72 kB / 0.5221 GB, free: 1.141 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002612/0.1271, allocations: 52.69 kB / 0.5222 GB, free: 1.09 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005093/0.1276, allocations: 213.6 kB / 0.5224 GB, free: 0.8555 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.252e-05/0.1277, allocations: 25.03 kB / 0.5224 GB, free: 0.832 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001243/0.1278, allocations: 36.31 kB / 0.5224 GB, free: 0.7969 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005562/0.1283, allocations: 298.5 kB / 0.5227 GB, free: 496 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.568e-05/0.1284, allocations: 11.95 kB / 0.5227 GB, free: 484 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.087e-05/0.1284, allocations: 8 kB / 0.5227 GB, free: 476 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.708e-06/0.1284, allocations: 8 kB / 0.5228 GB, free: 468 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003916/0.1288, allocations: 203.8 kB / 0.5229 GB, free: 264 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002316/0.1311, allocations: 1.238 MB / 0.5242 GB, free: 14.92 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006337/0.1318, allocations: 328.8 kB / 0.5245 GB, free: 14.55 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001953/0.1319, allocations: 100.3 kB / 0.5246 GB, free: 14.44 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.418e-05/0.132, allocations: 11.92 kB / 0.5246 GB, free: 14.43 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.972e-05/0.132, allocations: 38.56 kB / 0.5246 GB, free: 14.38 MB / 414.1 MB Notification: Performance of pre-optimization done (n=36): time 3.196e-06/0.132, allocations: 4 kB / 0.5246 GB, free: 14.38 MB / 414.1 MB Notification: Performance of matching and sorting (n=40): time 0.002844/0.1349, allocations: 1.216 MB / 0.5258 GB, free: 13.05 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001207/0.135, allocations: 158.2 kB / 0.526 GB, free: 12.86 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002992/0.1353, allocations: 224.8 kB / 0.5262 GB, free: 12.63 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 4.213e-05/0.1353, allocations: 33.64 kB / 0.5262 GB, free: 12.59 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001539/0.1355, allocations: 184.5 kB / 0.5264 GB, free: 12.41 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001601/0.1356, allocations: 158.6 kB / 0.5265 GB, free: 12.25 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001622/0.1358, allocations: 86.14 kB / 0.5266 GB, free: 12.16 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001688/0.136, allocations: 342.8 kB / 0.5269 GB, free: 11.82 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001997/0.1362, allocations: 96.95 kB / 0.527 GB, free: 11.72 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003192/0.1365, allocations: 239 kB / 0.5273 GB, free: 11.43 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005624/0.1371, allocations: 374 kB / 0.5276 GB, free: 11 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.387e-06/0.1371, allocations: 4 kB / 0.5276 GB, free: 10.99 MB / 414.1 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.0007739/0.1378, allocations: 409.2 kB / 0.528 GB, free: 10.59 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.089e-05/0.1379, allocations: 7.984 kB / 0.528 GB, free: 10.58 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.584e-05/0.1379, allocations: 11.94 kB / 0.528 GB, free: 10.57 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.001e-05/0.1379, allocations: 7.938 kB / 0.528 GB, free: 10.56 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004494/0.1384, allocations: 119.8 kB / 0.5282 GB, free: 10.44 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.071e-05/0.1384, allocations: 8 kB / 0.5282 GB, free: 10.43 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002522/0.1386, allocations: 16.38 kB / 0.5282 GB, free: 10.42 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.563e-05/0.1387, allocations: 24 kB / 0.5282 GB, free: 10.39 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.0002258/0.1389, allocations: 161.6 kB / 0.5284 GB, free: 10.23 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001658/0.1391, allocations: 39.75 kB / 0.5284 GB, free: 10.19 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003177/0.1394, allocations: 107.4 kB / 0.5285 GB, free: 10.07 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.447e-05/0.1394, allocations: 15.92 kB / 0.5285 GB, free: 10.06 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.044e-05/0.1394, allocations: 0 / 0.5285 GB, free: 10.06 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.376e-06/0.1394, allocations: 3.938 kB / 0.5285 GB, free: 10.05 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002043/0.1415, allocations: 1.009 MB / 0.5295 GB, free: 8.969 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.606e-06/0.1415, allocations: 4 kB / 0.5295 GB, free: 8.965 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004769/0.1419, allocations: 95.83 kB / 0.5296 GB, free: 8.871 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.304e-05/0.142, allocations: 4 kB / 0.5296 GB, free: 8.867 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.066e-05/0.142, allocations: 19.98 kB / 0.5296 GB, free: 8.848 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.426e-06/0.142, allocations: 4.312 kB / 0.5296 GB, free: 8.844 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.189e-06/0.142, allocations: 4 kB / 0.5296 GB, free: 8.84 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001071/0.1431, allocations: 0.8261 MB / 0.5304 GB, free: 7.961 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.693e-05/0.1432, allocations: 31.8 kB / 0.5305 GB, free: 7.93 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.285e-05/0.1432, allocations: 16 kB / 0.5305 GB, free: 7.914 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003443/0.1436, allocations: 8 kB / 0.5305 GB, free: 7.906 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.256e-05/0.1437, allocations: 35.83 kB / 0.5305 GB, free: 7.871 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.253e-05/0.1437, allocations: 16 kB / 0.5305 GB, free: 7.855 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001795/0.1439, allocations: 160.5 kB / 0.5307 GB, free: 7.699 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1439, allocations: 0 / 0.5307 GB, free: 7.699 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0006461/0.1445, allocations: 80 kB / 0.5308 GB, free: 7.621 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.001355/0.1459, allocations: 1.395 MB / 0.5321 GB, free: 6.176 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0006028/0.1465, allocations: 264.7 kB / 0.5324 GB, free: 5.918 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.478e-06/0.1465, allocations: 0 / 0.5324 GB, free: 5.918 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002204/0.1467, allocations: 136.9 kB / 0.5325 GB, free: 5.785 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001023/0.1477, allocations: 66.23 kB / 0.5326 GB, free: 5.723 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00624/0.1539, allocations: 4.031 MB / 0.5365 GB, free: 1.422 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005463/0.1545, allocations: 0.7802 MB / 0.5373 GB, free: 0.6172 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0002414/0.1547, allocations: 43.27 kB / 0.5373 GB, free: 0.5703 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002137/0.1549, allocations: 103.4 kB / 0.5374 GB, free: 480 kB / 414.1 MB Notification: Performance of SimCode: time 1.773e-06/0.1549, allocations: 0 / 0.5374 GB, free: 480 kB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2446/0.3995, allocations: 6.865 MB / 0.5441 GB, free: 28.08 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.65/12.05, allocations: 9.141 kB / 0.5441 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.044697144068778]