Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.FirstGrounded.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Mechanics.Rotational.Examples.FirstGrounded,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|damper.phi_rel|damper.w_rel|inertia3.phi|inertia3.w",fileNamePrefix="Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.FirstGrounded") translateModel(Modelica.Mechanics.Rotational.Examples.FirstGrounded,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|damper.phi_rel|damper.w_rel|inertia3.phi|inertia3.w",fileNamePrefix="Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.FirstGrounded") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008733/0.0008734, allocations: 177.3 kB / 16.71 MB, free: 5.09 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.208/1.208, allocations: 225.7 MB / 243.2 MB, free: 8.457 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007237/0.0007238, allocations: 97.67 kB / 294.4 MB, free: 9.492 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002065/0.0002066, allocations: 11.94 kB / 354.2 MB, free: 13.63 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1759/0.1761, allocations: 50.4 MB / 404.6 MB, free: 31.34 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.FirstGrounded): time 0.001652/0.1778, allocations: 1.98 MB / 406.5 MB, free: 29.36 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005718/0.1784, allocations: 0.5464 MB / 407.1 MB, free: 28.81 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001007/0.1785, allocations: 8.469 kB / 407.1 MB, free: 28.8 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 9.814e-05/0.1786, allocations: 23.78 kB / 407.1 MB, free: 28.78 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 9.617e-05/0.1787, allocations: 62.89 kB / 407.2 MB, free: 28.72 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001539/0.1789, allocations: 43.94 kB / 407.2 MB, free: 28.68 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.000186/0.1791, allocations: 246.8 kB / 407.5 MB, free: 28.43 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000141/0.1792, allocations: 72.31 kB / 407.5 MB, free: 28.36 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000101/0.1793, allocations: 87.59 kB / 407.6 MB, free: 28.27 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.594e-05/0.1794, allocations: 95.53 kB / 407.7 MB, free: 28.18 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.666e-05/0.1794, allocations: 12 kB / 407.7 MB, free: 28.17 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.833e-05/0.1795, allocations: 8 kB / 407.7 MB, free: 28.16 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 3.011e-05/0.1795, allocations: 39.8 kB / 407.8 MB, free: 28.12 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 7.816e-05/0.1796, allocations: 129.1 kB / 407.9 MB, free: 27.99 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001592/0.1798, allocations: 232.6 kB / 408.1 MB, free: 27.76 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.1798, allocations: 5.688 kB / 408.1 MB, free: 27.76 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.042e-06/0.1798, allocations: 3.938 kB / 408.1 MB, free: 27.75 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.128e-06/0.1798, allocations: 0 / 408.1 MB, free: 27.75 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: 50 * Number of variables: 50 Notification: Performance of Generate backend data structure: time 0.0004964/0.1803, allocations: 480 kB / 408.6 MB, free: 27.24 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.347e-05/0.1803, allocations: 12.03 kB / 408.6 MB, free: 27.23 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.285e-05/0.1804, allocations: 32.5 kB / 408.7 MB, free: 27.2 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002086/0.1806, allocations: 235.5 kB / 408.9 MB, free: 26.93 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.371e-05/0.1806, allocations: 12.81 kB / 408.9 MB, free: 26.91 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.837e-05/0.1807, allocations: 24.38 kB / 408.9 MB, free: 26.89 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003021/0.181, allocations: 210.2 kB / 409.1 MB, free: 26.67 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.378e-05/0.181, allocations: 4 kB / 409.1 MB, free: 26.67 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.678e-05/0.181, allocations: 12 kB / 409.1 MB, free: 26.66 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.54e-06/0.181, allocations: 4 kB / 409.1 MB, free: 26.65 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002018/0.1812, allocations: 133.6 kB / 409.3 MB, free: 26.52 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007073/0.1819, allocations: 0.7132 MB / 410 MB, free: 25.75 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001909/0.1821, allocations: 151.3 kB / 410.1 MB, free: 25.6 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000121/0.1823, allocations: 68.83 kB / 410.2 MB, free: 25.53 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.852e-05/0.1823, allocations: 7.938 kB / 410.2 MB, free: 25.52 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.585e-05/0.1823, allocations: 34.56 kB / 410.2 MB, free: 25.48 MB / 298.7 MB Notification: Performance of pre-optimization done (n=20): time 1.153e-06/0.1823, allocations: 0 / 410.2 MB, free: 25.48 MB / 298.7 MB Notification: Performance of matching and sorting (n=24): time 0.001133/0.1835, allocations: 0.8925 MB / 411.1 MB, free: 24.5 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.182e-05/0.1835, allocations: 63.41 kB / 411.2 MB, free: 24.42 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000101/0.1836, allocations: 172.5 kB / 411.4 MB, free: 24.24 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.007e-05/0.1836, allocations: 29.7 kB / 411.4 MB, free: 24.21 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.595e-05/0.1837, allocations: 152.2 kB / 411.5 MB, free: 24.05 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.628e-05/0.1837, allocations: 82.72 kB / 411.6 MB, free: 23.97 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.374e-06/0.1837, allocations: 8 kB / 411.6 MB, free: 23.96 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 4.144e-05/0.1838, allocations: 330.8 kB / 412 MB, free: 23.63 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.53e-05/0.1839, allocations: 51.98 kB / 412 MB, free: 23.58 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001023/0.184, allocations: 109 kB / 412.1 MB, free: 23.46 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002011/0.1842, allocations: 170.4 kB / 412.3 MB, free: 23.28 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.062e-06/0.1842, allocations: 3.938 kB / 412.3 MB, free: 23.28 MB / 298.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0003215/0.1845, allocations: 246 kB / 412.5 MB, free: 23.03 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.07e-05/0.1846, allocations: 8 kB / 412.5 MB, free: 23.02 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.079e-06/0.1846, allocations: 4.125 kB / 412.5 MB, free: 23.02 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001275/0.1847, allocations: 36.78 kB / 412.6 MB, free: 22.98 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001761/0.1849, allocations: 51.91 kB / 412.6 MB, free: 22.93 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000693/0.1856, allocations: 1.382 MB / 414 MB, free: 21.41 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001009/0.1857, allocations: 8 kB / 414 MB, free: 21.4 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.213e-05/0.1857, allocations: 11.94 kB / 414 MB, free: 21.39 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (28): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 7.573e-05/0.1858, allocations: 145.1 kB / 414.2 MB, free: 21.24 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.092e-05/0.1858, allocations: 23.78 kB / 414.2 MB, free: 21.22 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.58e-05/0.1859, allocations: 29.86 kB / 414.2 MB, free: 21.19 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.155e-06/0.1859, allocations: 4 kB / 414.2 MB, free: 21.18 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.074e-06/0.1859, allocations: 0 / 414.2 MB, free: 21.18 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.806e-06/0.1859, allocations: 0 / 414.2 MB, free: 21.18 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006457/0.1865, allocations: 0.655 MB / 414.9 MB, free: 20.46 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.984e-06/0.1866, allocations: 0 / 414.9 MB, free: 20.46 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001836/0.1868, allocations: 47.91 kB / 414.9 MB, free: 20.41 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.188e-05/0.1869, allocations: 36.83 kB / 415 MB, free: 20.38 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.232e-05/0.1869, allocations: 4 kB / 415 MB, free: 20.37 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006229/0.1875, allocations: 1.378 MB / 416.3 MB, free: 18.86 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/0.1875, allocations: 3.938 kB / 416.3 MB, free: 18.86 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004064/0.1879, allocations: 419.1 kB / 416.8 MB, free: 18.43 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.703e-05/0.188, allocations: 92.92 kB / 416.8 MB, free: 18.32 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.258e-05/0.188, allocations: 8 kB / 416.9 MB, free: 18.31 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001103/0.1881, allocations: 12 kB / 416.9 MB, free: 18.3 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.102e-05/0.1882, allocations: 19.97 kB / 416.9 MB, free: 18.28 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.967e-06/0.1882, allocations: 4 kB / 416.9 MB, free: 18.27 MB / 298.7 MB Notification: Performance of sorting global known variables: time 5.885e-05/0.1882, allocations: 119.2 kB / 417 MB, free: 18.16 MB / 298.7 MB Notification: Performance of sort global known variables: time 1e-07/0.1882, allocations: 0 / 417 MB, free: 18.16 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002896/0.1885, allocations: 60 kB / 417.1 MB, free: 18.1 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 4 (inertia3.phi,inertia3.w,damper.phi_rel,damper.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 (21): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 7.521e-05/0.1886, allocations: 119.2 kB / 417.2 MB, free: 17.97 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0003881/0.189, allocations: 291.1 kB / 417.5 MB, free: 17.68 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.189, allocations: 0 / 417.5 MB, free: 17.68 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002209/0.1892, allocations: 222.8 kB / 417.7 MB, free: 17.45 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003816/0.1896, allocations: 35.98 kB / 417.7 MB, free: 17.41 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009245/0.1906, allocations: 0.833 MB / 418.6 MB, free: 16.55 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001277/0.1907, allocations: 0.7563 MB / 419.3 MB, free: 15.77 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 7.272e-05/0.1908, allocations: 21.94 kB / 419.3 MB, free: 15.75 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.862e-05/0.1908, allocations: 19.44 kB / 419.3 MB, free: 15.73 MB / 298.7 MB Notification: Performance of SimCode: time 2.91e-07/0.1908, allocations: 0 / 419.3 MB, free: 15.73 MB / 298.7 MB Notification: Performance of Templates: time 0.004162/0.195, allocations: 2.211 MB / 421.6 MB, free: 13.53 MB / 298.7 MB make -j1 -f Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.FirstGrounded.makefile (rm -f Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.FirstGrounded.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.FirstGrounded.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.FirstGrounded.pipe >> ../files/Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.FirstGrounded.sim & ./Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.FirstGrounded -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.FirstGrounded.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.FirstGrounded_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/Rotational/Examples/FirstGrounded/FirstGrounded.csv","../files/Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.FirstGrounded.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches