Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_cpp_Modelica.Mechanics.Rotational.Examples.ElasticBearing.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/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_trunk_cpp_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_trunk_cpp_Modelica.Mechanics.Rotational.Examples.ElasticBearing") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.000894/0.0008937, allocations: 195.9 kB / 17.05 MB, free: 5.098 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.214/1.214, allocations: 226.6 MB / 244.4 MB, free: 8.215 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007685/0.0007685, allocations: 103.3 kB / 296.4 MB, free: 7.02 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0001803/0.0001803, allocations: 4 kB / 356.2 MB, free: 11.24 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1694/0.1696, allocations: 51.3 MB / 407.5 MB, free: 27.86 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.ElasticBearing): time 0.001673/0.1713, allocations: 2.045 MB / 409.5 MB, free: 25.81 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006012/0.1719, allocations: 0.5833 MB / 410.1 MB, free: 25.23 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.853e-05/0.1721, allocations: 4 kB / 410.1 MB, free: 25.23 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 9.213e-05/0.1722, allocations: 27.78 kB / 410.1 MB, free: 25.2 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 9.807e-05/0.1723, allocations: 69.27 kB / 410.2 MB, free: 25.13 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001148/0.1724, allocations: 39.97 kB / 410.3 MB, free: 25.09 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.000172/0.1726, allocations: 279.5 kB / 410.5 MB, free: 24.82 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001368/0.1727, allocations: 85.64 kB / 410.6 MB, free: 24.74 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.688e-05/0.1728, allocations: 91.64 kB / 410.7 MB, free: 24.65 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.932e-05/0.1729, allocations: 103.5 kB / 410.8 MB, free: 24.55 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.427e-05/0.1729, allocations: 12 kB / 410.8 MB, free: 24.54 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.262e-05/0.173, allocations: 12 kB / 410.8 MB, free: 24.52 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 2.214e-05/0.173, allocations: 43.83 kB / 410.9 MB, free: 24.48 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.553e-05/0.173, allocations: 77.52 kB / 410.9 MB, free: 24.4 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001292/0.1732, allocations: 204.4 kB / 411.1 MB, free: 24.2 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/0.1732, allocations: 1.781 kB / 411.1 MB, free: 24.2 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.072e-06/0.1732, allocations: 0 / 411.1 MB, free: 24.2 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.739e-06/0.1732, allocations: 0 / 411.1 MB, free: 24.2 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.0005258/0.1737, allocations: 0.5107 MB / 411.7 MB, free: 23.64 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.741e-05/0.1737, allocations: 12.02 kB / 411.7 MB, free: 23.63 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.253e-05/0.1738, allocations: 27.62 kB / 411.7 MB, free: 23.6 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001622/0.174, allocations: 230.2 kB / 411.9 MB, free: 23.34 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.494e-05/0.174, allocations: 24.5 kB / 411.9 MB, free: 23.32 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.807e-05/0.174, allocations: 31.98 kB / 412 MB, free: 23.29 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003617/0.1744, allocations: 228.8 kB / 412.2 MB, free: 23.06 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.599e-05/0.1744, allocations: 11.89 kB / 412.2 MB, free: 23.05 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.806e-05/0.1744, allocations: 8 kB / 412.2 MB, free: 23.04 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.601e-06/0.1745, allocations: 4 kB / 412.2 MB, free: 23.04 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003411/0.1748, allocations: 186.1 kB / 412.4 MB, free: 22.85 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008367/0.1756, allocations: 0.7733 MB / 413.2 MB, free: 22.02 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003569/0.176, allocations: 223.6 kB / 413.4 MB, free: 21.79 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001764/0.1762, allocations: 116.7 kB / 413.5 MB, free: 21.68 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.182e-05/0.1762, allocations: 4 kB / 413.5 MB, free: 21.67 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.181e-05/0.1762, allocations: 38.56 kB / 413.5 MB, free: 21.62 MB / 298.7 MB Notification: Performance of pre-optimization done (n=26): time 1.252e-06/0.1762, allocations: 4 kB / 413.6 MB, free: 21.62 MB / 298.7 MB Notification: Performance of matching and sorting (n=28): time 0.001285/0.1775, allocations: 0.9866 MB / 414.5 MB, free: 20.54 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.926e-05/0.1776, allocations: 59.41 kB / 414.6 MB, free: 20.47 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.671e-05/0.1777, allocations: 154.7 kB / 414.7 MB, free: 20.31 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.168e-05/0.1777, allocations: 29.7 kB / 414.8 MB, free: 20.27 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.461e-05/0.1777, allocations: 148.5 kB / 414.9 MB, free: 20.12 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.905e-05/0.1778, allocations: 98.5 kB / 415 MB, free: 20.02 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.937e-06/0.1778, allocations: 8 kB / 415 MB, free: 20.02 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 3.969e-05/0.1778, allocations: 330.8 kB / 415.3 MB, free: 19.68 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001501/0.178, allocations: 79.83 kB / 415.4 MB, free: 19.61 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001566/0.1781, allocations: 115.4 kB / 415.5 MB, free: 19.48 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000162/0.1783, allocations: 91.98 kB / 415.6 MB, free: 19.39 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.72e-07/0.1783, allocations: 0 / 415.6 MB, free: 19.39 MB / 298.7 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0003844/0.1787, allocations: 278.2 kB / 415.9 MB, free: 19.11 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.045e-05/0.1787, allocations: 8.094 kB / 415.9 MB, free: 19.11 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5e-06/0.1787, allocations: 4 kB / 415.9 MB, free: 19.1 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.43e-05/0.1788, allocations: 3.953 kB / 415.9 MB, free: 19.1 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002515/0.179, allocations: 79.89 kB / 416 MB, free: 19.02 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.682e-06/0.179, allocations: 7.938 kB / 416 MB, free: 19.01 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001157/0.1792, allocations: 15.94 kB / 416 MB, free: 19 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.175e-05/0.1792, allocations: 8 kB / 416 MB, free: 18.99 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.763e-05/0.1793, allocations: 141.8 kB / 416.2 MB, free: 18.84 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.412e-05/0.1793, allocations: 19.81 kB / 416.2 MB, free: 18.82 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.147e-05/0.1793, allocations: 22.56 kB / 416.2 MB, free: 18.8 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.336e-06/0.1794, allocations: 7.953 kB / 416.2 MB, free: 18.79 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.975e-06/0.1794, allocations: 0 / 416.2 MB, free: 18.79 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.238e-06/0.1794, allocations: 3.984 kB / 416.2 MB, free: 18.79 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006771/0.1801, allocations: 0.6567 MB / 416.9 MB, free: 18.07 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.334e-06/0.1801, allocations: 3.953 kB / 416.9 MB, free: 18.07 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002934/0.1804, allocations: 83.95 kB / 417 MB, free: 17.98 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.605e-06/0.1804, allocations: 0 / 417 MB, free: 17.98 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.398e-05/0.1804, allocations: 8 kB / 417 MB, free: 17.98 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.793e-06/0.1804, allocations: 0 / 417 MB, free: 17.98 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.81e-07/0.1804, allocations: 0 / 417 MB, free: 17.98 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005228/0.1809, allocations: 466.8 kB / 417.4 MB, free: 17.5 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.759e-05/0.181, allocations: 96.86 kB / 417.5 MB, free: 17.39 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.483e-05/0.181, allocations: 8.062 kB / 417.5 MB, free: 17.38 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001357/0.1811, allocations: 19.94 kB / 417.5 MB, free: 17.36 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.084e-05/0.1812, allocations: 15.97 kB / 417.6 MB, free: 17.34 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.014e-05/0.1812, allocations: 12 kB / 417.6 MB, free: 17.33 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.894e-05/0.1813, allocations: 119.5 kB / 417.7 MB, free: 17.21 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1813, allocations: 0 / 417.7 MB, free: 17.21 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002383/0.1815, allocations: 56 kB / 417.7 MB, free: 17.16 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 (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 7.242e-05/0.1816, allocations: 103.2 kB / 417.8 MB, free: 17.05 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0003408/0.1819, allocations: 207.8 kB / 418 MB, free: 16.85 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.1819, allocations: 4 kB / 418.1 MB, free: 16.84 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001578/0.1821, allocations: 116.1 kB / 418.2 MB, free: 16.73 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003446/0.1825, allocations: 48.55 kB / 418.2 MB, free: 16.69 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009981/0.1835, allocations: 1.025 MB / 419.2 MB, free: 15.63 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000131/0.1836, allocations: 0.7446 MB / 420 MB, free: 14.86 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.559e-05/0.1837, allocations: 27.44 kB / 420 MB, free: 14.83 MB / 298.7 MB Notification: Performance of SimCode: time 2.3e-07/0.1837, allocations: 3.938 kB / 420 MB, free: 14.82 MB / 298.7 MB Notification: Performance of Templates: time 0.002994/0.1867, allocations: 2.704 MB / 422.7 MB, free: 12.12 MB / 298.7 MB make -j1 -f Modelica_trunk_cpp_Modelica.Mechanics.Rotational.Examples.ElasticBearing.makefile (rm -f Modelica_trunk_cpp_Modelica.Mechanics.Rotational.Examples.ElasticBearing.pipe ; mkfifo Modelica_trunk_cpp_Modelica.Mechanics.Rotational.Examples.ElasticBearing.pipe ; head -c 1048576 < Modelica_trunk_cpp_Modelica.Mechanics.Rotational.Examples.ElasticBearing.pipe >> ../files/Modelica_trunk_cpp_Modelica.Mechanics.Rotational.Examples.ElasticBearing.sim & ./Modelica_trunk_cpp_Modelica.Mechanics.Rotational.Examples.ElasticBearing --alarm=480 -emit_protected > Modelica_trunk_cpp_Modelica.Mechanics.Rotational.Examples.ElasticBearing.pipe 2>&1) diffSimulationResults("Modelica_trunk_cpp_Modelica.Mechanics.Rotational.Examples.ElasticBearing_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/Rotational/Examples/ElasticBearing/ElasticBearing.csv","../files/Modelica_trunk_cpp_Modelica.Mechanics.Rotational.Examples.ElasticBearing.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches