Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_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_cpp_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_cpp_ModelicaTest.Translational.TestBraking") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002399/0.002399, allocations: 185.4 kB / 16.41 MB, free: 5.727 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.988/1.988, allocations: 205.4 MB / 222.5 MB, free: 9.125 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.001083/0.001083, allocations: 93.3 kB / 270.9 MB, free: 8.367 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.5269/0.5269, allocations: 43.56 MB / 362.7 MB, free: 52.23 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004756/0.0004758, allocations: 15.98 kB / 431.4 MB, free: 6.172 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1224/0.1229, allocations: 58.83 MB / 490.2 MB, free: 11.25 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4477/0.5707, allocations: 89.34 MB / 0.566 GB, free: 13.39 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002524/0.571, allocations: 67.97 kB / 0.566 GB, free: 13.33 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02946/0.6005, allocations: 6.567 MB / 0.5724 GB, free: 6.789 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.044e-06/0.6005, allocations: 0 / 0.5724 GB, free: 6.789 MB / 394.7 MB Notification: Performance of Transformations before backend: time 3.035e-05/0.6006, allocations: 13.03 kB / 0.5724 GB, free: 6.777 MB / 394.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.001195/0.6018, allocations: 0.5596 MB / 0.573 GB, free: 6.172 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.28e-05/0.6018, allocations: 8.031 kB / 0.573 GB, free: 6.164 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003061/0.6021, allocations: 51.05 kB / 0.573 GB, free: 6.117 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003989/0.6025, allocations: 262.4 kB / 0.5733 GB, free: 5.82 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.255e-05/0.6026, allocations: 20.66 kB / 0.5733 GB, free: 5.801 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.213e-05/0.6027, allocations: 43.89 kB / 0.5734 GB, free: 5.758 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006923/0.6034, allocations: 286.7 kB / 0.5736 GB, free: 5.453 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.422e-05/0.6035, allocations: 11.92 kB / 0.5736 GB, free: 5.441 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.937e-05/0.6035, allocations: 8.219 kB / 0.5736 GB, free: 5.434 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.791e-05/0.6035, allocations: 9.031 kB / 0.5737 GB, free: 5.426 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005525/0.6041, allocations: 204.2 kB / 0.5739 GB, free: 5.227 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002629/0.6067, allocations: 1.295 MB / 0.5751 GB, free: 3.836 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007929/0.6076, allocations: 325.2 kB / 0.5754 GB, free: 3.473 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.264e-05/0.6076, allocations: 7.938 kB / 0.5754 GB, free: 3.465 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.308e-05/0.6077, allocations: 42.56 kB / 0.5755 GB, free: 3.414 MB / 394.7 MB Notification: Performance of pre-optimization done (n=36): time 3.687e-06/0.6077, allocations: 4 kB / 0.5755 GB, free: 3.41 MB / 394.7 MB Notification: Performance of matching and sorting (n=40): time 0.003758/0.6115, allocations: 1.57 MB / 0.577 GB, free: 1.633 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.536e-05/0.6116, allocations: 162.2 kB / 0.5772 GB, free: 1.438 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002809/0.6119, allocations: 204 kB / 0.5774 GB, free: 1.238 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 3.193e-05/0.6119, allocations: 29.7 kB / 0.5774 GB, free: 1.203 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001364/0.6121, allocations: 234.7 kB / 0.5776 GB, free: 0.9727 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001515/0.6122, allocations: 149.8 kB / 0.5778 GB, free: 0.8242 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.326e-05/0.6123, allocations: 12 kB / 0.5778 GB, free: 0.8125 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001264/0.6124, allocations: 330.8 kB / 0.5781 GB, free: 492 kB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002654/0.6127, allocations: 93.03 kB / 0.5782 GB, free: 400 kB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003826/0.6131, allocations: 240.7 kB / 0.5784 GB, free: 100 kB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003755/0.6135, allocations: 143.8 kB / 0.5785 GB, free: 15.96 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.857e-06/0.6135, allocations: 0 / 0.5785 GB, free: 15.96 MB / 410.7 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.0009528/0.6144, allocations: 389.5 kB / 0.5789 GB, free: 15.57 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.658e-05/0.6145, allocations: 8.375 kB / 0.5789 GB, free: 15.57 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.268e-05/0.6145, allocations: 8 kB / 0.5789 GB, free: 15.56 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.491e-05/0.6145, allocations: 8 kB / 0.5789 GB, free: 15.55 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000769/0.6153, allocations: 119.8 kB / 0.579 GB, free: 15.43 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.03e-05/0.6154, allocations: 11.94 kB / 0.5791 GB, free: 15.42 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003502/0.6157, allocations: 16 kB / 0.5791 GB, free: 15.41 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.459e-05/0.6158, allocations: 20 kB / 0.5791 GB, free: 15.39 MB / 410.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.0002401/0.616, allocations: 169.6 kB / 0.5793 GB, free: 15.21 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001549/0.6162, allocations: 31.62 kB / 0.5793 GB, free: 15.18 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003332/0.6165, allocations: 119.3 kB / 0.5794 GB, free: 15.06 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.229e-05/0.6166, allocations: 8 kB / 0.5794 GB, free: 15.05 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.195e-05/0.6166, allocations: 4.078 kB / 0.5794 GB, free: 15.05 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.975e-06/0.6166, allocations: 7.875 kB / 0.5794 GB, free: 15.04 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002221/0.6188, allocations: 1.034 MB / 0.5804 GB, free: 13.93 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.997e-06/0.6189, allocations: 4 kB / 0.5804 GB, free: 13.92 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008874/0.6198, allocations: 96.14 kB / 0.5805 GB, free: 13.83 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.413e-05/0.6198, allocations: 12 kB / 0.5805 GB, free: 13.82 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.076e-05/0.6199, allocations: 12 kB / 0.5805 GB, free: 13.8 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.127e-06/0.6199, allocations: 4 kB / 0.5806 GB, free: 13.8 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.925e-06/0.6199, allocations: 7.938 kB / 0.5806 GB, free: 13.79 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001242/0.6211, allocations: 0.9629 MB / 0.5815 GB, free: 12.71 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000114/0.6213, allocations: 112.7 kB / 0.5816 GB, free: 12.58 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.185e-05/0.6214, allocations: 15.98 kB / 0.5816 GB, free: 12.56 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004736/0.6218, allocations: 8 kB / 0.5816 GB, free: 12.55 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.899e-05/0.6219, allocations: 31.92 kB / 0.5817 GB, free: 12.52 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.521e-05/0.622, allocations: 12 kB / 0.5817 GB, free: 12.51 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0002149/0.6222, allocations: 160.5 kB / 0.5818 GB, free: 12.35 MB / 410.7 MB Notification: Performance of sort global known variables: time 3.81e-07/0.6222, allocations: 3.938 kB / 0.5818 GB, free: 12.35 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0007876/0.623, allocations: 88 kB / 0.5819 GB, free: 12.26 MB / 410.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.0001629/0.6232, allocations: 104.3 kB / 0.582 GB, free: 12.15 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0007328/0.6239, allocations: 272.5 kB / 0.5823 GB, free: 11.88 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.797e-06/0.624, allocations: 8 kB / 0.5823 GB, free: 11.88 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000301/0.6243, allocations: 132 kB / 0.5824 GB, free: 11.75 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009016/0.6252, allocations: 60.42 kB / 0.5825 GB, free: 11.69 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003127/0.6283, allocations: 1.539 MB / 0.584 GB, free: 10.09 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004274/0.6288, allocations: 0.7884 MB / 0.5847 GB, free: 9.27 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001713/0.629, allocations: 39.38 kB / 0.5848 GB, free: 9.23 MB / 410.7 MB Notification: Performance of SimCode: time 1.202e-06/0.629, allocations: 0 / 0.5848 GB, free: 9.23 MB / 410.7 MB Notification: Performance of Templates: time 0.009182/0.6382, allocations: 3.762 MB / 0.5884 GB, free: 5.484 MB / 410.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Translational.TestBraking.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Translational.TestBraking.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Translational.TestBraking.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Translational.TestBraking.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Translational.TestBraking.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Translational.TestBraking --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Translational.TestBraking.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_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","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Translational.TestBraking.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches