Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.00122/0.00122, allocations: 79.59 kB / 21.18 MB, free: 3.387 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.001258/0.001258, allocations: 161 kB / 24.55 MB, free: 20 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.9828/0.9828, allocations: 177.1 MB / 205 MB, free: 5.613 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2626/0.2626, allocations: 34.26 MB / 295.7 MB, free: 0.7031 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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=5006,variableFilter="time|mass1.s|mass1.v|mass2.s|mass2.v|mass3.s|mass3.v|mass4.s|mass4.v|mass5.s|mass5.v|mass6.s|mass6.v",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Translational.TestBraking") translateModel(ModelicaTest.Translational.TestBraking,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5006,variableFilter="time|mass1.s|mass1.v|mass2.s|mass2.v|mass3.s|mass3.v|mass4.s|mass4.v|mass5.s|mass5.v|mass6.s|mass6.v",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Translational.TestBraking") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.853e-06/1.853e-06, allocations: 0 / 378 MB, free: 2.672 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.478e-05/2.663e-05, allocations: 6.312 kB / 378 MB, free: 2.664 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Translational.TestBraking): time 0.003127/0.003154, allocations: 3.129 MB / 381.1 MB, free: 15.51 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.001563/0.004717, allocations: 1.063 MB / 382.2 MB, free: 14.45 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001963/0.004913, allocations: 7.938 kB / 382.2 MB, free: 14.44 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001812/0.005094, allocations: 67.31 kB / 382.3 MB, free: 14.37 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002072/0.005301, allocations: 130.8 kB / 382.4 MB, free: 14.24 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005076/0.005809, allocations: 187.4 kB / 382.6 MB, free: 14.06 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004236/0.006232, allocations: 477.6 kB / 383 MB, free: 13.59 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001861/0.006419, allocations: 83.91 kB / 383.1 MB, free: 13.5 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002748/0.006693, allocations: 251.5 kB / 383.4 MB, free: 13.25 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001641/0.006857, allocations: 139.5 kB / 383.5 MB, free: 13.11 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 4.172e-05/0.006899, allocations: 32 kB / 383.5 MB, free: 13.08 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001057/0.007005, allocations: 55.97 kB / 383.6 MB, free: 13.03 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 4.861e-05/0.007054, allocations: 83.67 kB / 383.7 MB, free: 12.95 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001035/0.007157, allocations: 139.7 kB / 383.8 MB, free: 12.81 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003403/0.007497, allocations: 318.8 kB / 384.1 MB, free: 12.5 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.216e-06/0.007501, allocations: 0 / 384.1 MB, free: 12.5 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.062e-06/0.007502, allocations: 0 / 384.1 MB, free: 12.5 MB / 362.7 MB Notification: Performance of Transformations before backend: time 6.272e-06/0.007508, allocations: 0 / 384.1 MB, free: 12.5 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: 87 * Number of variables: 87 Notification: Performance of Generate backend data structure: time 0.0008315/0.008339, allocations: 0.722 MB / 384.8 MB, free: 11.74 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.113e-05/0.008381, allocations: 12.03 kB / 384.9 MB, free: 11.73 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002688/0.008649, allocations: 96.62 kB / 385 MB, free: 11.63 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002899/0.008939, allocations: 243.4 kB / 385.2 MB, free: 11.37 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.831e-05/0.008968, allocations: 33.31 kB / 385.2 MB, free: 11.34 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.854e-05/0.009026, allocations: 48.3 kB / 385.3 MB, free: 11.29 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003854/0.009411, allocations: 321.7 kB / 385.6 MB, free: 10.94 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.956e-05/0.009431, allocations: 12.14 kB / 385.6 MB, free: 10.93 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.528e-05/0.009456, allocations: 15.94 kB / 385.6 MB, free: 10.91 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.236e-05/0.009469, allocations: 15.92 kB / 385.6 MB, free: 10.89 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002428/0.009711, allocations: 154.3 kB / 385.8 MB, free: 10.75 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00134/0.01105, allocations: 1.611 MB / 387.4 MB, free: 9.043 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004101/0.01146, allocations: 358.8 kB / 387.7 MB, free: 8.617 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001174/0.01158, allocations: 118 kB / 387.9 MB, free: 8.477 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.754e-05/0.01161, allocations: 8 kB / 387.9 MB, free: 8.469 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.719e-05/0.01163, allocations: 41.39 kB / 387.9 MB, free: 8.418 MB / 362.7 MB Notification: Performance of pre-optimization done (n=43): time 1.593e-06/0.01164, allocations: 4 kB / 387.9 MB, free: 8.414 MB / 362.7 MB Notification: Performance of matching and sorting (n=48): time 0.00169/0.01333, allocations: 1.436 MB / 389.3 MB, free: 6.816 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.48e-05/0.01339, allocations: 183.9 kB / 389.5 MB, free: 6.594 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001835/0.01357, allocations: 300.2 kB / 389.8 MB, free: 6.281 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.156e-05/0.0136, allocations: 33.7 kB / 389.8 MB, free: 6.242 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001068/0.0137, allocations: 247.4 kB / 390.1 MB, free: 5.996 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001027/0.0138, allocations: 190.4 kB / 390.3 MB, free: 5.809 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.594e-05/0.0139, allocations: 100 kB / 390.4 MB, free: 5.703 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.000132/0.01403, allocations: 0.5235 MB / 390.9 MB, free: 5.168 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001088/0.01414, allocations: 65.27 kB / 391 MB, free: 5.105 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002103/0.01435, allocations: 322.6 kB / 391.3 MB, free: 4.684 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003973/0.01475, allocations: 432.5 kB / 391.7 MB, free: 4.156 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.879e-06/0.01475, allocations: 0 / 391.7 MB, free: 4.156 MB / 362.7 MB Notification: Performance of matching and sorting (n=74) (initialization): time 0.0004928/0.01525, allocations: 433.1 kB / 392.1 MB, free: 3.727 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.207e-05/0.01527, allocations: 11.98 kB / 392.1 MB, free: 3.715 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.156e-05/0.01528, allocations: 12 kB / 392.1 MB, free: 3.703 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.283e-05/0.0153, allocations: 8 kB / 392.2 MB, free: 3.695 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002919/0.0156, allocations: 143.8 kB / 392.3 MB, free: 3.555 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.264e-05/0.01561, allocations: 8 kB / 392.3 MB, free: 3.547 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001194/0.01573, allocations: 20 kB / 392.3 MB, free: 3.527 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.401e-05/0.01575, allocations: 24 kB / 392.3 MB, free: 3.504 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 25 * 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 (74): * Single equations (assignments): 74 * 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.0001346/0.01589, allocations: 208.5 kB / 392.5 MB, free: 3.289 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001029/0.01599, allocations: 51.77 kB / 392.6 MB, free: 3.238 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001779/0.01617, allocations: 119.4 kB / 392.7 MB, free: 3.117 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.38e-06/0.01617, allocations: 4 kB / 392.7 MB, free: 3.113 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.436e-06/0.01618, allocations: 4 kB / 392.7 MB, free: 3.109 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.521e-06/0.01619, allocations: 3.938 kB / 392.7 MB, free: 3.105 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00113/0.01732, allocations: 1.307 MB / 394 MB, free: 1.711 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.879e-06/0.01732, allocations: 4 kB / 394 MB, free: 1.707 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002863/0.01761, allocations: 119.8 kB / 394.2 MB, free: 1.59 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.823e-06/0.01761, allocations: 7.938 kB / 394.2 MB, free: 1.582 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.278e-05/0.01764, allocations: 16 kB / 394.2 MB, free: 1.566 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.953e-06/0.01764, allocations: 8 kB / 394.2 MB, free: 1.559 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.745e-06/0.01765, allocations: 4 kB / 394.2 MB, free: 1.555 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006823/0.01833, allocations: 1.191 MB / 395.4 MB, free: 296 kB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.717e-05/0.01837, allocations: 35.94 kB / 395.4 MB, free: 260 kB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.864e-05/0.0184, allocations: 23.94 kB / 395.4 MB, free: 236 kB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001925/0.0186, allocations: 12 kB / 395.5 MB, free: 224 kB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.9e-05/0.01866, allocations: 43.81 kB / 395.5 MB, free: 180 kB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.72e-05/0.01867, allocations: 20 kB / 395.5 MB, free: 160 kB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001093/0.01878, allocations: 201.1 kB / 395.7 MB, free: 15.96 MB / 378.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01878, allocations: 0 / 395.7 MB, free: 15.96 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004185/0.0192, allocations: 96 kB / 395.8 MB, free: 15.87 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 13 (mass5.s,mass5.v,heatCapacitor.T,mass6.s,mass6.v,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 (49): * Single equations (assignments): 49 * 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.0001047/0.01931, allocations: 115.2 kB / 395.9 MB, free: 15.75 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0003533/0.01966, allocations: 276.6 kB / 396.2 MB, free: 15.47 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.01966, allocations: 0.875 kB / 396.2 MB, free: 15.47 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001384/0.0198, allocations: 144.5 kB / 396.3 MB, free: 15.33 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006267/0.02043, allocations: 92.06 kB / 396.4 MB, free: 15.25 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001502/0.02193, allocations: 1.228 MB / 397.6 MB, free: 13.92 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.18e-05/0.02202, allocations: 110 kB / 397.8 MB, free: 13.79 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001227/0.02214, allocations: 51.28 kB / 397.8 MB, free: 13.74 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.587e-05/0.02222, allocations: 40.48 kB / 397.8 MB, free: 13.7 MB / 378.7 MB Notification: Performance of SimCode: time 1.222e-06/0.02222, allocations: 0 / 397.8 MB, free: 13.7 MB / 378.7 MB Notification: Performance of Templates: time 0.006409/0.02863, allocations: 3.842 MB / 401.7 MB, free: 9.93 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Translational.TestBraking.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Translational.TestBraking.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Translational.TestBraking.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Translational.TestBraking.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Translational.TestBraking.sim & ./ModelicaTest_4.1.0_ModelicaTest.Translational.TestBraking -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Translational.TestBraking.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Translational.TestBraking_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.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.411312745884061]