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.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.001007/0.001007, allocations: 79.75 kB / 21.19 MB, free: 3.379 MB / 18.57 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.001111/0.001111, allocations: 161 kB / 24.56 MB, free: 12 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9353/0.9353, allocations: 177.1 MB / 205 MB, free: 5.633 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2591/0.2591, allocations: 32.81 MB / 294.3 MB, free: 1.285 MB / 266.7 MB " [Timeout remaining time 180] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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|mass5.s|mass5.v",fileNamePrefix="ModelicaTest_4.0.0_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|mass5.s|mass5.v",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Translational.TestBraking") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.714e-06/1.714e-06, allocations: 0 / 376 MB, free: 4.734 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.949e-05/3.12e-05, allocations: 10.25 kB / 376 MB, free: 4.723 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Translational.TestBraking): time 0.003288/0.003319, allocations: 2.895 MB / 378.9 MB, free: 1.805 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001348/0.004667, allocations: 0.9893 MB / 379.9 MB, free: 0.8125 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001552/0.004823, allocations: 11.94 kB / 379.9 MB, free: 0.8008 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001663/0.004989, allocations: 55.38 kB / 379.9 MB, free: 0.7461 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001606/0.00515, allocations: 115 kB / 380 MB, free: 0.6328 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004694/0.005619, allocations: 163.5 kB / 380.2 MB, free: 484 kB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003483/0.005967, allocations: 397.9 kB / 380.6 MB, free: 84 kB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001474/0.006115, allocations: 65.39 kB / 380.6 MB, free: 16 kB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001853/0.0063, allocations: 211.5 kB / 380.9 MB, free: 15.81 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001373/0.006437, allocations: 111.7 kB / 381 MB, free: 15.7 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 3.626e-05/0.006474, allocations: 24 kB / 381 MB, free: 15.68 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001001/0.006574, allocations: 51.97 kB / 381 MB, free: 15.62 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 4.656e-05/0.00662, allocations: 71.67 kB / 381.1 MB, free: 15.55 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 8.717e-05/0.006708, allocations: 111.8 kB / 381.2 MB, free: 15.45 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003112/0.007019, allocations: 271 kB / 381.5 MB, free: 15.18 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.276e-06/0.007022, allocations: 4 kB / 381.5 MB, free: 15.18 MB / 362.7 MB Notification: Performance of FrontEnd: time 9.92e-07/0.007023, allocations: 0 / 381.5 MB, free: 15.18 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.901e-06/0.007029, allocations: 0 / 381.5 MB, free: 15.18 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 74 * Number of variables: 74 Notification: Performance of Generate backend data structure: time 0.0007216/0.00775, allocations: 0.6712 MB / 382.2 MB, free: 14.47 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.156e-05/0.007802, allocations: 8.031 kB / 382.2 MB, free: 14.46 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002429/0.008045, allocations: 84.69 kB / 382.2 MB, free: 14.38 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002544/0.008299, allocations: 225 kB / 382.5 MB, free: 14.13 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.843e-05/0.008318, allocations: 21.03 kB / 382.5 MB, free: 14.11 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.629e-05/0.008364, allocations: 32.38 kB / 382.5 MB, free: 14.08 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003017/0.008666, allocations: 272.9 kB / 382.8 MB, free: 13.78 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.933e-05/0.008685, allocations: 12.12 kB / 382.8 MB, free: 13.77 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.317e-05/0.008708, allocations: 19.94 kB / 382.8 MB, free: 13.75 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.257e-05/0.008721, allocations: 8 kB / 382.8 MB, free: 13.74 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002016/0.008923, allocations: 131.5 kB / 383 MB, free: 13.62 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001493/0.01042, allocations: 1.355 MB / 384.3 MB, free: 12.18 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003386/0.01075, allocations: 303.3 kB / 384.6 MB, free: 11.82 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.719e-05/0.01084, allocations: 90.34 kB / 384.7 MB, free: 11.71 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.227e-05/0.01086, allocations: 8 kB / 384.7 MB, free: 11.7 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.257e-05/0.01089, allocations: 41.39 kB / 384.7 MB, free: 11.65 MB / 362.7 MB Notification: Performance of pre-optimization done (n=36): time 1.613e-06/0.01089, allocations: 336 / 384.7 MB, free: 11.65 MB / 362.7 MB Notification: Performance of matching and sorting (n=40): time 0.00144/0.01233, allocations: 1.174 MB / 385.9 MB, free: 10.35 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.881e-05/0.01238, allocations: 166.2 kB / 386.1 MB, free: 10.15 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001455/0.01252, allocations: 272.3 kB / 386.3 MB, free: 9.863 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.474e-05/0.01254, allocations: 29.7 kB / 386.4 MB, free: 9.828 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001409/0.01268, allocations: 235.2 kB / 386.6 MB, free: 9.594 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.452e-05/0.01275, allocations: 154.7 kB / 386.8 MB, free: 9.441 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.297e-05/0.01283, allocations: 87.8 kB / 386.8 MB, free: 9.348 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001094/0.01294, allocations: 0.5079 MB / 387.3 MB, free: 8.828 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.083e-05/0.01302, allocations: 60.95 kB / 387.4 MB, free: 8.77 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000162/0.01318, allocations: 262.4 kB / 387.7 MB, free: 8.422 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002701/0.01345, allocations: 366 kB / 388 MB, free: 7.977 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.01345, allocations: 4 kB / 388 MB, free: 7.973 MB / 362.7 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.0004801/0.01393, allocations: 369 kB / 388.4 MB, free: 7.605 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.493e-05/0.01395, allocations: 5.875 kB / 388.4 MB, free: 7.602 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.374e-06/0.01395, allocations: 8 kB / 388.4 MB, free: 7.594 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.047e-05/0.01397, allocations: 4 kB / 388.4 MB, free: 7.59 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002093/0.01418, allocations: 115.8 kB / 388.5 MB, free: 7.477 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.015e-06/0.01419, allocations: 8 kB / 388.5 MB, free: 7.469 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.112e-05/0.01428, allocations: 24.27 kB / 388.5 MB, free: 7.445 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.905e-05/0.0143, allocations: 31.97 kB / 388.6 MB, free: 7.414 MB / 362.7 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 8.746e-05/0.01439, allocations: 184.5 kB / 388.8 MB, free: 7.223 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.126e-05/0.01447, allocations: 43.8 kB / 388.8 MB, free: 7.18 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001285/0.0146, allocations: 107.4 kB / 388.9 MB, free: 7.074 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.408e-06/0.0146, allocations: 8 kB / 388.9 MB, free: 7.066 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.637e-06/0.01461, allocations: 0 / 388.9 MB, free: 7.066 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.907e-06/0.01461, allocations: 0 / 388.9 MB, free: 7.066 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008149/0.01543, allocations: 1.089 MB / 390 MB, free: 5.898 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.254e-06/0.01543, allocations: 4 kB / 390 MB, free: 5.895 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002231/0.01565, allocations: 95.89 kB / 390.1 MB, free: 5.801 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.867e-06/0.01565, allocations: 8 kB / 390.1 MB, free: 5.793 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.623e-05/0.01567, allocations: 12 kB / 390.1 MB, free: 5.781 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.998e-06/0.01567, allocations: 7.938 kB / 390.1 MB, free: 5.773 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.589e-06/0.01568, allocations: 7.938 kB / 390.1 MB, free: 5.766 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004795/0.01616, allocations: 0.994 MB / 391.1 MB, free: 4.711 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.557e-05/0.01618, allocations: 31.8 kB / 391.2 MB, free: 4.68 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.536e-05/0.01621, allocations: 16 kB / 391.2 MB, free: 4.664 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001513/0.01636, allocations: 8 kB / 391.2 MB, free: 4.656 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.304e-05/0.01639, allocations: 43.75 kB / 391.2 MB, free: 4.613 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.336e-05/0.01641, allocations: 19.98 kB / 391.2 MB, free: 4.594 MB / 362.7 MB Notification: Performance of sorting global known variables: time 7.542e-05/0.01648, allocations: 181.1 kB / 391.4 MB, free: 4.418 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01648, allocations: 0 / 391.4 MB, free: 4.418 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003257/0.01681, allocations: 84 kB / 391.5 MB, free: 4.336 MB / 362.7 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 7.451e-05/0.01688, allocations: 111.2 kB / 391.6 MB, free: 4.215 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0004135/0.0173, allocations: 224.8 kB / 391.8 MB, free: 3.992 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.0173, allocations: 0 / 391.8 MB, free: 3.992 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001033/0.0174, allocations: 120.7 kB / 392 MB, free: 3.871 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004938/0.0179, allocations: 80.72 kB / 392 MB, free: 3.793 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00114/0.01904, allocations: 1.044 MB / 393.1 MB, free: 2.668 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.195e-05/0.01911, allocations: 101.1 kB / 393.2 MB, free: 2.551 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 8.856e-05/0.0192, allocations: 39.28 kB / 393.2 MB, free: 2.516 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.787e-05/0.01925, allocations: 28.5 kB / 393.2 MB, free: 2.488 MB / 362.7 MB Notification: Performance of SimCode: time 7.62e-07/0.01925, allocations: 0 / 393.2 MB, free: 2.488 MB / 362.7 MB Notification: Performance of Templates: time 0.005079/0.02433, allocations: 3.131 MB / 396.4 MB, free: 15.41 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Translational.TestBraking.makefile [Timeout 660] (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 & ./ModelicaTest_4.0.0_ModelicaTest.Translational.TestBraking -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Translational.TestBraking.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Translational.TestBraking_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Translational/TestBraking/TestBraking.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.2454846766777337]