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 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001331/0.001331, allocations: 96.03 kB / 21.18 MB, free: 0.5312 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001386/0.001386, allocations: 187 kB / 24.46 MB, free: 3.863 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.427/1.427, allocations: 225.7 MB / 253.3 MB, free: 12.83 MB / 206.1 MB " [Timeout remaining time 178] 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.00185/0.00185, allocations: 47.92 kB / 371.6 MB, free: 9.195 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2683/0.2701, allocations: 52.18 MB / 423.8 MB, free: 14.47 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.RollingWheel): time 0.003732/0.2739, allocations: 2.023 MB / 425.8 MB, free: 12.44 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001138/0.275, allocations: 0.5182 MB / 426.3 MB, free: 11.91 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002216/0.2752, allocations: 4 kB / 426.4 MB, free: 11.91 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002103/0.2754, allocations: 35.64 kB / 426.4 MB, free: 11.88 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001815/0.2756, allocations: 47.56 kB / 426.4 MB, free: 11.83 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002437/0.2759, allocations: 59.81 kB / 426.5 MB, free: 11.77 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003178/0.2762, allocations: 207.1 kB / 426.7 MB, free: 11.57 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001853/0.2764, allocations: 53.77 kB / 426.7 MB, free: 11.51 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001436/0.2765, allocations: 75.72 kB / 426.8 MB, free: 11.44 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001611/0.2767, allocations: 75.61 kB / 426.9 MB, free: 11.36 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.787e-05/0.2767, allocations: 16 kB / 426.9 MB, free: 11.35 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.991e-05/0.2767, allocations: 16 kB / 426.9 MB, free: 11.33 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 4.336e-05/0.2768, allocations: 35.91 kB / 427 MB, free: 11.3 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 9.143e-05/0.2769, allocations: 71.67 kB / 427 MB, free: 11.23 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003015/0.2772, allocations: 221.7 kB / 427.2 MB, free: 11.02 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.976e-06/0.2772, allocations: 0 / 427.2 MB, free: 11.02 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.833e-06/0.2772, allocations: 4 kB / 427.3 MB, free: 11.01 MB / 334.1 MB Notification: Performance of Transformations before backend: time 9.878e-06/0.2772, allocations: 3.938 kB / 427.3 MB, free: 11.01 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.0007209/0.2779, allocations: 397.5 kB / 427.6 MB, free: 10.59 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.933e-05/0.2779, allocations: 12.02 kB / 427.7 MB, free: 10.58 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.607e-05/0.278, allocations: 24.8 kB / 427.7 MB, free: 10.55 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003202/0.2783, allocations: 162.2 kB / 427.8 MB, free: 10.37 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.263e-05/0.2784, allocations: 16.38 kB / 427.9 MB, free: 10.36 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.015e-05/0.2784, allocations: 20.38 kB / 427.9 MB, free: 10.34 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003369/0.2787, allocations: 149.9 kB / 428 MB, free: 10.18 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.977e-05/0.2788, allocations: 4 kB / 428 MB, free: 10.18 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.081e-05/0.2788, allocations: 8 kB / 428 MB, free: 10.17 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.953e-06/0.2788, allocations: 4 kB / 428 MB, free: 10.17 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002436/0.279, allocations: 103.7 kB / 428.1 MB, free: 10.07 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008706/0.2799, allocations: 486.8 kB / 428.6 MB, free: 9.555 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002455/0.2801, allocations: 106.6 kB / 428.7 MB, free: 9.441 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.483e-05/0.2802, allocations: 44.83 kB / 428.8 MB, free: 9.395 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.88e-05/0.2803, allocations: 0 / 428.8 MB, free: 9.395 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.844e-05/0.2803, allocations: 38.5 kB / 428.8 MB, free: 9.348 MB / 334.1 MB Notification: Performance of pre-optimization done (n=13): time 1.273e-06/0.2803, allocations: 0 / 428.8 MB, free: 9.348 MB / 334.1 MB Notification: Performance of matching and sorting (n=18): time 0.001551/0.2818, allocations: 0.659 MB / 429.5 MB, free: 8.633 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.093e-05/0.2819, allocations: 51.41 kB / 429.5 MB, free: 8.57 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001365/0.282, allocations: 140.4 kB / 429.6 MB, free: 8.426 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.46e-05/0.282, allocations: 33.7 kB / 429.7 MB, free: 8.387 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.371e-05/0.2821, allocations: 132.4 kB / 429.8 MB, free: 8.254 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.876e-05/0.2822, allocations: 71.36 kB / 429.9 MB, free: 8.184 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.239e-05/0.2823, allocations: 33.72 kB / 429.9 MB, free: 8.145 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001411/0.2824, allocations: 322.8 kB / 430.2 MB, free: 7.82 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001063/0.2825, allocations: 43.92 kB / 430.3 MB, free: 7.777 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001307/0.2826, allocations: 85.28 kB / 430.3 MB, free: 7.684 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002379/0.2829, allocations: 127.3 kB / 430.5 MB, free: 7.547 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.2829, allocations: 0 / 430.5 MB, free: 7.547 MB / 334.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004018/0.2833, allocations: 198.3 kB / 430.7 MB, free: 7.344 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.042e-05/0.2833, allocations: 7.938 kB / 430.7 MB, free: 7.336 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.58e-06/0.2833, allocations: 0 / 430.7 MB, free: 7.336 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001786/0.2835, allocations: 44.89 kB / 430.7 MB, free: 7.289 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001565/0.2836, allocations: 35.92 kB / 430.8 MB, free: 7.254 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001399/0.285, allocations: 1.401 MB / 432.2 MB, free: 5.75 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.581e-05/0.2851, allocations: 8.031 kB / 432.2 MB, free: 5.742 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.03e-05/0.2851, allocations: 8 kB / 432.2 MB, free: 5.734 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.0001385/0.2853, allocations: 137.8 kB / 432.3 MB, free: 5.59 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.147e-05/0.2853, allocations: 15.89 kB / 432.3 MB, free: 5.574 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.686e-05/0.2854, allocations: 21.06 kB / 432.3 MB, free: 5.551 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.953e-06/0.2854, allocations: 0 / 432.3 MB, free: 5.551 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.399e-06/0.2854, allocations: 4 kB / 432.3 MB, free: 5.547 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.096e-06/0.2854, allocations: 0 / 432.3 MB, free: 5.547 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008362/0.2862, allocations: 0.5011 MB / 432.8 MB, free: 5 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.154e-06/0.2862, allocations: 0 / 432.8 MB, free: 5 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001541/0.2864, allocations: 36.11 kB / 432.9 MB, free: 4.965 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001209/0.2865, allocations: 36.88 kB / 432.9 MB, free: 4.926 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.474e-05/0.2865, allocations: 4 kB / 432.9 MB, free: 4.922 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001207/0.2877, allocations: 1.348 MB / 434.3 MB, free: 3.465 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.717e-06/0.2877, allocations: 3.938 kB / 434.3 MB, free: 3.461 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005246/0.2882, allocations: 336.1 kB / 434.6 MB, free: 3.113 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.175e-05/0.2883, allocations: 11.92 kB / 434.6 MB, free: 3.102 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.811e-05/0.2883, allocations: 0 / 434.6 MB, free: 3.102 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001016/0.2884, allocations: 8 kB / 434.6 MB, free: 3.094 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.999e-05/0.2884, allocations: 11.97 kB / 434.6 MB, free: 3.082 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.164e-05/0.2885, allocations: 8 kB / 434.6 MB, free: 3.074 MB / 334.1 MB Notification: Performance of sorting global known variables: time 9.028e-05/0.2885, allocations: 107.2 kB / 434.7 MB, free: 2.969 MB / 334.1 MB Notification: Performance of sort global known variables: time 1e-07/0.2885, allocations: 3.938 kB / 434.7 MB, free: 2.965 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003118/0.2889, allocations: 40 kB / 434.8 MB, free: 2.926 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.0001483/0.289, allocations: 103.3 kB / 434.9 MB, free: 2.816 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.00053/0.2895, allocations: 242.5 kB / 435.1 MB, free: 2.566 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 4.349e-06/0.2895, allocations: 4 kB / 435.1 MB, free: 2.562 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002721/0.2898, allocations: 190.5 kB / 435.3 MB, free: 2.363 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003518/0.2902, allocations: 30.03 kB / 435.3 MB, free: 2.34 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001003/0.2912, allocations: 0.5236 MB / 435.9 MB, free: 1.789 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001285/0.2913, allocations: 116.2 kB / 436 MB, free: 1.656 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.604e-05/0.2913, allocations: 19.42 kB / 436 MB, free: 1.641 MB / 334.1 MB Notification: Performance of SimCode: time 4.01e-07/0.2913, allocations: 4 kB / 436 MB, free: 1.637 MB / 334.1 MB Notification: Performance of Templates: time 0.005604/0.2969, allocations: 2.909 MB / 438.9 MB, free: 14.73 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 [Calling sys.exit(0), Time elapsed: 7.382717587985098]