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.00189/0.00189, allocations: 111.1 kB / 20.44 MB, free: 1.062 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.003131/0.003131, allocations: 218 kB / 23.73 MB, free: 4.164 MB / 14.72 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 1.54/1.54, allocations: 230.6 MB / 257.5 MB, free: 7.828 MB / 206.1 MB " [Timeout remaining time 178] 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.2596/0.2596, allocations: 44.94 MB / 358.8 MB, free: 6.039 MB / 286.1 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: ModelicaTest requested package Modelica of version 4.0.0. Modelica 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.00223/0.00223, allocations: 79.83 kB / 0.4935 GB, free: 10.05 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2977/0.3, allocations: 65.47 MB / 0.5574 GB, free: 7.488 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Translational.TestBraking): time 0.004781/0.3047, allocations: 2.68 MB / 0.5601 GB, free: 4.789 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002339/0.3071, allocations: 0.9582 MB / 0.561 GB, free: 3.828 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003212/0.3074, allocations: 7.938 kB / 0.561 GB, free: 3.82 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002645/0.3077, allocations: 55.44 kB / 0.561 GB, free: 3.766 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003205/0.308, allocations: 111 kB / 0.5612 GB, free: 3.656 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006341/0.3086, allocations: 155.6 kB / 0.5613 GB, free: 3.504 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005619/0.3092, allocations: 386.2 kB / 0.5617 GB, free: 3.125 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001996/0.3094, allocations: 61.33 kB / 0.5617 GB, free: 3.059 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002242/0.3096, allocations: 135.5 kB / 0.5619 GB, free: 2.926 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002559/0.3099, allocations: 147.2 kB / 0.562 GB, free: 2.781 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 6.161e-05/0.3099, allocations: 24 kB / 0.562 GB, free: 2.758 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001517/0.3101, allocations: 51.98 kB / 0.5621 GB, free: 2.707 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.993e-05/0.3101, allocations: 67.75 kB / 0.5621 GB, free: 2.641 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001881/0.3103, allocations: 135.4 kB / 0.5623 GB, free: 2.508 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005442/0.3109, allocations: 388.8 kB / 0.5626 GB, free: 2.133 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.11e-06/0.3109, allocations: 0 / 0.5626 GB, free: 2.133 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.3109, allocations: 0 / 0.5626 GB, free: 2.133 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.867e-05/0.3109, allocations: 0 / 0.5626 GB, free: 2.133 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: 74 * Number of variables: 74 Notification: Performance of Generate backend data structure: time 0.001176/0.3121, allocations: 0.5636 MB / 0.5632 GB, free: 1.539 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.403e-05/0.3121, allocations: 8.031 kB / 0.5632 GB, free: 1.531 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003515/0.3125, allocations: 60.67 kB / 0.5633 GB, free: 1.473 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005562/0.313, allocations: 222.9 kB / 0.5635 GB, free: 1.227 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.201e-05/0.3131, allocations: 21.03 kB / 0.5635 GB, free: 1.207 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.157e-05/0.3132, allocations: 44.25 kB / 0.5635 GB, free: 1.164 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006171/0.3138, allocations: 314.2 kB / 0.5638 GB, free: 0.8359 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.722e-05/0.3138, allocations: 7.984 kB / 0.5638 GB, free: 0.8281 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.21e-05/0.3138, allocations: 8 kB / 0.5638 GB, free: 0.8203 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.347e-05/0.3139, allocations: 8 kB / 0.5638 GB, free: 0.8125 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004364/0.3143, allocations: 195.8 kB / 0.564 GB, free: 0.6211 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002383/0.3167, allocations: 1.149 MB / 0.5652 GB, free: 15.39 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006481/0.3173, allocations: 317 kB / 0.5655 GB, free: 15.04 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002007/0.3175, allocations: 108.2 kB / 0.5656 GB, free: 14.92 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.482e-05/0.3176, allocations: 8 kB / 0.5656 GB, free: 14.91 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.611e-05/0.3176, allocations: 42.5 kB / 0.5656 GB, free: 14.86 MB / 414.1 MB Notification: Performance of pre-optimization done (n=36): time 4.087e-06/0.3176, allocations: 4 kB / 0.5656 GB, free: 14.86 MB / 414.1 MB Notification: Performance of matching and sorting (n=40): time 0.002884/0.3205, allocations: 1.23 MB / 0.5668 GB, free: 13.51 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000198/0.3207, allocations: 162.2 kB / 0.567 GB, free: 13.31 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000272/0.321, allocations: 228.8 kB / 0.5672 GB, free: 13.07 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.621e-05/0.321, allocations: 33.7 kB / 0.5672 GB, free: 13.04 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001553/0.3212, allocations: 184.5 kB / 0.5674 GB, free: 12.85 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001467/0.3213, allocations: 154.6 kB / 0.5675 GB, free: 12.7 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001344/0.3214, allocations: 82.19 kB / 0.5676 GB, free: 12.61 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001787/0.3216, allocations: 342.8 kB / 0.5679 GB, free: 12.27 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001801/0.3218, allocations: 96.95 kB / 0.568 GB, free: 12.18 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003219/0.3221, allocations: 246.9 kB / 0.5683 GB, free: 11.87 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005476/0.3227, allocations: 370.8 kB / 0.5686 GB, free: 11.44 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.076e-06/0.3227, allocations: 0 / 0.5686 GB, free: 11.44 MB / 414.1 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.0007384/0.3234, allocations: 412.9 kB / 0.569 GB, free: 11.03 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.101e-05/0.3234, allocations: 12.31 kB / 0.569 GB, free: 11.02 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.088e-05/0.3234, allocations: 8 kB / 0.569 GB, free: 11.01 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.461e-05/0.3235, allocations: 8 kB / 0.5691 GB, free: 11 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004303/0.3239, allocations: 115.8 kB / 0.5692 GB, free: 10.89 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.566e-05/0.3239, allocations: 7.938 kB / 0.5692 GB, free: 10.88 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002236/0.3241, allocations: 23.94 kB / 0.5692 GB, free: 10.86 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.316e-05/0.3242, allocations: 20 kB / 0.5692 GB, free: 10.84 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.0002057/0.3244, allocations: 165.6 kB / 0.5694 GB, free: 10.67 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001347/0.3245, allocations: 31.81 kB / 0.5694 GB, free: 10.64 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002701/0.3248, allocations: 123.2 kB / 0.5695 GB, free: 10.51 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.564e-06/0.3248, allocations: 8 kB / 0.5695 GB, free: 10.5 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.598e-06/0.3248, allocations: 4 kB / 0.5695 GB, free: 10.5 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.162e-06/0.3248, allocations: 240 / 0.5695 GB, free: 10.5 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001697/0.3265, allocations: 0.9279 MB / 0.5704 GB, free: 9.504 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.967e-06/0.3265, allocations: 4 kB / 0.5704 GB, free: 9.5 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004538/0.327, allocations: 100.1 kB / 0.5705 GB, free: 9.402 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.618e-06/0.327, allocations: 8 kB / 0.5705 GB, free: 9.395 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.544e-05/0.327, allocations: 19.94 kB / 0.5706 GB, free: 9.375 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.641e-06/0.327, allocations: 4 kB / 0.5706 GB, free: 9.371 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.667e-06/0.327, allocations: 7.938 kB / 0.5706 GB, free: 9.363 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001063/0.3281, allocations: 0.8305 MB / 0.5714 GB, free: 8.484 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.59e-05/0.3282, allocations: 31.75 kB / 0.5714 GB, free: 8.453 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.49e-05/0.3282, allocations: 15.94 kB / 0.5714 GB, free: 8.438 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003264/0.3285, allocations: 12 kB / 0.5714 GB, free: 8.426 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.648e-05/0.3286, allocations: 31.94 kB / 0.5715 GB, free: 8.395 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.349e-05/0.3286, allocations: 16 kB / 0.5715 GB, free: 8.379 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001749/0.3288, allocations: 156.4 kB / 0.5716 GB, free: 8.227 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3288, allocations: 0 / 0.5716 GB, free: 8.227 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0006332/0.3294, allocations: 84 kB / 0.5717 GB, free: 8.145 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.0001493/0.3296, allocations: 108.4 kB / 0.5718 GB, free: 8.031 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0005713/0.3302, allocations: 284 kB / 0.5721 GB, free: 7.754 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.376e-06/0.3302, allocations: 0 / 0.5721 GB, free: 7.754 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002189/0.3304, allocations: 127.7 kB / 0.5722 GB, free: 7.629 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009347/0.3313, allocations: 80.08 kB / 0.5723 GB, free: 7.559 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002267/0.3336, allocations: 1.263 MB / 0.5735 GB, free: 6.234 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002418/0.3338, allocations: 182.1 kB / 0.5737 GB, free: 6.039 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001885/0.334, allocations: 39.28 kB / 0.5737 GB, free: 6 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.59e-05/0.3341, allocations: 31.42 kB / 0.5738 GB, free: 5.969 MB / 414.1 MB Notification: Performance of SimCode: time 5.01e-07/0.3341, allocations: 0 / 0.5738 GB, free: 5.969 MB / 414.1 MB Notification: Performance of Templates: time 0.008557/0.3427, allocations: 3.497 MB / 0.5772 GB, free: 2.527 MB / 414.1 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=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Translational.TestBraking.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_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: 5.393334751948714]