Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Rotational.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.002289/0.002289, allocations: 108.3 kB / 19.7 MB, free: 1.918 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.002362/0.002362, allocations: 219.7 kB / 22.99 MB, free: 4.977 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.788/1.788, allocations: 207.7 MB / 233.8 MB, free: 9.797 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2447/0.2447, allocations: 44.26 MB / 330.3 MB, free: 9.309 MB / 270.1 MB " [Timeout remaining time 179] 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 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 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.Rotational.TestBraking,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|inertia1.phi|inertia1.w|inertia2.phi|inertia2.w|inertia3.phi|inertia3.w|inertia4.phi|inertia4.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Rotational.TestBraking") translateModel(ModelicaTest.Rotational.TestBraking,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|inertia1.phi|inertia1.w|inertia2.phi|inertia2.w|inertia3.phi|inertia3.w|inertia4.phi|inertia4.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Rotational.TestBraking") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 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.002511/0.002511, allocations: 63.91 kB / 468 MB, free: 3.871 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1774/0.1799, allocations: 61.05 MB / 0.5166 GB, free: 6.699 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.TestBraking): time 0.004598/0.1845, allocations: 2.523 MB / 0.5191 GB, free: 4.16 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002164/0.1866, allocations: 0.9396 MB / 0.52 GB, free: 3.211 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001882/0.1868, allocations: 7.938 kB / 0.52 GB, free: 3.203 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002187/0.187, allocations: 59.44 kB / 0.5201 GB, free: 3.145 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002273/0.1873, allocations: 103.1 kB / 0.5202 GB, free: 3.043 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005871/0.1878, allocations: 143.6 kB / 0.5203 GB, free: 2.902 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004874/0.1883, allocations: 366.3 kB / 0.5207 GB, free: 2.543 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002195/0.1886, allocations: 69.2 kB / 0.5207 GB, free: 2.473 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001788/0.1887, allocations: 147.4 kB / 0.5209 GB, free: 2.328 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002169/0.1889, allocations: 123.4 kB / 0.521 GB, free: 2.207 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 4.515e-05/0.189, allocations: 24 kB / 0.521 GB, free: 2.184 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001249/0.1891, allocations: 43.98 kB / 0.521 GB, free: 2.141 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.712e-05/0.1892, allocations: 59.78 kB / 0.5211 GB, free: 2.082 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001618/0.1893, allocations: 139.4 kB / 0.5212 GB, free: 1.945 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005136/0.1898, allocations: 366.5 kB / 0.5216 GB, free: 1.586 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.566e-06/0.1899, allocations: 0 / 0.5216 GB, free: 1.586 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.594e-06/0.1899, allocations: 0 / 0.5216 GB, free: 1.586 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.616e-05/0.1899, allocations: 0 / 0.5216 GB, free: 1.586 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.001026/0.1909, allocations: 0.5286 MB / 0.5221 GB, free: 1.027 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.588e-05/0.1909, allocations: 8.031 kB / 0.5221 GB, free: 1.02 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002393/0.1912, allocations: 56.69 kB / 0.5222 GB, free: 0.9648 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004325/0.1916, allocations: 202 kB / 0.5224 GB, free: 0.7422 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.71e-05/0.1916, allocations: 21.03 kB / 0.5224 GB, free: 0.7227 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.269e-05/0.1917, allocations: 40.31 kB / 0.5224 GB, free: 0.6836 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005121/0.1922, allocations: 302.7 kB / 0.5227 GB, free: 376 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.904e-05/0.1923, allocations: 11.89 kB / 0.5227 GB, free: 364 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.021e-05/0.1923, allocations: 12 kB / 0.5227 GB, free: 352 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.882e-05/0.1923, allocations: 15.98 kB / 0.5227 GB, free: 336 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003221/0.1926, allocations: 167.8 kB / 0.5229 GB, free: 168 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001857/0.1945, allocations: 1.165 MB / 0.524 GB, free: 14.92 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004567/0.1949, allocations: 249 kB / 0.5243 GB, free: 14.63 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001129/0.1951, allocations: 72.28 kB / 0.5243 GB, free: 14.54 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.527e-05/0.1951, allocations: 4 kB / 0.5243 GB, free: 14.54 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.805e-05/0.1951, allocations: 54.42 kB / 0.5244 GB, free: 14.48 MB / 414.1 MB Notification: Performance of pre-optimization done (n=22): time 1.523e-06/0.1951, allocations: 0 / 0.5244 GB, free: 14.48 MB / 414.1 MB Notification: Performance of matching and sorting (n=22): time 0.0005134/0.1956, allocations: 213.3 kB / 0.5246 GB, free: 14.26 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001119/0.1957, allocations: 162.2 kB / 0.5248 GB, free: 14.07 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002248/0.196, allocations: 200.2 kB / 0.5249 GB, free: 13.86 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.864e-05/0.196, allocations: 33.7 kB / 0.525 GB, free: 13.82 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000153/0.1962, allocations: 196.4 kB / 0.5252 GB, free: 13.63 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.168e-05/0.1962, allocations: 95.31 kB / 0.5253 GB, free: 13.54 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.785e-05/0.1963, allocations: 65.83 kB / 0.5253 GB, free: 13.46 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001833/0.1965, allocations: 334.8 kB / 0.5256 GB, free: 13.13 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001284/0.1966, allocations: 67.91 kB / 0.5257 GB, free: 13.06 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000239/0.1969, allocations: 206.3 kB / 0.5259 GB, free: 12.8 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003981/0.1973, allocations: 297.7 kB / 0.5262 GB, free: 12.44 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.306e-06/0.1973, allocations: 0 / 0.5262 GB, free: 12.44 MB / 414.1 MB Notification: Performance of matching and sorting (n=44) (initialization): time 0.0005051/0.1978, allocations: 320.9 kB / 0.5265 GB, free: 12.12 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.243e-05/0.1978, allocations: 8 kB / 0.5265 GB, free: 12.11 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.011e-05/0.1978, allocations: 4 kB / 0.5265 GB, free: 12.11 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.792e-05/0.1979, allocations: 8.531 kB / 0.5265 GB, free: 12.1 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002948/0.1981, allocations: 87.89 kB / 0.5266 GB, free: 12.02 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.811e-05/0.1982, allocations: 15.94 kB / 0.5266 GB, free: 12 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001738/0.1983, allocations: 31.73 kB / 0.5266 GB, free: 11.97 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.962e-05/0.1984, allocations: 20 kB / 0.5267 GB, free: 11.95 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 (44): * Single equations (assignments): 44 * 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.0001844/0.1986, allocations: 157.7 kB / 0.5268 GB, free: 11.79 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001173/0.1987, allocations: 19.86 kB / 0.5268 GB, free: 11.77 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002018/0.1989, allocations: 91.02 kB / 0.5269 GB, free: 11.67 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.052e-06/0.1989, allocations: 4 kB / 0.5269 GB, free: 11.66 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.484e-06/0.1989, allocations: 0 / 0.5269 GB, free: 11.66 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.23e-06/0.1989, allocations: 0 / 0.5269 GB, free: 11.66 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005218/0.1994, allocations: 229.4 kB / 0.5271 GB, free: 11.41 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.762e-06/0.1994, allocations: 15.88 kB / 0.5271 GB, free: 11.39 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003316/0.1998, allocations: 63.91 kB / 0.5272 GB, free: 11.33 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.775e-06/0.1998, allocations: 0.5625 kB / 0.5272 GB, free: 11.33 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.699e-05/0.1998, allocations: 8 kB / 0.5272 GB, free: 11.32 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.559e-06/0.1998, allocations: 4 kB / 0.5272 GB, free: 11.32 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.1998, allocations: 0 / 0.5272 GB, free: 11.32 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006855/0.2005, allocations: 0.6373 MB / 0.5278 GB, free: 10.66 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.493e-05/0.2005, allocations: 27.77 kB / 0.5279 GB, free: 10.64 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.303e-05/0.2006, allocations: 11.98 kB / 0.5279 GB, free: 10.62 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002405/0.2008, allocations: 4 kB / 0.5279 GB, free: 10.62 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.536e-05/0.2008, allocations: 19.97 kB / 0.5279 GB, free: 10.6 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.249e-05/0.2009, allocations: 8.109 kB / 0.5279 GB, free: 10.59 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001216/0.201, allocations: 143.9 kB / 0.5281 GB, free: 10.45 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.201, allocations: 0 / 0.5281 GB, free: 10.45 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0005441/0.2015, allocations: 83.78 kB / 0.5281 GB, free: 10.37 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 11 (inertia1.w,linearSpeedDependentTorque.phi,inertia2.w,quadraticSpeedDependentTorque.phi,inertia3.w,constantTorque.phi,inertia4.w,signTorque.phi,eddyCurrentTorque.phi,inertia5.w,heatCapacitor.T) * 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 (23): * Single equations (assignments): 23 * 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.0001481/0.2017, allocations: 103.4 kB / 0.5282 GB, free: 10.26 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003652/0.202, allocations: 180.4 kB / 0.5284 GB, free: 10.08 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.727e-06/0.202, allocations: 0 / 0.5284 GB, free: 10.08 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001053/0.2021, allocations: 71.84 kB / 0.5285 GB, free: 10.01 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008428/0.203, allocations: 67.83 kB / 0.5285 GB, free: 9.945 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001984/0.205, allocations: 1.132 MB / 0.5296 GB, free: 8.777 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002152/0.2052, allocations: 165.2 kB / 0.5298 GB, free: 8.602 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001301/0.2053, allocations: 26.28 kB / 0.5298 GB, free: 8.57 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.985e-05/0.2054, allocations: 19.44 kB / 0.5298 GB, free: 8.551 MB / 414.1 MB Notification: Performance of SimCode: time 6.71e-07/0.2054, allocations: 0 / 0.5298 GB, free: 8.551 MB / 414.1 MB Notification: Performance of Templates: time 0.007682/0.2131, allocations: 2.869 MB / 0.5326 GB, free: 5.715 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Rotational.TestBraking.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Rotational.TestBraking.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Rotational.TestBraking.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Rotational.TestBraking.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Rotational.TestBraking.sim & ./ModelicaTest_3.2.3_ModelicaTest.Rotational.TestBraking -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Rotational.TestBraking.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Rotational.TestBraking_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Rotational/TestBraking/TestBraking.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Rotational.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.903158036991954]