Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.RollingWheel.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.RollingWheel,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|inertia.phi|inertia.w",fileNamePrefix="Modelica_3.2.3_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_Modelica.Mechanics.Rotational.Examples.RollingWheel") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00119/0.00119, allocations: 108.4 kB / 18.35 MB, free: 4.629 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.001143/0.001143, allocations: 187 kB / 19.29 MB, free: 3.699 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.394/1.394, allocations: 205.1 MB / 225.2 MB, free: 12.25 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.001174/0.001174, allocations: 47.92 kB / 282.1 MB, free: 2.473 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08231/0.0835, allocations: 46.63 MB / 328.7 MB, free: 3.777 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.RollingWheel): time 0.003102/0.08664, allocations: 2.113 MB / 330.8 MB, free: 1.648 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008231/0.08748, allocations: 0.5775 MB / 331.4 MB, free: 1.062 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.182e-05/0.08759, allocations: 4 kB / 331.4 MB, free: 1.059 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001351/0.08774, allocations: 35.59 kB / 331.5 MB, free: 1.023 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001276/0.08788, allocations: 51.55 kB / 331.5 MB, free: 0.9727 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001935/0.08808, allocations: 51.88 kB / 331.6 MB, free: 0.9219 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002194/0.08831, allocations: 215 kB / 331.8 MB, free: 0.7109 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001589/0.08848, allocations: 69.64 kB / 331.8 MB, free: 0.6406 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.917e-05/0.08857, allocations: 75.72 kB / 331.9 MB, free: 0.5664 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001274/0.0887, allocations: 87.61 kB / 332 MB, free: 492 kB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 2.787e-05/0.08874, allocations: 16 kB / 332 MB, free: 476 kB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.997e-05/0.08877, allocations: 16 kB / 332 MB, free: 460 kB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 3.713e-05/0.08881, allocations: 35.92 kB / 332.1 MB, free: 424 kB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 8.326e-05/0.0889, allocations: 91.53 kB / 332.1 MB, free: 332 kB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002004/0.08911, allocations: 215.2 kB / 332.4 MB, free: 116 kB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.939e-06/0.08913, allocations: 4 kB / 332.4 MB, free: 112 kB / 270.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.08913, allocations: 0 / 332.4 MB, free: 112 kB / 270.1 MB Notification: Performance of Transformations before backend: time 5.2e-06/0.08914, allocations: 0 / 332.4 MB, free: 112 kB / 270.1 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.0006472/0.0898, allocations: 475 kB / 332.8 MB, free: 15.59 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.613e-05/0.08984, allocations: 12.03 kB / 332.8 MB, free: 15.58 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.86e-05/0.0899, allocations: 20.73 kB / 332.9 MB, free: 15.56 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002699/0.09017, allocations: 224 kB / 333.1 MB, free: 15.3 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.567e-05/0.0902, allocations: 12.38 kB / 333.1 MB, free: 15.29 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.908e-05/0.09024, allocations: 20.38 kB / 333.1 MB, free: 15.27 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002969/0.09055, allocations: 153.7 kB / 333.3 MB, free: 15.12 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.34e-05/0.09057, allocations: 0 / 333.3 MB, free: 15.12 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.848e-05/0.0906, allocations: 8 kB / 333.3 MB, free: 15.11 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.404e-06/0.09061, allocations: 4 kB / 333.3 MB, free: 15.11 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002255/0.09084, allocations: 111.7 kB / 333.4 MB, free: 15 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008347/0.09168, allocations: 0.6003 MB / 334 MB, free: 14.34 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002252/0.09192, allocations: 110.6 kB / 334.1 MB, free: 14.22 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.971e-05/0.09202, allocations: 40.83 kB / 334.1 MB, free: 14.18 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.189e-05/0.09205, allocations: 11.94 kB / 334.1 MB, free: 14.16 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.286e-05/0.09208, allocations: 38.5 kB / 334.2 MB, free: 14.12 MB / 286.1 MB Notification: Performance of pre-optimization done (n=13): time 1.303e-06/0.09209, allocations: 0 / 334.2 MB, free: 14.12 MB / 286.1 MB Notification: Performance of matching and sorting (n=18): time 0.001453/0.09355, allocations: 0.7868 MB / 335 MB, free: 13.24 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.73e-05/0.09359, allocations: 51.41 kB / 335 MB, free: 13.18 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001502/0.09374, allocations: 162.2 kB / 335.2 MB, free: 13.01 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.725e-05/0.09377, allocations: 29.7 kB / 335.2 MB, free: 12.97 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.713e-05/0.09385, allocations: 136.2 kB / 335.3 MB, free: 12.84 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.279e-05/0.0939, allocations: 63.09 kB / 335.4 MB, free: 12.77 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.889e-05/0.09397, allocations: 41.64 kB / 335.4 MB, free: 12.73 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.000103/0.09408, allocations: 330.8 kB / 335.8 MB, free: 12.39 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001102/0.09419, allocations: 47.97 kB / 335.8 MB, free: 12.35 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000116/0.09432, allocations: 71.41 kB / 335.9 MB, free: 12.27 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002203/0.09454, allocations: 128.6 kB / 336 MB, free: 12.13 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.152e-06/0.09455, allocations: 0 / 336 MB, free: 12.13 MB / 286.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0003683/0.09493, allocations: 210.8 kB / 336.2 MB, free: 11.91 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.968e-05/0.09496, allocations: 4 kB / 336.2 MB, free: 11.91 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.959e-06/0.09497, allocations: 4 kB / 336.2 MB, free: 11.91 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001587/0.09513, allocations: 40.89 kB / 336.3 MB, free: 11.86 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001531/0.0953, allocations: 35.92 kB / 336.3 MB, free: 11.83 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001278/0.09658, allocations: 1.539 MB / 337.8 MB, free: 10.15 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.012e-05/0.09669, allocations: 7.969 kB / 337.8 MB, free: 10.14 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.429e-05/0.09671, allocations: 8 kB / 337.8 MB, free: 10.13 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 (18): * Single equations (assignments): 17 * 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,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001202/0.09684, allocations: 133.8 kB / 338 MB, free: 9.992 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.677e-05/0.09688, allocations: 11.91 kB / 338 MB, free: 9.98 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.803e-05/0.09693, allocations: 21.19 kB / 338 MB, free: 9.957 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.693e-06/0.09694, allocations: 64 / 338 MB, free: 9.957 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.4e-06/0.09695, allocations: 8 kB / 338 MB, free: 9.949 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.348e-06/0.09696, allocations: 3.938 kB / 338 MB, free: 9.945 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007863/0.09775, allocations: 0.5761 MB / 338.6 MB, free: 9.305 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.013e-06/0.09777, allocations: 0 / 338.6 MB, free: 9.305 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001525/0.09792, allocations: 31.92 kB / 338.6 MB, free: 9.273 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001114/0.09804, allocations: 36.84 kB / 338.7 MB, free: 9.234 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.149e-05/0.09807, allocations: 3.938 kB / 338.7 MB, free: 9.23 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001029/0.0991, allocations: 1.477 MB / 340.1 MB, free: 7.613 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.09911, allocations: 0 / 340.1 MB, free: 7.613 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005022/0.09962, allocations: 332.2 kB / 340.5 MB, free: 7.27 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.172e-05/0.09969, allocations: 96.94 kB / 340.6 MB, free: 7.156 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.102e-05/0.09972, allocations: 8.125 kB / 340.6 MB, free: 7.148 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001058/0.09983, allocations: 11.98 kB / 340.6 MB, free: 7.137 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.857e-05/0.09987, allocations: 11.98 kB / 340.6 MB, free: 7.125 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.085e-05/0.09989, allocations: 4 kB / 340.6 MB, free: 7.121 MB / 286.1 MB Notification: Performance of sorting global known variables: time 8.294e-05/0.09998, allocations: 119.2 kB / 340.7 MB, free: 7.004 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.09998, allocations: 0 / 340.7 MB, free: 7.004 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.000286/0.1003, allocations: 44 kB / 340.8 MB, free: 6.961 MB / 286.1 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 (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 0.0001143/0.1004, allocations: 107.2 kB / 340.9 MB, free: 6.848 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0004623/0.1009, allocations: 261.7 kB / 341.1 MB, free: 6.582 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.1009, allocations: 0 / 341.1 MB, free: 6.582 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002499/0.1011, allocations: 194.5 kB / 341.3 MB, free: 6.379 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003345/0.1015, allocations: 30.33 kB / 341.3 MB, free: 6.352 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008609/0.1024, allocations: 491.4 kB / 341.8 MB, free: 5.844 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003042/0.1027, allocations: 0.732 MB / 342.5 MB, free: 5.082 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 6.979e-05/0.1027, allocations: 17.48 kB / 342.6 MB, free: 5.062 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.957e-05/0.1028, allocations: 15.44 kB / 342.6 MB, free: 5.047 MB / 286.1 MB Notification: Performance of SimCode: time 3.8e-07/0.1028, allocations: 4 kB / 342.6 MB, free: 5.043 MB / 286.1 MB Notification: Performance of Templates: time 0.00475/0.1076, allocations: 1.819 MB / 344.4 MB, free: 3.223 MB / 286.1 MB make -j1 -f Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.RollingWheel.makefile (rm -f Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.RollingWheel.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.RollingWheel.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.RollingWheel.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.RollingWheel.sim & ./Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.RollingWheel -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.RollingWheel.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.RollingWheel.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches