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.001241/0.001241, allocations: 105 kB / 20.44 MB, free: 1.504 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.001433/0.001433, allocations: 221.4 kB / 23.76 MB, free: 4.723 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.295/1.295, allocations: 207.6 MB / 234.5 MB, free: 9.996 MB / 190.1 MB " [Timeout remaining time 179] 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.2043/0.2043, allocations: 44.24 MB / 331 MB, free: 9.523 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: translateModel(ModelicaTest.Translational.TestBraking,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|mass1.s|mass1.v|mass2.s|mass2.v|mass3.s|mass3.v|mass4.s|mass4.v",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Translational.TestBraking") translateModel(ModelicaTest.Translational.TestBraking,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|mass1.s|mass1.v|mass2.s|mass2.v|mass3.s|mass3.v|mass4.s|mass4.v",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Translational.TestBraking") [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.002191/0.002191, allocations: 71.84 kB / 468.7 MB, free: 4.035 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1069/0.1091, allocations: 61.04 MB / 0.5173 GB, free: 6.859 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Translational.TestBraking): time 0.004345/0.1135, allocations: 2.811 MB / 0.5201 GB, free: 4.031 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001837/0.1153, allocations: 1.006 MB / 0.5211 GB, free: 3.016 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002282/0.1155, allocations: 7.938 kB / 0.5211 GB, free: 3.008 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002083/0.1158, allocations: 55.45 kB / 0.5211 GB, free: 2.953 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002722/0.116, allocations: 111 kB / 0.5212 GB, free: 2.844 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005048/0.1165, allocations: 151.5 kB / 0.5214 GB, free: 2.695 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000555/0.1171, allocations: 378.2 kB / 0.5217 GB, free: 2.324 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001881/0.1173, allocations: 65.31 kB / 0.5218 GB, free: 2.258 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002318/0.1175, allocations: 147.5 kB / 0.5219 GB, free: 2.113 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002465/0.1177, allocations: 151.3 kB / 0.5221 GB, free: 1.965 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 4.782e-05/0.1178, allocations: 28 kB / 0.5221 GB, free: 1.938 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001182/0.1179, allocations: 43.98 kB / 0.5222 GB, free: 1.895 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.919e-05/0.118, allocations: 59.77 kB / 0.5222 GB, free: 1.836 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002139/0.1182, allocations: 171.1 kB / 0.5224 GB, free: 1.668 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004569/0.1186, allocations: 370.5 kB / 0.5227 GB, free: 1.305 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.468e-06/0.1186, allocations: 0 / 0.5227 GB, free: 1.305 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.192e-06/0.1187, allocations: 0 / 0.5227 GB, free: 1.305 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.055e-05/0.1187, allocations: 0 / 0.5227 GB, free: 1.305 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.001035/0.1197, allocations: 0.552 MB / 0.5233 GB, free: 0.7227 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.298e-05/0.1197, allocations: 12.03 kB / 0.5233 GB, free: 0.7109 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000232/0.12, allocations: 56.69 kB / 0.5233 GB, free: 0.6562 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003882/0.1203, allocations: 213.6 kB / 0.5235 GB, free: 432 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.384e-05/0.1204, allocations: 25.03 kB / 0.5236 GB, free: 408 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.932e-05/0.1204, allocations: 28.38 kB / 0.5236 GB, free: 380 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004869/0.1209, allocations: 310.5 kB / 0.5239 GB, free: 48 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.724e-05/0.1209, allocations: 11.95 kB / 0.5239 GB, free: 36 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.776e-05/0.121, allocations: 12 kB / 0.5239 GB, free: 24 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.218e-06/0.121, allocations: 8 kB / 0.5239 GB, free: 16 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004002/0.1214, allocations: 199.9 kB / 0.5241 GB, free: 15.82 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0018/0.1232, allocations: 1.234 MB / 0.5253 GB, free: 14.49 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000586/0.1238, allocations: 332.9 kB / 0.5256 GB, free: 14.12 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001577/0.1239, allocations: 100.3 kB / 0.5257 GB, free: 14.01 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.462e-05/0.124, allocations: 4 kB / 0.5257 GB, free: 14 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.779e-05/0.124, allocations: 50.5 kB / 0.5258 GB, free: 13.95 MB / 414.1 MB Notification: Performance of pre-optimization done (n=36): time 1.673e-06/0.124, allocations: 0 / 0.5258 GB, free: 13.95 MB / 414.1 MB Notification: Performance of matching and sorting (n=40): time 0.002361/0.1264, allocations: 1.199 MB / 0.527 GB, free: 12.63 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000103/0.1265, allocations: 170.1 kB / 0.5271 GB, free: 12.43 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002261/0.1267, allocations: 220.9 kB / 0.5273 GB, free: 12.2 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.949e-05/0.1267, allocations: 33.7 kB / 0.5274 GB, free: 12.16 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001315/0.1268, allocations: 180.5 kB / 0.5275 GB, free: 11.98 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001297/0.127, allocations: 166.6 kB / 0.5277 GB, free: 11.82 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000117/0.1271, allocations: 78.16 kB / 0.5278 GB, free: 11.74 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001612/0.1273, allocations: 346.8 kB / 0.5281 GB, free: 11.39 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001652/0.1274, allocations: 96.95 kB / 0.5282 GB, free: 11.3 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002888/0.1277, allocations: 242.9 kB / 0.5284 GB, free: 11 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004819/0.1282, allocations: 370.9 kB / 0.5288 GB, free: 10.57 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.975e-06/0.1282, allocations: 0 / 0.5288 GB, free: 10.57 MB / 414.1 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.0006265/0.1288, allocations: 405.1 kB / 0.5292 GB, free: 10.17 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.93e-05/0.1288, allocations: 8.375 kB / 0.5292 GB, free: 10.16 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.337e-06/0.1288, allocations: 8 kB / 0.5292 GB, free: 10.15 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.275e-05/0.1289, allocations: 8 kB / 0.5292 GB, free: 10.14 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004077/0.1293, allocations: 123.7 kB / 0.5293 GB, free: 10.02 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.398e-05/0.1293, allocations: 11.94 kB / 0.5293 GB, free: 10.01 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001849/0.1295, allocations: 16 kB / 0.5293 GB, free: 9.996 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3e-05/0.1295, allocations: 20 kB / 0.5293 GB, free: 9.977 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.0001695/0.1297, allocations: 157.7 kB / 0.5295 GB, free: 9.812 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000122/0.1298, allocations: 35.8 kB / 0.5295 GB, free: 9.777 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002339/0.13, allocations: 123.3 kB / 0.5296 GB, free: 9.648 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.394e-06/0.13, allocations: 11.94 kB / 0.5297 GB, free: 9.637 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.811e-06/0.13, allocations: 96 / 0.5297 GB, free: 9.637 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.049e-05/0.1301, allocations: 11.92 kB / 0.5297 GB, free: 9.625 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001522/0.1316, allocations: 0.9975 MB / 0.5306 GB, free: 8.551 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.929e-06/0.1316, allocations: 4 kB / 0.5306 GB, free: 8.547 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004276/0.132, allocations: 95.89 kB / 0.5307 GB, free: 8.453 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.829e-06/0.132, allocations: 8 kB / 0.5307 GB, free: 8.445 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.565e-05/0.132, allocations: 12.25 kB / 0.5308 GB, free: 8.434 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.644e-06/0.1321, allocations: 12.3 kB / 0.5308 GB, free: 8.422 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.58e-06/0.1321, allocations: 7.938 kB / 0.5308 GB, free: 8.414 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008587/0.1329, allocations: 0.8338 MB / 0.5316 GB, free: 7.527 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.097e-05/0.133, allocations: 23.81 kB / 0.5316 GB, free: 7.504 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.864e-05/0.133, allocations: 19.98 kB / 0.5316 GB, free: 7.484 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002919/0.1333, allocations: 12 kB / 0.5316 GB, free: 7.473 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.893e-05/0.1334, allocations: 31.89 kB / 0.5317 GB, free: 7.441 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.026e-05/0.1334, allocations: 19.94 kB / 0.5317 GB, free: 7.422 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001478/0.1335, allocations: 156.5 kB / 0.5318 GB, free: 7.27 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1335, allocations: 0 / 0.5318 GB, free: 7.27 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0005444/0.1341, allocations: 80 kB / 0.5319 GB, free: 7.191 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.0001281/0.1342, allocations: 111.2 kB / 0.532 GB, free: 7.074 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0004882/0.1347, allocations: 272.5 kB / 0.5323 GB, free: 6.809 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.076e-06/0.1347, allocations: 0 / 0.5323 GB, free: 6.809 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001844/0.1349, allocations: 129 kB / 0.5324 GB, free: 6.684 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008375/0.1357, allocations: 81.31 kB / 0.5325 GB, free: 6.605 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001984/0.1377, allocations: 1.287 MB / 0.5337 GB, free: 5.25 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004406/0.1381, allocations: 0.788 MB / 0.5345 GB, free: 4.438 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.816e-05/0.1382, allocations: 31.44 kB / 0.5345 GB, free: 4.406 MB / 414.1 MB Notification: Performance of SimCode: time 5.91e-07/0.1382, allocations: 0 / 0.5345 GB, free: 4.406 MB / 414.1 MB Notification: Performance of Templates: time 0.006923/0.1452, allocations: 3.994 MB / 0.5384 GB, free: 428 kB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Translational.TestBraking.makefile [Timeout 660] (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 & ./ModelicaTest_3.2.3_ModelicaTest.Translational.TestBraking -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Translational.TestBraking.pipe 2>&1) [Timeout 480] 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: 6.858253360027447]