Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_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) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001571/0.001571, allocations: 103.2 kB / 19.61 MB, free: 2.461 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001791/0.001791, allocations: 194.5 kB / 22.75 MB, free: 5.727 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.46/1.46, allocations: 225.6 MB / 251.4 MB, free: 13.41 MB / 206.1 MB [Timeout remaining time 88] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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=5000,variableFilter="time|inertia.phi|inertia.w",fileNamePrefix="Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.RollingWheel") translateModel(Modelica.Mechanics.Rotational.Examples.RollingWheel,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|inertia.phi|inertia.w",fileNamePrefix="Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.RollingWheel") [Timeout 660] Notification: Performance of FrontEnd - loaded program: time 0.001629/0.001629, allocations: 51.92 kB / 369.1 MB, free: 10.34 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2662/0.2678, allocations: 52.14 MB / 421.3 MB, free: 15.19 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.RollingWheel): time 0.00378/0.2716, allocations: 2.126 MB / 423.4 MB, free: 13.05 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001104/0.2727, allocations: 0.5454 MB / 423.9 MB, free: 12.5 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001242/0.2729, allocations: 4 kB / 424 MB, free: 12.5 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001577/0.273, allocations: 35.66 kB / 424 MB, free: 12.46 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001149/0.2731, allocations: 51.55 kB / 424 MB, free: 12.41 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002313/0.2734, allocations: 59.81 kB / 424.1 MB, free: 12.35 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002594/0.2736, allocations: 207.1 kB / 424.3 MB, free: 12.15 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001708/0.2738, allocations: 49.64 kB / 424.3 MB, free: 12.1 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000101/0.2739, allocations: 87.64 kB / 424.4 MB, free: 12.02 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001416/0.274, allocations: 79.62 kB / 424.5 MB, free: 11.94 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.229e-05/0.2741, allocations: 20 kB / 424.5 MB, free: 11.92 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.18e-05/0.2741, allocations: 16 kB / 424.5 MB, free: 11.9 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 4.404e-05/0.2742, allocations: 31.92 kB / 424.6 MB, free: 11.87 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001012/0.2743, allocations: 95.53 kB / 424.7 MB, free: 11.78 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003272/0.2746, allocations: 212.4 kB / 424.9 MB, free: 11.57 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.2746, allocations: 0 / 424.9 MB, free: 11.57 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.2746, allocations: 0 / 424.9 MB, free: 11.57 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.082e-06/0.2746, allocations: 0 / 424.9 MB, free: 11.57 MB / 334.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.0007851/0.2754, allocations: 486.6 kB / 425.4 MB, free: 11.05 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.905e-05/0.2754, allocations: 8.031 kB / 425.4 MB, free: 11.04 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.88e-05/0.2755, allocations: 24.8 kB / 425.4 MB, free: 11.02 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003022/0.2758, allocations: 227.2 kB / 425.6 MB, free: 10.76 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.023e-05/0.2758, allocations: 16.38 kB / 425.6 MB, free: 10.75 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.721e-05/0.2759, allocations: 12.38 kB / 425.6 MB, free: 10.73 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003381/0.2762, allocations: 161.7 kB / 425.8 MB, free: 10.57 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.584e-05/0.2762, allocations: 3.984 kB / 425.8 MB, free: 10.57 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.798e-05/0.2762, allocations: 4 kB / 425.8 MB, free: 10.56 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.194e-06/0.2762, allocations: 4 kB / 425.8 MB, free: 10.56 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002477/0.2765, allocations: 103.7 kB / 425.9 MB, free: 10.46 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001019/0.2775, allocations: 0.5889 MB / 426.5 MB, free: 9.812 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002504/0.2778, allocations: 114.6 kB / 426.6 MB, free: 9.691 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.217e-05/0.2779, allocations: 36.83 kB / 426.6 MB, free: 9.652 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.918e-05/0.2779, allocations: 3.938 kB / 426.6 MB, free: 9.648 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.511e-05/0.2779, allocations: 38.56 kB / 426.7 MB, free: 9.602 MB / 334.1 MB Notification: Performance of pre-optimization done (n=13): time 1.423e-06/0.2779, allocations: 0 / 426.7 MB, free: 9.602 MB / 334.1 MB Notification: Performance of matching and sorting (n=18): time 0.001711/0.2796, allocations: 0.7942 MB / 427.5 MB, free: 8.715 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.762e-05/0.2797, allocations: 59.34 kB / 427.5 MB, free: 8.645 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002008/0.2799, allocations: 162.2 kB / 427.7 MB, free: 8.477 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.67e-05/0.2799, allocations: 29.7 kB / 427.7 MB, free: 8.441 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001842/0.2801, allocations: 132.4 kB / 427.9 MB, free: 8.309 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.48e-05/0.2802, allocations: 67.44 kB / 427.9 MB, free: 8.242 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.414e-05/0.2802, allocations: 33.7 kB / 428 MB, free: 8.203 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001908/0.2804, allocations: 330.8 kB / 428.3 MB, free: 7.871 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001085/0.2805, allocations: 43.97 kB / 428.3 MB, free: 7.828 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001454/0.2807, allocations: 86.41 kB / 428.4 MB, free: 7.734 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002472/0.2809, allocations: 127.3 kB / 428.5 MB, free: 7.598 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.102e-06/0.2809, allocations: 0 / 428.5 MB, free: 7.598 MB / 334.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004289/0.2814, allocations: 218 kB / 428.7 MB, free: 7.379 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.305e-05/0.2814, allocations: 4 kB / 428.7 MB, free: 7.375 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.647e-06/0.2814, allocations: 0 / 428.7 MB, free: 7.375 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002196/0.2816, allocations: 44.83 kB / 428.8 MB, free: 7.328 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001932/0.2818, allocations: 35.92 kB / 428.8 MB, free: 7.293 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001848/0.2837, allocations: 1.528 MB / 430.3 MB, free: 5.621 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.568e-05/0.2838, allocations: 11.94 kB / 430.4 MB, free: 5.609 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.457e-05/0.2838, allocations: 4 kB / 430.4 MB, free: 5.605 MB / 334.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.0001796/0.284, allocations: 137.8 kB / 430.5 MB, free: 5.461 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.555e-05/0.284, allocations: 19.89 kB / 430.5 MB, free: 5.441 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.6e-05/0.284, allocations: 17.19 kB / 430.5 MB, free: 5.426 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.774e-06/0.284, allocations: 0 / 430.5 MB, free: 5.426 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.23e-06/0.284, allocations: 0 / 430.5 MB, free: 5.426 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.673e-06/0.2841, allocations: 3.938 kB / 430.5 MB, free: 5.422 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009842/0.285, allocations: 0.6035 MB / 431.1 MB, free: 4.75 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.194e-06/0.285, allocations: 0 / 431.1 MB, free: 4.75 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001606/0.2852, allocations: 23.98 kB / 431.2 MB, free: 4.727 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001245/0.2853, allocations: 28.84 kB / 431.2 MB, free: 4.695 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.903e-05/0.2854, allocations: 11.94 kB / 431.2 MB, free: 4.684 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00154/0.2869, allocations: 1.473 MB / 432.7 MB, free: 3.066 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.2869, allocations: 32 / 432.7 MB, free: 3.066 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005574/0.2875, allocations: 351 kB / 433 MB, free: 2.707 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.949e-05/0.2875, allocations: 89.05 kB / 433.1 MB, free: 2.602 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.97e-05/0.2875, allocations: 4 kB / 433.1 MB, free: 2.598 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000106/0.2877, allocations: 7.984 kB / 433.1 MB, free: 2.59 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.191e-05/0.2877, allocations: 11.98 kB / 433.1 MB, free: 2.578 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.055e-05/0.2877, allocations: 4 kB / 433.1 MB, free: 2.574 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001312/0.2878, allocations: 127.2 kB / 433.3 MB, free: 2.449 MB / 334.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.2878, allocations: 0 / 433.3 MB, free: 2.449 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004074/0.2883, allocations: 44 kB / 433.3 MB, free: 2.406 MB / 334.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.0001747/0.2884, allocations: 99.72 kB / 433.4 MB, free: 2.301 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0005789/0.289, allocations: 258.4 kB / 433.7 MB, free: 2.035 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 4.298e-06/0.289, allocations: 4.125 kB / 433.7 MB, free: 2.031 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002696/0.2893, allocations: 178.6 kB / 433.8 MB, free: 1.844 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003811/0.2897, allocations: 23.98 kB / 433.9 MB, free: 1.82 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001063/0.2907, allocations: 0.5198 MB / 434.4 MB, free: 1.27 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004898/0.2912, allocations: 0.732 MB / 435.1 MB, free: 0.5117 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.869e-05/0.2913, allocations: 15.44 kB / 435.1 MB, free: 0.4961 MB / 334.1 MB Notification: Performance of SimCode: time 4.21e-07/0.2913, allocations: 4 kB / 435.1 MB, free: 0.4922 MB / 334.1 MB Notification: Performance of Templates: time 0.006221/0.2975, allocations: 2.894 MB / 438 MB, free: 13.59 MB / 350.1 MB [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.RollingWheel.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.RollingWheel.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.RollingWheel.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.RollingWheel.pipe >> ../files/Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.RollingWheel.sim & ./Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.RollingWheel -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.RollingWheel.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.RollingWheel_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/Rotational/Examples/RollingWheel/RollingWheel.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.RollingWheel.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] [Timeout remaining time 660] Reference file matches