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.001115/0.001115, allocations: 177.3 kB / 17.41 MB, free: 4.414 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.243/1.243, allocations: 205.4 MB / 223.6 MB, free: 9.039 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.0007231/0.000723, allocations: 85.42 kB / 271.9 MB, free: 8.281 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.2963/0.2963, allocations: 43.56 MB / 363.7 MB, free: 51.84 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003389/0.000339, allocations: 16 kB / 432.6 MB, free: 5.676 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0983/0.09866, allocations: 58.85 MB / 491.4 MB, free: 10.74 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2796/0.3782, allocations: 89.39 MB / 0.5672 GB, free: 12.92 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002068/0.3785, allocations: 63.97 kB / 0.5673 GB, free: 12.86 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0171/0.3956, allocations: 6.574 MB / 0.5737 GB, free: 6.316 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.754e-06/0.3957, allocations: 0 / 0.5737 GB, free: 6.316 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.739e-05/0.3957, allocations: 8 kB / 0.5737 GB, free: 6.309 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.0007249/0.3964, allocations: 0.5521 MB / 0.5742 GB, free: 5.707 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.718e-05/0.3965, allocations: 15.95 kB / 0.5743 GB, free: 5.691 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001886/0.3967, allocations: 52.48 kB / 0.5743 GB, free: 5.641 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000256/0.3969, allocations: 267.4 kB / 0.5746 GB, free: 5.34 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.186e-05/0.397, allocations: 25.03 kB / 0.5746 GB, free: 5.316 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.27e-05/0.397, allocations: 28.38 kB / 0.5746 GB, free: 5.289 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004453/0.3975, allocations: 307 kB / 0.5749 GB, free: 4.969 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.237e-05/0.3975, allocations: 8.125 kB / 0.5749 GB, free: 4.961 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.857e-05/0.3975, allocations: 12 kB / 0.5749 GB, free: 4.949 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.295e-05/0.3976, allocations: 11.94 kB / 0.5749 GB, free: 4.938 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003234/0.3979, allocations: 195.8 kB / 0.5751 GB, free: 4.746 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001573/0.3995, allocations: 1.294 MB / 0.5764 GB, free: 3.359 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004483/0.3999, allocations: 325.2 kB / 0.5767 GB, free: 2.996 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001461/0.4001, allocations: 109.4 kB / 0.5768 GB, free: 2.875 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.797e-05/0.4001, allocations: 11.97 kB / 0.5768 GB, free: 2.863 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.358e-05/0.4002, allocations: 46.5 kB / 0.5769 GB, free: 2.809 MB / 394.7 MB Notification: Performance of pre-optimization done (n=36): time 1.613e-06/0.4002, allocations: 0 / 0.5769 GB, free: 2.809 MB / 394.7 MB Notification: Performance of matching and sorting (n=40): time 0.002198/0.4024, allocations: 1.559 MB / 0.5784 GB, free: 1.039 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.497e-05/0.4025, allocations: 170.2 kB / 0.5785 GB, free: 0.8359 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001844/0.4026, allocations: 217 kB / 0.5787 GB, free: 0.6211 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.546e-05/0.4027, allocations: 33.7 kB / 0.5788 GB, free: 0.582 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.226e-05/0.4028, allocations: 180.1 kB / 0.579 GB, free: 412 kB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.988e-05/0.4029, allocations: 153.8 kB / 0.5791 GB, free: 256 kB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.562e-05/0.4029, allocations: 4 kB / 0.5791 GB, free: 252 kB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001139/0.403, allocations: 346.8 kB / 0.5794 GB, free: 15.9 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001481/0.4032, allocations: 93.08 kB / 0.5795 GB, free: 15.81 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002295/0.4034, allocations: 252 kB / 0.5798 GB, free: 15.5 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004117/0.4038, allocations: 373.1 kB / 0.5801 GB, free: 15.08 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.993e-06/0.4038, allocations: 0 / 0.5801 GB, free: 15.08 MB / 410.7 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.0005526/0.4044, allocations: 404.8 kB / 0.5805 GB, free: 14.68 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.846e-05/0.4044, allocations: 11.98 kB / 0.5805 GB, free: 14.66 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.276e-06/0.4044, allocations: 4.375 kB / 0.5805 GB, free: 14.66 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.662e-05/0.4044, allocations: 12 kB / 0.5805 GB, free: 14.65 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003672/0.4048, allocations: 111.8 kB / 0.5806 GB, free: 14.54 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.418e-05/0.4048, allocations: 11.94 kB / 0.5807 GB, free: 14.53 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000178/0.405, allocations: 19.91 kB / 0.5807 GB, free: 14.51 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.92e-05/0.4051, allocations: 23.98 kB / 0.5807 GB, free: 14.48 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.0001429/0.4052, allocations: 165.5 kB / 0.5809 GB, free: 14.31 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001101/0.4053, allocations: 27.72 kB / 0.5809 GB, free: 14.29 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002391/0.4056, allocations: 127.3 kB / 0.581 GB, free: 14.16 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.571e-06/0.4056, allocations: 4 kB / 0.581 GB, free: 14.15 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.885e-06/0.4056, allocations: 3.938 kB / 0.581 GB, free: 14.15 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.673e-06/0.4056, allocations: 4 kB / 0.581 GB, free: 14.14 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001378/0.407, allocations: 1.026 MB / 0.582 GB, free: 13.04 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.33e-06/0.407, allocations: 4.125 kB / 0.582 GB, free: 13.03 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004198/0.4074, allocations: 100.1 kB / 0.5821 GB, free: 12.93 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.569e-05/0.4075, allocations: 8.25 kB / 0.5821 GB, free: 12.93 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.596e-05/0.4075, allocations: 12 kB / 0.5821 GB, free: 12.91 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.111e-06/0.4075, allocations: 7.938 kB / 0.5821 GB, free: 12.91 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.106e-06/0.4075, allocations: 4 kB / 0.5821 GB, free: 12.9 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000741/0.4083, allocations: 0.8255 MB / 0.5829 GB, free: 12.03 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.143e-05/0.4083, allocations: 108.7 kB / 0.5831 GB, free: 11.9 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.548e-05/0.4084, allocations: 23.98 kB / 0.5831 GB, free: 11.88 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002781/0.4087, allocations: 8 kB / 0.5831 GB, free: 11.87 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.034e-05/0.4087, allocations: 31.84 kB / 0.5831 GB, free: 11.84 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.829e-05/0.4088, allocations: 16 kB / 0.5831 GB, free: 11.82 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001281/0.4089, allocations: 156.5 kB / 0.5833 GB, free: 11.67 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4089, allocations: 0 / 0.5833 GB, free: 11.67 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.000505/0.4094, allocations: 88 kB / 0.5834 GB, free: 11.58 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.0001432/0.4096, allocations: 111.2 kB / 0.5835 GB, free: 11.46 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0004279/0.41, allocations: 274.5 kB / 0.5837 GB, free: 11.2 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 7.374e-06/0.41, allocations: 4.75 kB / 0.5837 GB, free: 11.2 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001757/0.4102, allocations: 136 kB / 0.5839 GB, free: 11.06 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009083/0.4111, allocations: 70.14 kB / 0.5839 GB, free: 11 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001878/0.413, allocations: 1.543 MB / 0.5854 GB, free: 9.387 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003439/0.4134, allocations: 0.7845 MB / 0.5862 GB, free: 8.578 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.056e-05/0.4135, allocations: 31.42 kB / 0.5862 GB, free: 8.547 MB / 410.7 MB Notification: Performance of SimCode: time 2.31e-07/0.4135, allocations: 0 / 0.5862 GB, free: 8.547 MB / 410.7 MB Notification: Performance of Templates: time 0.005486/0.419, allocations: 3.836 MB / 0.59 GB, free: 4.723 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