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/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) 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 ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ModelicaTest.Translational.TestBraking,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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=5000,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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001123/0.001123, allocations: 183.3 kB / 15.76 MB, free: 6.363 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.803/1.803, allocations: 205.4 MB / 221.9 MB, free: 13.85 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000834/0.000834, allocations: 90.86 kB / 270.2 MB, free: 13.37 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2574/0.2574, allocations: 43.56 MB / 362.1 MB, free: 11.31 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005589/0.0005589, allocations: 16 kB / 431.4 MB, free: 19.62 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1425/0.1431, allocations: 58.86 MB / 490.2 MB, free: 8.695 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4341/0.5772, allocations: 89.33 MB / 0.566 GB, free: 10.54 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002824/0.5776, allocations: 63.59 kB / 0.566 GB, free: 10.5 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01887/0.5965, allocations: 6.557 MB / 0.5725 GB, free: 5.016 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.114e-06/0.5965, allocations: 0 / 0.5725 GB, free: 5.016 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.229e-05/0.5965, allocations: 8 kB / 0.5725 GB, free: 5.008 MB / 378.7 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.0009217/0.5975, allocations: 0.5612 MB / 0.573 GB, free: 4.418 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.911e-05/0.5975, allocations: 8.031 kB / 0.573 GB, free: 4.41 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002252/0.5977, allocations: 55.5 kB / 0.5731 GB, free: 4.355 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003107/0.5981, allocations: 258.4 kB / 0.5733 GB, free: 4.082 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.769e-05/0.5981, allocations: 23.52 kB / 0.5733 GB, free: 4.066 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.466e-05/0.5982, allocations: 34.41 kB / 0.5734 GB, free: 4.043 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000477/0.5987, allocations: 298.1 kB / 0.5737 GB, free: 3.809 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.347e-05/0.5987, allocations: 11.84 kB / 0.5737 GB, free: 3.797 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.529e-05/0.5987, allocations: 7.688 kB / 0.5737 GB, free: 3.797 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.836e-06/0.5987, allocations: 8 kB / 0.5737 GB, free: 3.789 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003095/0.5991, allocations: 202.1 kB / 0.5739 GB, free: 3.648 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001689/0.6008, allocations: 1.285 MB / 0.5751 GB, free: 2.441 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005181/0.6013, allocations: 333.3 kB / 0.5754 GB, free: 2.145 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.34e-05/0.6013, allocations: 4 kB / 0.5755 GB, free: 2.141 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.793e-05/0.6014, allocations: 47.92 kB / 0.5755 GB, free: 2.09 MB / 378.7 MB Notification: Performance of pre-optimization done (n=36): time 1.673e-06/0.6014, allocations: 4 kB / 0.5755 GB, free: 2.086 MB / 378.7 MB Notification: Performance of matching and sorting (n=40): time 0.002534/0.6039, allocations: 1.56 MB / 0.577 GB, free: 496 kB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.133e-05/0.604, allocations: 158.2 kB / 0.5772 GB, free: 300 kB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002024/0.6042, allocations: 209.9 kB / 0.5774 GB, free: 108 kB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.496e-05/0.6043, allocations: 32.89 kB / 0.5774 GB, free: 76 kB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001325/0.6044, allocations: 179.3 kB / 0.5776 GB, free: 15.92 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001125/0.6045, allocations: 152.9 kB / 0.5777 GB, free: 15.79 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.015e-05/0.6045, allocations: 10.12 kB / 0.5777 GB, free: 15.79 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001728/0.6047, allocations: 340.8 kB / 0.5781 GB, free: 15.46 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001701/0.6049, allocations: 92.09 kB / 0.5781 GB, free: 15.4 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002605/0.6052, allocations: 241.8 kB / 0.5784 GB, free: 15.15 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000209/0.6054, allocations: 145.2 kB / 0.5785 GB, free: 15.06 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.6054, allocations: 4 kB / 0.5785 GB, free: 15.05 MB / 394.7 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.0005628/0.606, allocations: 398.9 kB / 0.5789 GB, free: 14.75 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.694e-05/0.606, allocations: 8 kB / 0.5789 GB, free: 14.74 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.311e-05/0.606, allocations: 8 kB / 0.5789 GB, free: 14.73 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.605e-05/0.6061, allocations: 11.98 kB / 0.5789 GB, free: 14.72 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004069/0.6065, allocations: 116.1 kB / 0.579 GB, free: 14.61 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.484e-05/0.6065, allocations: 15.94 kB / 0.5791 GB, free: 14.6 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001844/0.6067, allocations: 15.75 kB / 0.5791 GB, free: 14.59 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.077e-05/0.6067, allocations: 23.44 kB / 0.5791 GB, free: 14.57 MB / 394.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001777/0.6069, allocations: 168.3 kB / 0.5792 GB, free: 14.42 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001248/0.607, allocations: 31.62 kB / 0.5793 GB, free: 14.39 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002222/0.6073, allocations: 120.1 kB / 0.5794 GB, free: 14.31 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.133e-06/0.6073, allocations: 8 kB / 0.5794 GB, free: 14.3 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.753e-06/0.6073, allocations: 4 kB / 0.5794 GB, free: 14.3 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.57e-06/0.6073, allocations: 0 / 0.5794 GB, free: 14.3 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00143/0.6087, allocations: 1.021 MB / 0.5804 GB, free: 13.34 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.457e-06/0.6088, allocations: 7.938 kB / 0.5804 GB, free: 13.33 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004776/0.6092, allocations: 99.2 kB / 0.5805 GB, free: 13.24 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.063e-05/0.6093, allocations: 8.234 kB / 0.5805 GB, free: 13.23 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.782e-05/0.6093, allocations: 10.69 kB / 0.5805 GB, free: 13.23 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.39e-06/0.6093, allocations: 8.25 kB / 0.5805 GB, free: 13.22 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.787e-06/0.6093, allocations: 4.188 kB / 0.5805 GB, free: 13.21 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008938/0.6102, allocations: 0.9697 MB / 0.5815 GB, free: 12.24 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.266e-05/0.6103, allocations: 104.8 kB / 0.5816 GB, free: 12.12 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.636e-05/0.6104, allocations: 17.36 kB / 0.5816 GB, free: 12.11 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000306/0.6107, allocations: 15.12 kB / 0.5816 GB, free: 12.1 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.522e-05/0.6107, allocations: 31.42 kB / 0.5816 GB, free: 12.07 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.954e-05/0.6108, allocations: 15.75 kB / 0.5817 GB, free: 12.06 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001308/0.6109, allocations: 157.2 kB / 0.5818 GB, free: 11.92 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.31e-07/0.6109, allocations: 0 / 0.5818 GB, free: 11.92 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0005371/0.6115, allocations: 82.75 kB / 0.5819 GB, free: 11.85 MB / 394.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000142/0.6116, allocations: 113.7 kB / 0.582 GB, free: 11.73 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0004583/0.6121, allocations: 274.4 kB / 0.5823 GB, free: 11.53 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.045e-06/0.6121, allocations: 4.75 kB / 0.5823 GB, free: 11.52 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001752/0.6123, allocations: 133.2 kB / 0.5824 GB, free: 11.42 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006237/0.6129, allocations: 61.38 kB / 0.5824 GB, free: 11.38 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002105/0.615, allocations: 1.513 MB / 0.5839 GB, free: 9.871 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004349/0.6155, allocations: 0.7923 MB / 0.5847 GB, free: 9.051 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0001758/0.6157, allocations: 42.94 kB / 0.5847 GB, free: 9.008 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.352e-05/0.6157, allocations: 27.44 kB / 0.5848 GB, free: 8.98 MB / 394.7 MB Notification: Performance of SimCode: time 2.81e-07/0.6157, allocations: 0 / 0.5848 GB, free: 8.98 MB / 394.7 MB Notification: Performance of Templates: time 0.006464/0.6222, allocations: 2.849 MB / 0.5875 GB, free: 6.156 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Translational.TestBraking.makefile (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) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Translational.TestBraking_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Translational/TestBraking/TestBraking.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Translational.TestBraking.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches