Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Mechanics.Rotational.Examples.FirstGrounded.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.FirstGrounded,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|damper.phi_rel|damper.w_rel|inertia3.phi|inertia3.w",fileNamePrefix="Modelica_3.2.3_cpp_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_3.2.3_cpp_Modelica.Mechanics.Rotational.Examples.FirstGrounded") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002717/0.002724, allocations: 189.5 kB / 16.4 MB, free: 5.621 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 3.679/3.679, allocations: 205.4 MB / 222.5 MB, free: 13.84 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.001773/0.001773, allocations: 90.88 kB / 270.9 MB, free: 13.36 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006309/0.0006311, allocations: 12 kB / 327 MB, free: 15.08 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1507/0.1514, allocations: 47.58 MB / 374.5 MB, free: 15.41 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.FirstGrounded): time 0.005433/0.1569, allocations: 1.877 MB / 376.4 MB, free: 13.52 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.002373/0.1594, allocations: 0.6091 MB / 377 MB, free: 12.91 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002694/0.1597, allocations: 7.938 kB / 377 MB, free: 12.9 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 9.242e-05/0.1598, allocations: 15.84 kB / 377.1 MB, free: 12.88 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004195/0.1603, allocations: 83.75 kB / 377.1 MB, free: 12.8 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003281/0.1606, allocations: 43.95 kB / 377.2 MB, free: 12.76 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005548/0.1612, allocations: 179.6 kB / 377.4 MB, free: 12.58 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003327/0.1616, allocations: 64.75 kB / 377.4 MB, free: 12.52 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003703/0.162, allocations: 87.64 kB / 377.5 MB, free: 12.43 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002685/0.1623, allocations: 87.61 kB / 377.6 MB, free: 12.35 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 6.354e-05/0.1624, allocations: 15.94 kB / 377.6 MB, free: 12.33 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.014e-05/0.1624, allocations: 12 kB / 377.6 MB, free: 12.32 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 7.115e-05/0.1625, allocations: 31.84 kB / 377.6 MB, free: 12.29 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001204/0.1627, allocations: 69.58 kB / 377.7 MB, free: 12.21 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004309/0.1631, allocations: 171.8 kB / 377.9 MB, free: 12.05 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.551e-06/0.1632, allocations: 0 / 377.9 MB, free: 12.05 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.785e-06/0.1632, allocations: 4 kB / 377.9 MB, free: 12.04 MB / 282.7 MB Notification: Performance of Transformations before backend: time 8.666e-06/0.1632, allocations: 4 kB / 377.9 MB, free: 12.04 MB / 282.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.001346/0.1646, allocations: 486.9 kB / 378.4 MB, free: 11.51 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.148e-05/0.1647, allocations: 8.031 kB / 378.4 MB, free: 11.5 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001135/0.1648, allocations: 23.72 kB / 378.4 MB, free: 11.48 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000537/0.1653, allocations: 235.3 kB / 378.6 MB, free: 11.21 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.453e-05/0.1654, allocations: 20.44 kB / 378.6 MB, free: 11.19 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001169/0.1656, allocations: 24 kB / 378.7 MB, free: 11.17 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008716/0.1665, allocations: 205.9 kB / 378.9 MB, free: 10.95 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.435e-05/0.1665, allocations: 0 / 378.9 MB, free: 10.95 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.039e-05/0.1666, allocations: 8 kB / 378.9 MB, free: 10.95 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.794e-05/0.1666, allocations: 4 kB / 378.9 MB, free: 10.94 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000682/0.1673, allocations: 137.6 kB / 379 MB, free: 10.81 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00249/0.1699, allocations: 0.7171 MB / 379.7 MB, free: 10.04 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006463/0.1706, allocations: 142.5 kB / 379.9 MB, free: 9.887 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.741e-05/0.1706, allocations: 7.875 kB / 379.9 MB, free: 9.879 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.646e-05/0.1707, allocations: 38.91 kB / 379.9 MB, free: 9.832 MB / 282.7 MB Notification: Performance of pre-optimization done (n=20): time 4.819e-06/0.1707, allocations: 0 / 379.9 MB, free: 9.832 MB / 282.7 MB Notification: Performance of matching and sorting (n=24): time 0.003809/0.1746, allocations: 0.8865 MB / 380.8 MB, free: 8.852 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.23e-05/0.1747, allocations: 55.41 kB / 380.9 MB, free: 8.785 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003905/0.1751, allocations: 182.6 kB / 381 MB, free: 8.594 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 5.052e-05/0.1752, allocations: 29.7 kB / 381.1 MB, free: 8.559 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001873/0.1754, allocations: 202.7 kB / 381.3 MB, free: 8.359 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001424/0.1756, allocations: 86.66 kB / 381.3 MB, free: 8.273 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.642e-05/0.1756, allocations: 8 kB / 381.4 MB, free: 8.266 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001973/0.1758, allocations: 322.8 kB / 381.7 MB, free: 7.941 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003529/0.1762, allocations: 59.97 kB / 381.7 MB, free: 7.883 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003865/0.1766, allocations: 104.2 kB / 381.8 MB, free: 7.766 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003782/0.177, allocations: 73.47 kB / 381.9 MB, free: 7.695 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.559e-06/0.1771, allocations: 0 / 381.9 MB, free: 7.695 MB / 282.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.001176/0.1782, allocations: 242.1 kB / 382.1 MB, free: 7.449 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.704e-05/0.1783, allocations: 4.125 kB / 382.1 MB, free: 7.445 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.001e-05/0.1784, allocations: 11.95 kB / 382.2 MB, free: 7.434 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003635/0.1788, allocations: 36.83 kB / 382.2 MB, free: 7.395 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005778/0.1794, allocations: 51.91 kB / 382.2 MB, free: 7.344 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002671/0.1821, allocations: 1.386 MB / 383.6 MB, free: 5.82 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003851/0.1825, allocations: 11.98 kB / 383.6 MB, free: 5.809 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.117e-05/0.1826, allocations: 8 kB / 383.6 MB, free: 5.801 MB / 282.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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002966/0.1829, allocations: 133.8 kB / 383.8 MB, free: 5.66 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001052/0.183, allocations: 19.88 kB / 383.8 MB, free: 5.641 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001055/0.1831, allocations: 29.81 kB / 383.8 MB, free: 5.613 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.192e-05/0.1832, allocations: 4 kB / 383.8 MB, free: 5.609 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.172e-05/0.1832, allocations: 0 / 383.8 MB, free: 5.609 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.155e-06/0.1832, allocations: 0 / 383.8 MB, free: 5.609 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002235/0.1855, allocations: 0.6569 MB / 384.5 MB, free: 4.883 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.306e-06/0.1856, allocations: 0 / 384.5 MB, free: 4.883 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006425/0.1863, allocations: 47.91 kB / 384.5 MB, free: 4.836 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003168/0.1866, allocations: 28.84 kB / 384.6 MB, free: 4.805 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.493e-05/0.1867, allocations: 8 kB / 384.6 MB, free: 4.797 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002508/0.1892, allocations: 1.394 MB / 386 MB, free: 3.27 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.669e-06/0.1893, allocations: 4.062 kB / 386 MB, free: 3.266 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001514/0.1908, allocations: 429.8 kB / 386.4 MB, free: 2.809 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001425/0.191, allocations: 96.83 kB / 386.5 MB, free: 2.695 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.413e-05/0.1911, allocations: 4 kB / 386.5 MB, free: 2.691 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003317/0.1914, allocations: 12 kB / 386.5 MB, free: 2.68 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001147/0.1916, allocations: 19.97 kB / 386.5 MB, free: 2.66 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.153e-05/0.1916, allocations: 4 kB / 386.5 MB, free: 2.656 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0002342/0.1919, allocations: 136.8 kB / 386.7 MB, free: 2.523 MB / 282.7 MB Notification: Performance of sort global known variables: time 5.38e-06/0.1919, allocations: 4 kB / 386.7 MB, free: 2.52 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.001848/0.1938, allocations: 63.89 kB / 386.7 MB, free: 2.457 MB / 282.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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002745/0.1941, allocations: 99.23 kB / 386.8 MB, free: 2.348 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.001361/0.1955, allocations: 302.5 kB / 387.1 MB, free: 2.039 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 8.066e-06/0.1956, allocations: 8 kB / 387.1 MB, free: 2.031 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009083/0.1965, allocations: 214.6 kB / 387.3 MB, free: 1.809 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008522/0.1974, allocations: 28.83 kB / 387.4 MB, free: 1.781 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003213/0.2007, allocations: 0.8389 MB / 388.2 MB, free: 0.9102 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006102/0.2013, allocations: 0.7521 MB / 388.9 MB, free: 136 kB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001953/0.2016, allocations: 23.44 kB / 389 MB, free: 112 kB / 282.7 MB Notification: Performance of SimCode: time 1.543e-06/0.2016, allocations: 0 / 389 MB, free: 112 kB / 282.7 MB Notification: Performance of Templates: time 0.4237/0.6253, allocations: 3.295 MB / 392.3 MB, free: 19.85 MB / 282.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Mechanics.Rotational.Examples.FirstGrounded.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Mechanics.Rotational.Examples.FirstGrounded.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Mechanics.Rotational.Examples.FirstGrounded.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Mechanics.Rotational.Examples.FirstGrounded.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Mechanics.Rotational.Examples.FirstGrounded.sim & ./Modelica_3.2.3_cpp_Modelica.Mechanics.Rotational.Examples.FirstGrounded --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Mechanics.Rotational.Examples.FirstGrounded.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Mechanics.Rotational.Examples.FirstGrounded_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/Rotational/Examples/FirstGrounded/FirstGrounded.csv","../files/Modelica_3.2.3_cpp_Modelica.Mechanics.Rotational.Examples.FirstGrounded.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches