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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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 3.2.3+maint.om/package.mo", uses=false) 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 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) 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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008647/0.0008647, allocations: 95.64 kB / 17.3 MB, free: 6.34 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008429/0.0008428, allocations: 180.5 kB / 18.21 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.572/1.572, allocations: 205.4 MB / 224.4 MB, free: 13.06 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.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.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00067/0.0006702, allocations: 12 kB / 281.4 MB, free: 3.43 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1449/0.1456, allocations: 47.59 MB / 329 MB, free: 3.766 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.ElasticBearing): time 0.003928/0.1496, allocations: 2.102 MB / 331.1 MB, free: 1.645 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001629/0.1513, allocations: 0.6087 MB / 331.7 MB, free: 1.027 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002578/0.1516, allocations: 8 kB / 331.7 MB, free: 1.02 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000179/0.1518, allocations: 23.78 kB / 331.7 MB, free: 0.9961 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003084/0.1521, allocations: 67.45 kB / 331.8 MB, free: 0.9297 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002822/0.1524, allocations: 59.88 kB / 331.8 MB, free: 0.8711 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005281/0.153, allocations: 286.7 kB / 332.1 MB, free: 0.5898 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002848/0.1533, allocations: 87.48 kB / 332.2 MB, free: 0.5078 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002284/0.1535, allocations: 91.59 kB / 332.3 MB, free: 428 kB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002411/0.1538, allocations: 107.5 kB / 332.4 MB, free: 320 kB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 4.48e-05/0.1538, allocations: 12 kB / 332.4 MB, free: 308 kB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.711e-05/0.1539, allocations: 12 kB / 332.4 MB, free: 296 kB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 6.76e-05/0.154, allocations: 47.77 kB / 332.5 MB, free: 248 kB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002132/0.1542, allocations: 149.1 kB / 332.6 MB, free: 92 kB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003379/0.1545, allocations: 275.1 kB / 332.9 MB, free: 15.82 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.472e-06/0.1546, allocations: 0 / 332.9 MB, free: 15.82 MB / 286.1 MB Notification: Performance of FrontEnd: time 6.812e-06/0.1546, allocations: 0 / 332.9 MB, free: 15.82 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.111e-05/0.1546, allocations: 3.938 kB / 332.9 MB, free: 15.82 MB / 286.1 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.0009982/0.1556, allocations: 0.5031 MB / 333.4 MB, free: 15.27 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.925e-05/0.1556, allocations: 8.031 kB / 333.4 MB, free: 15.26 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001116/0.1558, allocations: 32.55 kB / 333.4 MB, free: 15.23 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000383/0.1562, allocations: 248.3 kB / 333.7 MB, free: 14.95 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.826e-05/0.1562, allocations: 16.94 kB / 333.7 MB, free: 14.93 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.234e-05/0.1563, allocations: 32.11 kB / 333.7 MB, free: 14.9 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005109/0.1568, allocations: 224.9 kB / 333.9 MB, free: 14.67 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.512e-05/0.1568, allocations: 11.98 kB / 333.9 MB, free: 14.66 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.634e-05/0.1569, allocations: 8 kB / 333.9 MB, free: 14.65 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.167e-05/0.1569, allocations: 8 kB / 334 MB, free: 14.64 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004357/0.1573, allocations: 182.1 kB / 334.1 MB, free: 14.46 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001419/0.1588, allocations: 0.7734 MB / 334.9 MB, free: 13.64 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005082/0.1593, allocations: 222.5 kB / 335.1 MB, free: 13.41 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002249/0.1595, allocations: 116.8 kB / 335.2 MB, free: 13.29 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.02e-05/0.1595, allocations: 4 kB / 335.2 MB, free: 13.29 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.783e-05/0.1596, allocations: 42.55 kB / 335.3 MB, free: 13.24 MB / 286.1 MB Notification: Performance of pre-optimization done (n=26): time 1.923e-06/0.1596, allocations: 0 / 335.3 MB, free: 13.24 MB / 286.1 MB Notification: Performance of matching and sorting (n=28): time 0.001765/0.1613, allocations: 0.9924 MB / 336.3 MB, free: 12.16 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.484e-05/0.1614, allocations: 59.34 kB / 336.3 MB, free: 12.09 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001451/0.1615, allocations: 159.8 kB / 336.5 MB, free: 11.92 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.056e-05/0.1616, allocations: 29.7 kB / 336.5 MB, free: 11.89 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.813e-05/0.1617, allocations: 144.6 kB / 336.7 MB, free: 11.74 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.703e-05/0.1617, allocations: 94.56 kB / 336.8 MB, free: 11.64 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.185e-05/0.1618, allocations: 33.7 kB / 336.8 MB, free: 11.61 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001159/0.1619, allocations: 330.8 kB / 337.1 MB, free: 11.27 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001961/0.1621, allocations: 79.95 kB / 337.2 MB, free: 11.2 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002117/0.1623, allocations: 123.2 kB / 337.3 MB, free: 11.06 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003874/0.1627, allocations: 211.3 kB / 337.5 MB, free: 10.84 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.482e-06/0.1627, allocations: 0 / 337.5 MB, free: 10.84 MB / 286.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.000499/0.1632, allocations: 273.3 kB / 337.8 MB, free: 10.57 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.91e-05/0.1633, allocations: 7.984 kB / 337.8 MB, free: 10.56 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.845e-06/0.1633, allocations: 0 / 337.8 MB, free: 10.56 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.674e-05/0.1633, allocations: 7.938 kB / 337.8 MB, free: 10.55 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002747/0.1636, allocations: 75.91 kB / 337.9 MB, free: 10.48 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.857e-06/0.1636, allocations: 4 kB / 337.9 MB, free: 10.48 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001292/0.1637, allocations: 15.98 kB / 337.9 MB, free: 10.46 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.302e-05/0.1638, allocations: 4 kB / 337.9 MB, free: 10.46 MB / 286.1 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 0.000125/0.1639, allocations: 153.7 kB / 338 MB, free: 10.3 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.335e-05/0.1639, allocations: 15.81 kB / 338.1 MB, free: 10.28 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.71e-05/0.164, allocations: 26.55 kB / 338.1 MB, free: 10.26 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.821e-06/0.164, allocations: 4 kB / 338.1 MB, free: 10.25 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.644e-06/0.164, allocations: 3.938 kB / 338.1 MB, free: 10.25 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.308e-06/0.1641, allocations: 0 / 338.1 MB, free: 10.25 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009459/0.165, allocations: 0.6716 MB / 338.8 MB, free: 9.516 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.464e-06/0.165, allocations: 0 / 338.8 MB, free: 9.516 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003214/0.1653, allocations: 79.95 kB / 338.8 MB, free: 9.438 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.092e-06/0.1654, allocations: 4 kB / 338.8 MB, free: 9.434 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.731e-05/0.1654, allocations: 8 kB / 338.9 MB, free: 9.426 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.887e-06/0.1654, allocations: 3.938 kB / 338.9 MB, free: 9.422 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.462e-06/0.1654, allocations: 0 / 338.9 MB, free: 9.422 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007159/0.1661, allocations: 459.3 kB / 339.3 MB, free: 8.953 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.809e-05/0.1662, allocations: 100.9 kB / 339.4 MB, free: 8.836 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.017e-05/0.1662, allocations: 4.062 kB / 339.4 MB, free: 8.832 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001465/0.1664, allocations: 19.94 kB / 339.4 MB, free: 8.812 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.44e-05/0.1664, allocations: 15.97 kB / 339.4 MB, free: 8.797 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.276e-05/0.1665, allocations: 12 kB / 339.5 MB, free: 8.785 MB / 286.1 MB Notification: Performance of sorting global known variables: time 8.785e-05/0.1666, allocations: 115.2 kB / 339.6 MB, free: 8.672 MB / 286.1 MB Notification: Performance of sort global known variables: time 3.01e-07/0.1666, allocations: 0 / 339.6 MB, free: 8.672 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0003057/0.1669, allocations: 60 kB / 339.6 MB, free: 8.613 MB / 286.1 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 0.0001435/0.167, allocations: 103.2 kB / 339.7 MB, free: 8.5 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.000486/0.1675, allocations: 215.7 kB / 339.9 MB, free: 8.289 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 3.085e-06/0.1675, allocations: 0 / 339.9 MB, free: 8.289 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002142/0.1678, allocations: 112.2 kB / 340 MB, free: 8.18 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004816/0.1683, allocations: 35.97 kB / 340.1 MB, free: 8.145 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001646/0.1699, allocations: 1.024 MB / 341.1 MB, free: 7.094 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000415/0.1703, allocations: 0.7486 MB / 341.9 MB, free: 6.316 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 9.361e-05/0.1704, allocations: 25.92 kB / 341.9 MB, free: 6.289 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.643e-05/0.1705, allocations: 19.44 kB / 341.9 MB, free: 6.27 MB / 286.1 MB Notification: Performance of SimCode: time 3.2e-07/0.1705, allocations: 4 kB / 341.9 MB, free: 6.266 MB / 286.1 MB Notification: Performance of Templates: time 0.005594/0.1761, allocations: 1.982 MB / 343.9 MB, free: 4.289 MB / 286.1 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/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