Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.ElasticBearing.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) 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(Modelica.Mechanics.Rotational.Examples.ElasticBearing,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|load.phi|load.w|shaft.phi|shaft.w|springDamper.phi_rel|springDamper.w_rel",fileNamePrefix="Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.ElasticBearing") translateModel(Modelica.Mechanics.Rotational.Examples.ElasticBearing,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|load.phi|load.w|shaft.phi|shaft.w|springDamper.phi_rel|springDamper.w_rel",fileNamePrefix="Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.ElasticBearing") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001004/0.001004, allocations: 187 kB / 17.92 MB, free: 3.855 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.151/1.151, allocations: 205.1 MB / 223.7 MB, free: 8.477 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.0008735/0.0008734, allocations: 101.3 kB / 271.2 MB, free: 8.438 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007448/0.0007449, allocations: 39.94 kB / 327.2 MB, free: 328 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1775/0.1782, allocations: 46.63 MB / 373.8 MB, free: 45.64 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.ElasticBearing): time 0.002748/0.181, allocations: 2.459 MB / 376.3 MB, free: 43.89 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006257/0.1816, allocations: 0.619 MB / 376.9 MB, free: 43.38 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.677e-05/0.1818, allocations: 4.531 kB / 376.9 MB, free: 43.38 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001219/0.1819, allocations: 23.69 kB / 376.9 MB, free: 43.36 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001155/0.182, allocations: 68.7 kB / 377 MB, free: 43.3 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001259/0.1821, allocations: 57.66 kB / 377.1 MB, free: 43.25 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002164/0.1824, allocations: 279.6 kB / 377.3 MB, free: 43.09 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001542/0.1825, allocations: 102.2 kB / 377.4 MB, free: 43.04 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.191e-05/0.1826, allocations: 97.88 kB / 377.5 MB, free: 42.98 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001043/0.1827, allocations: 119.9 kB / 377.6 MB, free: 42.9 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 3.186e-05/0.1828, allocations: 16.75 kB / 377.7 MB, free: 42.9 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.791e-05/0.1828, allocations: 16.62 kB / 377.7 MB, free: 42.9 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 3.12e-05/0.1829, allocations: 47.41 kB / 377.7 MB, free: 42.86 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 8.964e-05/0.183, allocations: 123.8 kB / 377.8 MB, free: 42.79 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001804/0.1831, allocations: 281.4 kB / 378.1 MB, free: 42.58 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.1831, allocations: 1.125 kB / 378.1 MB, free: 42.58 MB / 298.7 MB Notification: Performance of FrontEnd: time 7.51e-07/0.1832, allocations: 3.938 kB / 378.1 MB, free: 42.57 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.399e-06/0.1832, allocations: 0 / 378.1 MB, free: 42.57 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 63 * Number of variables: 63 Notification: Performance of Generate backend data structure: time 0.0005711/0.1837, allocations: 0.5412 MB / 378.7 MB, free: 42.07 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.944e-05/0.1838, allocations: 9.312 kB / 378.7 MB, free: 42.07 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.657e-05/0.1838, allocations: 26.41 kB / 378.7 MB, free: 42.06 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001661/0.184, allocations: 246.1 kB / 378.9 MB, free: 41.8 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.558e-05/0.184, allocations: 18.12 kB / 379 MB, free: 41.8 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.199e-05/0.1841, allocations: 33 kB / 379 MB, free: 41.78 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003635/0.1844, allocations: 224.8 kB / 379.2 MB, free: 41.64 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.483e-05/0.1845, allocations: 1.375 kB / 379.2 MB, free: 41.64 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.735e-05/0.1845, allocations: 9.375 kB / 379.2 MB, free: 41.64 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.833e-06/0.1845, allocations: 7.062 kB / 379.2 MB, free: 41.64 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003414/0.1848, allocations: 184.5 kB / 379.4 MB, free: 41.55 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008506/0.1857, allocations: 0.761 MB / 380.2 MB, free: 40.91 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003922/0.1861, allocations: 209.6 kB / 380.4 MB, free: 40.8 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001905/0.1863, allocations: 125.1 kB / 380.5 MB, free: 40.74 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.854e-05/0.1863, allocations: 2.031 kB / 380.5 MB, free: 40.74 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.163e-05/0.1863, allocations: 40.75 kB / 380.5 MB, free: 40.69 MB / 298.7 MB Notification: Performance of pre-optimization done (n=26): time 1.303e-06/0.1864, allocations: 0 / 380.5 MB, free: 40.69 MB / 298.7 MB Notification: Performance of matching and sorting (n=28): time 0.001298/0.1877, allocations: 0.9567 MB / 381.5 MB, free: 39.96 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.644e-05/0.1877, allocations: 55.12 kB / 381.5 MB, free: 39.9 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.236e-05/0.1878, allocations: 158.2 kB / 381.7 MB, free: 39.77 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.068e-05/0.1878, allocations: 26.7 kB / 381.7 MB, free: 39.74 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.551e-05/0.1878, allocations: 154.6 kB / 381.9 MB, free: 39.59 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.176e-05/0.1879, allocations: 93.97 kB / 382 MB, free: 39.51 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.846e-05/0.188, allocations: 54.27 kB / 382 MB, free: 39.47 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 4.065e-05/0.188, allocations: 340.5 kB / 382.4 MB, free: 39.13 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001524/0.1882, allocations: 70.58 kB / 382.4 MB, free: 39.1 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001656/0.1883, allocations: 116.2 kB / 382.5 MB, free: 39.02 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003075/0.1886, allocations: 204.6 kB / 382.7 MB, free: 38.9 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.332e-06/0.1887, allocations: 1.688 kB / 382.7 MB, free: 38.9 MB / 298.7 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0003886/0.1891, allocations: 250 kB / 383 MB, free: 38.78 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.195e-05/0.1891, allocations: 5.906 kB / 383 MB, free: 38.78 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.318e-06/0.1891, allocations: 0 / 383 MB, free: 38.78 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.207e-05/0.1891, allocations: 6.688 kB / 383 MB, free: 38.77 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002432/0.1893, allocations: 82.48 kB / 383.1 MB, free: 38.75 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.233e-06/0.1894, allocations: 2.344 kB / 383.1 MB, free: 38.75 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001084/0.1895, allocations: 13.95 kB / 383.1 MB, free: 38.74 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.455e-05/0.1895, allocations: 11.38 kB / 383.1 MB, free: 38.74 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (35): * Single equations (assignments): 35 * 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 7.136e-05/0.1896, allocations: 139.8 kB / 383.2 MB, free: 38.6 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.684e-05/0.1896, allocations: 24.72 kB / 383.3 MB, free: 38.59 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.958e-05/0.1897, allocations: 33.05 kB / 383.3 MB, free: 38.56 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.876e-06/0.1897, allocations: 3.906 kB / 383.3 MB, free: 38.56 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.907e-06/0.1897, allocations: 3.984 kB / 383.3 MB, free: 38.55 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-06/0.1897, allocations: 0 / 383.3 MB, free: 38.55 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006949/0.1904, allocations: 0.6568 MB / 384 MB, free: 38.01 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.894e-06/0.1904, allocations: 0 / 384 MB, free: 38.01 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002872/0.1907, allocations: 76.7 kB / 384 MB, free: 37.99 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.855e-06/0.1907, allocations: 1.5 kB / 384 MB, free: 37.99 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.489e-05/0.1907, allocations: 6.781 kB / 384 MB, free: 37.99 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.715e-06/0.1907, allocations: 5.312 kB / 384 MB, free: 37.98 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.522e-06/0.1907, allocations: 1.469 kB / 384 MB, free: 37.98 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002235/0.193, allocations: 2.133 MB / 386.2 MB, free: 36.26 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.851e-05/0.193, allocations: 94.16 kB / 386.3 MB, free: 36.16 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.116e-05/0.193, allocations: 6.094 kB / 386.3 MB, free: 36.15 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000128/0.1932, allocations: 12.98 kB / 386.3 MB, free: 36.14 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.302e-05/0.1932, allocations: 21.14 kB / 386.3 MB, free: 36.13 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.11e-05/0.1932, allocations: 5.188 kB / 386.3 MB, free: 36.13 MB / 298.7 MB Notification: Performance of sorting global known variables: time 5.36e-05/0.1933, allocations: 121 kB / 386.4 MB, free: 36.04 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1933, allocations: 1.594 kB / 386.4 MB, free: 36.04 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003563/0.1937, allocations: 82.81 kB / 386.5 MB, free: 36.02 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 6 (shaft.phi,shaft.w,load.phi,load.w,springDamper.phi_rel,springDamper.w_rel) * 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 (28): * Single equations (assignments): 28 * 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 6.584e-05/0.1937, allocations: 106.6 kB / 386.6 MB, free: 35.93 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0003798/0.1941, allocations: 197.8 kB / 386.8 MB, free: 35.85 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.1941, allocations: 1.5 kB / 386.8 MB, free: 35.85 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001653/0.1943, allocations: 106.2 kB / 386.9 MB, free: 35.8 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003556/0.1947, allocations: 48.06 kB / 387 MB, free: 35.78 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001067/0.1958, allocations: 1.126 MB / 388.1 MB, free: 34.62 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001293/0.1959, allocations: 0.7564 MB / 388.9 MB, free: 33.84 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 8.133e-05/0.196, allocations: 25.92 kB / 388.9 MB, free: 33.81 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.896e-05/0.196, allocations: 23.44 kB / 388.9 MB, free: 33.79 MB / 298.7 MB Notification: Performance of SimCode: time 2.11e-07/0.196, allocations: 4 kB / 388.9 MB, free: 33.78 MB / 298.7 MB Notification: Performance of Templates: time 0.003973/0.2, allocations: 2.454 MB / 391.4 MB, free: 31.34 MB / 298.7 MB make -j1 -f Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.ElasticBearing.makefile (rm -f Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.ElasticBearing.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.ElasticBearing.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.ElasticBearing.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.ElasticBearing.sim & ./Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.ElasticBearing -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.ElasticBearing.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.ElasticBearing_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/Rotational/Examples/ElasticBearing/ElasticBearing.csv","../files/Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.ElasticBearing.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches