Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Mechanics.Rotational.Examples.RollingWheel.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.RollingWheel,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|inertia.phi|inertia.w",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Mechanics.Rotational.Examples.RollingWheel") translateModel(Modelica.Mechanics.Rotational.Examples.RollingWheel,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|inertia.phi|inertia.w",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Mechanics.Rotational.Examples.RollingWheel") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002715/0.002715, allocations: 186 kB / 16.4 MB, free: 5.625 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.728/3.728, allocations: 205.4 MB / 222.5 MB, free: 13.76 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.001903/0.001903, allocations: 94.86 kB / 270.9 MB, free: 13.28 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006788/0.0006791, allocations: 8 kB / 327 MB, free: 15.09 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1778/0.1785, allocations: 47.58 MB / 374.5 MB, free: 15.43 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.RollingWheel): time 0.004719/0.1833, allocations: 1.688 MB / 376.2 MB, free: 13.73 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.002085/0.1855, allocations: 0.5623 MB / 376.8 MB, free: 13.16 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002313/0.1858, allocations: 4 kB / 376.8 MB, free: 13.16 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 8.705e-05/0.1859, allocations: 15.84 kB / 376.8 MB, free: 13.14 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003648/0.1863, allocations: 63.8 kB / 376.9 MB, free: 13.08 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003576/0.1867, allocations: 35.91 kB / 376.9 MB, free: 13.05 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005367/0.1872, allocations: 143.7 kB / 377 MB, free: 12.91 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003029/0.1876, allocations: 57.8 kB / 377.1 MB, free: 12.85 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001967/0.1878, allocations: 63.78 kB / 377.2 MB, free: 12.79 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002293/0.188, allocations: 67.69 kB / 377.2 MB, free: 12.72 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 4.994e-05/0.1881, allocations: 8 kB / 377.2 MB, free: 12.71 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.257e-05/0.1882, allocations: 15.94 kB / 377.2 MB, free: 12.7 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 5.845e-05/0.1883, allocations: 23.92 kB / 377.3 MB, free: 12.67 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001006/0.1884, allocations: 57.64 kB / 377.3 MB, free: 12.61 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003878/0.1888, allocations: 155.8 kB / 377.5 MB, free: 12.46 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.11e-06/0.1888, allocations: 4 kB / 377.5 MB, free: 12.45 MB / 282.7 MB Notification: Performance of FrontEnd: time 5.861e-06/0.1888, allocations: 0 / 377.5 MB, free: 12.45 MB / 282.7 MB Notification: Performance of Transformations before backend: time 7.664e-06/0.1889, allocations: 3.938 kB / 377.5 MB, free: 12.45 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: 41 * Number of variables: 41 Notification: Performance of Generate backend data structure: time 0.001239/0.1901, allocations: 446.5 kB / 377.9 MB, free: 11.96 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.476e-05/0.1902, allocations: 8.031 kB / 377.9 MB, free: 11.96 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001162/0.1903, allocations: 23.8 kB / 378 MB, free: 11.93 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005494/0.1909, allocations: 222.7 kB / 378.2 MB, free: 11.68 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.016e-05/0.191, allocations: 11.98 kB / 378.2 MB, free: 11.66 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.372e-05/0.1911, allocations: 19.91 kB / 378.2 MB, free: 11.64 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000751/0.1919, allocations: 149.4 kB / 378.4 MB, free: 11.49 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.07e-05/0.1919, allocations: 4 kB / 378.4 MB, free: 11.49 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.123e-05/0.192, allocations: 4 kB / 378.4 MB, free: 11.48 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.799e-05/0.192, allocations: 7.984 kB / 378.4 MB, free: 11.48 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006216/0.1927, allocations: 119.7 kB / 378.5 MB, free: 11.36 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002131/0.1948, allocations: 0.5888 MB / 379.1 MB, free: 10.71 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005672/0.1955, allocations: 114.6 kB / 379.2 MB, free: 10.59 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.66e-05/0.1955, allocations: 4.25 kB / 379.2 MB, free: 10.59 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.402e-05/0.1956, allocations: 34.56 kB / 379.2 MB, free: 10.54 MB / 282.7 MB Notification: Performance of pre-optimization done (n=13): time 4.839e-06/0.1956, allocations: 0 / 379.2 MB, free: 10.54 MB / 282.7 MB Notification: Performance of matching and sorting (n=18): time 0.003549/0.1992, allocations: 0.8064 MB / 380 MB, free: 9.641 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.131e-05/0.1993, allocations: 59.34 kB / 380.1 MB, free: 9.57 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000333/0.1997, allocations: 159.7 kB / 380.2 MB, free: 9.406 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 4.567e-05/0.1997, allocations: 29.7 kB / 380.3 MB, free: 9.371 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002001/0.2, allocations: 198.7 kB / 380.5 MB, free: 9.176 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001246/0.2001, allocations: 70.94 kB / 380.5 MB, free: 9.105 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.379e-05/0.2002, allocations: 4 kB / 380.5 MB, free: 9.102 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0002353/0.2004, allocations: 318.8 kB / 380.8 MB, free: 8.781 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003239/0.2008, allocations: 56.34 kB / 380.9 MB, free: 8.727 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003191/0.2011, allocations: 72.16 kB / 381 MB, free: 8.645 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003168/0.2014, allocations: 51.8 kB / 381 MB, free: 8.598 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.845e-06/0.2015, allocations: 0 / 381 MB, free: 8.598 MB / 282.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.001048/0.2025, allocations: 206.3 kB / 381.2 MB, free: 8.387 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.459e-05/0.2026, allocations: 5.875 kB / 381.2 MB, free: 8.383 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.218e-05/0.2027, allocations: 7.953 kB / 381.2 MB, free: 8.375 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003731/0.2031, allocations: 32.78 kB / 381.3 MB, free: 8.34 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000407/0.2035, allocations: 44.03 kB / 381.3 MB, free: 8.297 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002844/0.2064, allocations: 1.433 MB / 382.7 MB, free: 6.73 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002702/0.2067, allocations: 12.09 kB / 382.8 MB, free: 6.719 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.358e-05/0.2068, allocations: 4 kB / 382.8 MB, free: 6.715 MB / 282.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 (18): * Single equations (assignments): 17 * 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%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002831/0.2071, allocations: 129.8 kB / 382.9 MB, free: 6.578 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.476e-05/0.2072, allocations: 15.81 kB / 382.9 MB, free: 6.562 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001051/0.2073, allocations: 29.12 kB / 382.9 MB, free: 6.531 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.851e-06/0.2073, allocations: 0 / 382.9 MB, free: 6.531 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.05e-05/0.2074, allocations: 4 kB / 382.9 MB, free: 6.527 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.392e-06/0.2074, allocations: 4 kB / 382.9 MB, free: 6.523 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002011/0.2094, allocations: 0.58 MB / 383.5 MB, free: 5.879 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.185e-06/0.2095, allocations: 0 / 383.5 MB, free: 5.879 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004246/0.2099, allocations: 39.92 kB / 383.6 MB, free: 5.84 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002956/0.2103, allocations: 32.83 kB / 383.6 MB, free: 5.805 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.485e-05/0.2103, allocations: 4 kB / 383.6 MB, free: 5.801 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002681/0.213, allocations: 1.382 MB / 385 MB, free: 4.285 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.735e-06/0.2131, allocations: 3.953 kB / 385 MB, free: 4.281 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001402/0.2145, allocations: 346.7 kB / 385.3 MB, free: 3.926 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001541/0.2147, allocations: 96.84 kB / 385.4 MB, free: 3.812 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.848e-05/0.2148, allocations: 8 kB / 385.4 MB, free: 3.805 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002669/0.2151, allocations: 8 kB / 385.4 MB, free: 3.797 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.62e-05/0.2152, allocations: 7.984 kB / 385.4 MB, free: 3.789 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.839e-05/0.2153, allocations: 7.984 kB / 385.4 MB, free: 3.781 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0002186/0.2155, allocations: 115.3 kB / 385.6 MB, free: 3.668 MB / 282.7 MB Notification: Performance of sort global known variables: time 7.11e-07/0.2155, allocations: 0 / 385.6 MB, free: 3.668 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0008039/0.2163, allocations: 52.05 kB / 385.6 MB, free: 3.617 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (inertia.phi,inertia.w) * 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 (15): * Single equations (assignments): 14 * 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.0002416/0.2166, allocations: 103.2 kB / 385.7 MB, free: 3.508 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.001159/0.2178, allocations: 254.5 kB / 386 MB, free: 3.246 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 6.212e-06/0.2178, allocations: 0 / 386 MB, free: 3.246 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006683/0.2185, allocations: 186.8 kB / 386.1 MB, free: 3.051 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006091/0.2192, allocations: 23.88 kB / 386.2 MB, free: 3.027 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002187/0.2214, allocations: 0.6335 MB / 386.8 MB, free: 2.363 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006053/0.2221, allocations: 0.7284 MB / 387.5 MB, free: 1.609 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001281/0.2222, allocations: 19.44 kB / 387.5 MB, free: 1.59 MB / 282.7 MB Notification: Performance of SimCode: time 2.334e-06/0.2222, allocations: 4 kB / 387.6 MB, free: 1.586 MB / 282.7 MB Notification: Performance of Templates: time 0.4036/0.6259, allocations: 2.736 MB / 390.3 MB, free: 19.7 MB / 282.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Mechanics.Rotational.Examples.RollingWheel.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Mechanics.Rotational.Examples.RollingWheel.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Mechanics.Rotational.Examples.RollingWheel.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Mechanics.Rotational.Examples.RollingWheel.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Mechanics.Rotational.Examples.RollingWheel.sim & ./Modelica_3.2.3_cpp_Modelica.Mechanics.Rotational.Examples.RollingWheel --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Mechanics.Rotational.Examples.RollingWheel.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Mechanics.Rotational.Examples.RollingWheel_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/Rotational/Examples/RollingWheel/RollingWheel.csv","../files/Modelica_3.2.3_cpp_Modelica.Mechanics.Rotational.Examples.RollingWheel.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches