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/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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|mass5.s|mass5.v",fileNamePrefix="ModelicaTest_4.0.0_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|mass5.s|mass5.v",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Translational.TestBraking") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001004/0.001004, allocations: 179.7 kB / 14.15 MB, free: 1.176 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.234/1.234, allocations: 221.3 MB / 236 MB, free: 2.949 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007964/0.0007965, allocations: 87.75 kB / 287 MB, free: 244 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1763/0.1763, allocations: 44.16 MB / 382 MB, free: 14.67 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.969e-05/3.98e-05, allocations: 224 / 451.8 MB, free: 9.438 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1186/0.1187, allocations: 61.92 MB / 0.5017 GB, free: 11.46 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3812/0.5, allocations: 90.37 MB / 0.5899 GB, free: 14.94 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001746/0.5002, allocations: 67.97 kB / 0.59 GB, free: 14.87 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01704/0.5173, allocations: 6.672 MB / 0.5965 GB, free: 8.191 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.693e-06/0.5173, allocations: 4 kB / 0.5965 GB, free: 8.188 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.843e-05/0.5173, allocations: 11.98 kB / 0.5965 GB, free: 8.176 MB / 410.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.0007301/0.5181, allocations: 0.5299 MB / 0.5971 GB, free: 7.602 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.372e-05/0.5181, allocations: 16.02 kB / 0.5971 GB, free: 7.586 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001945/0.5183, allocations: 51.52 kB / 0.5971 GB, free: 7.535 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002867/0.5186, allocations: 246.6 kB / 0.5974 GB, free: 7.254 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.12e-05/0.5186, allocations: 20.78 kB / 0.5974 GB, free: 7.234 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.973e-05/0.5187, allocations: 43.84 kB / 0.5974 GB, free: 7.191 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004804/0.5192, allocations: 296.3 kB / 0.5977 GB, free: 6.879 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.613e-05/0.5192, allocations: 7.906 kB / 0.5977 GB, free: 6.871 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.001e-05/0.5193, allocations: 16 kB / 0.5977 GB, free: 6.855 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.137e-05/0.5193, allocations: 8 kB / 0.5977 GB, free: 6.848 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000349/0.5197, allocations: 192.4 kB / 0.5979 GB, free: 6.66 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001782/0.5214, allocations: 1.281 MB / 0.5992 GB, free: 5.281 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004821/0.5219, allocations: 329.5 kB / 0.5995 GB, free: 4.914 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001425/0.5221, allocations: 104.5 kB / 0.5996 GB, free: 4.797 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.785e-05/0.5221, allocations: 7.984 kB / 0.5996 GB, free: 4.789 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.773e-05/0.5222, allocations: 42.5 kB / 0.5996 GB, free: 4.738 MB / 410.7 MB Notification: Performance of pre-optimization done (n=36): time 1.903e-06/0.5222, allocations: 3.938 kB / 0.5996 GB, free: 4.734 MB / 410.7 MB Notification: Performance of matching and sorting (n=40): time 0.001524/0.5237, allocations: 1.344 MB / 0.6009 GB, free: 3.199 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.501e-05/0.5238, allocations: 166.2 kB / 0.6011 GB, free: 3 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001865/0.524, allocations: 197 kB / 0.6013 GB, free: 2.797 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 4.865e-05/0.5241, allocations: 29.7 kB / 0.6013 GB, free: 2.762 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001053/0.5242, allocations: 180.2 kB / 0.6015 GB, free: 2.582 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001085/0.5243, allocations: 157.7 kB / 0.6016 GB, free: 2.426 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.728e-05/0.5243, allocations: 15.94 kB / 0.6017 GB, free: 2.41 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001323/0.5244, allocations: 334.8 kB / 0.602 GB, free: 2.074 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001495/0.5246, allocations: 89.12 kB / 0.6021 GB, free: 1.988 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002353/0.5248, allocations: 232.2 kB / 0.6023 GB, free: 1.699 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002029/0.5251, allocations: 136.2 kB / 0.6024 GB, free: 1.566 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/0.5251, allocations: 0 / 0.6024 GB, free: 1.566 MB / 410.7 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.000541/0.5256, allocations: 397 kB / 0.6028 GB, free: 1.172 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.852e-05/0.5256, allocations: 9.422 kB / 0.6028 GB, free: 1.164 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.093e-05/0.5257, allocations: 15.98 kB / 0.6028 GB, free: 1.148 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.147e-05/0.5257, allocations: 8 kB / 0.6028 GB, free: 1.141 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000363/0.5261, allocations: 115.8 kB / 0.6029 GB, free: 1.027 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.613e-05/0.5261, allocations: 11.94 kB / 0.6029 GB, free: 1.016 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001767/0.5263, allocations: 16 kB / 0.603 GB, free: 1 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.76e-05/0.5263, allocations: 20 kB / 0.603 GB, free: 0.9805 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 () * 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 9.786e-05/0.5264, allocations: 140.8 kB / 0.6031 GB, free: 0.8359 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001127/0.5265, allocations: 35.61 kB / 0.6032 GB, free: 0.8008 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002219/0.5267, allocations: 119.4 kB / 0.6033 GB, free: 0.6719 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.502e-06/0.5268, allocations: 8 kB / 0.6033 GB, free: 0.6641 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.171e-06/0.5268, allocations: 0 / 0.6033 GB, free: 0.6641 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.268e-06/0.5268, allocations: 7.984 kB / 0.6033 GB, free: 0.6562 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001372/0.5282, allocations: 1.026 MB / 0.6043 GB, free: 15.55 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.749e-06/0.5282, allocations: 4.094 kB / 0.6043 GB, free: 15.54 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004112/0.5286, allocations: 100.2 kB / 0.6044 GB, free: 15.45 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.234e-06/0.5286, allocations: 12 kB / 0.6044 GB, free: 15.43 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.493e-05/0.5286, allocations: 12 kB / 0.6044 GB, free: 15.42 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.26e-06/0.5287, allocations: 4 kB / 0.6044 GB, free: 15.42 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.92e-06/0.5287, allocations: 7.938 kB / 0.6044 GB, free: 15.41 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007859/0.5295, allocations: 0.9698 MB / 0.6054 GB, free: 14.32 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.704e-05/0.5295, allocations: 96.94 kB / 0.6055 GB, free: 14.2 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.294e-05/0.5296, allocations: 19.94 kB / 0.6055 GB, free: 14.18 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000279/0.5299, allocations: 8 kB / 0.6055 GB, free: 14.18 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.532e-05/0.5299, allocations: 35.91 kB / 0.6055 GB, free: 14.14 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.939e-05/0.53, allocations: 15.94 kB / 0.6055 GB, free: 14.12 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001322/0.5301, allocations: 157.4 kB / 0.6057 GB, free: 13.96 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.5301, allocations: 0 / 0.6057 GB, free: 13.96 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0004856/0.5306, allocations: 84 kB / 0.6058 GB, free: 13.88 MB / 426.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 () * 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.0001634/0.5308, allocations: 111.1 kB / 0.6059 GB, free: 13.77 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0004166/0.5312, allocations: 273.5 kB / 0.6061 GB, free: 13.5 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/0.5312, allocations: 4 kB / 0.6061 GB, free: 13.5 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000166/0.5314, allocations: 124.1 kB / 0.6063 GB, free: 13.38 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005471/0.5319, allocations: 61.09 kB / 0.6063 GB, free: 13.32 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001628/0.5336, allocations: 1.144 MB / 0.6074 GB, free: 12.12 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003444/0.5339, allocations: 0.7923 MB / 0.6082 GB, free: 11.29 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0001641/0.5341, allocations: 34.95 kB / 0.6082 GB, free: 11.26 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.795e-05/0.5342, allocations: 27.44 kB / 0.6083 GB, free: 11.23 MB / 426.7 MB Notification: Performance of SimCode: time 4.81e-07/0.5342, allocations: 4 kB / 0.6083 GB, free: 11.23 MB / 426.7 MB Notification: Performance of Templates: time 0.005951/0.5401, allocations: 2.847 MB / 0.611 GB, free: 8.414 MB / 426.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Translational.TestBraking.makefile (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) 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","../files/ModelicaTest_4.0.0_ModelicaTest.Translational.TestBraking.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches