Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.RollingWheel.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001688/0.001688, allocations: 103.6 kB / 21.18 MB, free: 0.6445 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001499/0.001499, allocations: 210 kB / 24.48 MB, free: 3.938 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.488/1.488, allocations: 230.6 MB / 258.2 MB, free: 7.789 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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.1.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.1.0_Modelica.Mechanics.Rotational.Examples.RollingWheel") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001621/0.001621, allocations: 51.92 kB / 379 MB, free: 2.496 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2708/0.2724, allocations: 53.37 MB / 432.3 MB, free: 6.73 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.RollingWheel): time 0.004236/0.2767, allocations: 2.023 MB / 434.3 MB, free: 4.703 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001318/0.278, allocations: 0.5493 MB / 434.9 MB, free: 4.148 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001958/0.2782, allocations: 8 kB / 434.9 MB, free: 4.141 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001835/0.2784, allocations: 35.66 kB / 434.9 MB, free: 4.105 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001416/0.2785, allocations: 59.42 kB / 435 MB, free: 4.047 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002265/0.2787, allocations: 47.95 kB / 435 MB, free: 4 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002773/0.279, allocations: 211 kB / 435.3 MB, free: 3.793 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001707/0.2792, allocations: 45.78 kB / 435.3 MB, free: 3.746 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001021/0.2793, allocations: 71.78 kB / 435.4 MB, free: 3.676 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001364/0.2794, allocations: 75.62 kB / 435.4 MB, free: 3.602 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.681e-05/0.2794, allocations: 20 kB / 435.5 MB, free: 3.582 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.262e-05/0.2795, allocations: 16 kB / 435.5 MB, free: 3.566 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 4.867e-05/0.2795, allocations: 43.78 kB / 435.5 MB, free: 3.523 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 8.841e-05/0.2796, allocations: 75.66 kB / 435.6 MB, free: 3.449 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002904/0.2799, allocations: 213.8 kB / 435.8 MB, free: 3.246 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.048e-06/0.2799, allocations: 0 / 435.8 MB, free: 3.246 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.403e-06/0.2799, allocations: 0 / 435.8 MB, free: 3.246 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.001e-06/0.2799, allocations: 4 kB / 435.8 MB, free: 3.242 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.0007113/0.2806, allocations: 401.5 kB / 436.2 MB, free: 2.82 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.877e-05/0.2807, allocations: 12.03 kB / 436.2 MB, free: 2.809 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.895e-05/0.2807, allocations: 16.84 kB / 436.2 MB, free: 2.793 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003644/0.2811, allocations: 166.2 kB / 436.4 MB, free: 2.605 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.712e-05/0.2811, allocations: 16.16 kB / 436.4 MB, free: 2.59 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.371e-05/0.2812, allocations: 20.38 kB / 436.4 MB, free: 2.57 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003148/0.2815, allocations: 145.9 kB / 436.6 MB, free: 2.422 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.393e-05/0.2815, allocations: 7.938 kB / 436.6 MB, free: 2.414 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.783e-05/0.2815, allocations: 4 kB / 436.6 MB, free: 2.41 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.218e-06/0.2815, allocations: 11.98 kB / 436.6 MB, free: 2.398 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002381/0.2818, allocations: 103.7 kB / 436.7 MB, free: 2.297 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008636/0.2826, allocations: 498.8 kB / 437.2 MB, free: 1.773 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002452/0.2829, allocations: 106.6 kB / 437.3 MB, free: 1.66 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.012e-05/0.283, allocations: 36.84 kB / 437.3 MB, free: 1.621 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.112e-05/0.283, allocations: 7.938 kB / 437.3 MB, free: 1.613 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.587e-05/0.283, allocations: 34.56 kB / 437.4 MB, free: 1.57 MB / 334.1 MB Notification: Performance of pre-optimization done (n=13): time 1.212e-06/0.283, allocations: 0 / 437.4 MB, free: 1.57 MB / 334.1 MB Notification: Performance of matching and sorting (n=18): time 0.001578/0.2846, allocations: 0.6392 MB / 438 MB, free: 0.875 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.302e-05/0.2846, allocations: 55.41 kB / 438.1 MB, free: 0.8086 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000143/0.2848, allocations: 144.4 kB / 438.2 MB, free: 0.6602 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.234e-05/0.2848, allocations: 29.64 kB / 438.2 MB, free: 0.625 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.675e-05/0.2849, allocations: 136.5 kB / 438.4 MB, free: 500 kB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.489e-05/0.2849, allocations: 67.38 kB / 438.4 MB, free: 432 kB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.218e-05/0.285, allocations: 37.7 kB / 438.5 MB, free: 388 kB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001607/0.2852, allocations: 330.8 kB / 438.8 MB, free: 48 kB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000106/0.2853, allocations: 43.92 kB / 438.8 MB, free: 4 kB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001508/0.2854, allocations: 75.42 kB / 438.9 MB, free: 15.91 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002402/0.2857, allocations: 125.5 kB / 439 MB, free: 15.78 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.216e-06/0.2857, allocations: 11.94 kB / 439 MB, free: 15.77 MB / 350.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0003965/0.2861, allocations: 202.3 kB / 439.2 MB, free: 15.56 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.744e-05/0.2861, allocations: 10.44 kB / 439.2 MB, free: 15.55 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.801e-06/0.2861, allocations: 4 kB / 439.2 MB, free: 15.55 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000171/0.2863, allocations: 40.78 kB / 439.3 MB, free: 15.51 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001637/0.2864, allocations: 31.97 kB / 439.3 MB, free: 15.48 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001458/0.2879, allocations: 1.402 MB / 440.7 MB, free: 13.97 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.462e-05/0.288, allocations: 15.97 kB / 440.7 MB, free: 13.96 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.281e-05/0.288, allocations: 4 kB / 440.7 MB, free: 13.95 MB / 350.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.0001281/0.2881, allocations: 133.7 kB / 440.9 MB, free: 13.81 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.59e-05/0.2881, allocations: 11.95 kB / 440.9 MB, free: 13.8 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.31e-05/0.2882, allocations: 17.12 kB / 440.9 MB, free: 13.79 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.078e-06/0.2882, allocations: 4.062 kB / 440.9 MB, free: 13.78 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.256e-06/0.2882, allocations: 4 kB / 440.9 MB, free: 13.78 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.083e-06/0.2882, allocations: 3.984 kB / 440.9 MB, free: 13.77 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008113/0.289, allocations: 0.4976 MB / 441.4 MB, free: 13.23 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.289, allocations: 0 / 441.4 MB, free: 13.23 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000153/0.2892, allocations: 31.92 kB / 441.4 MB, free: 13.2 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000114/0.2893, allocations: 32.83 kB / 441.5 MB, free: 13.16 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.333e-05/0.2893, allocations: 8 kB / 441.5 MB, free: 13.16 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001236/0.2905, allocations: 1.343 MB / 442.8 MB, free: 11.7 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.116e-06/0.2905, allocations: 3.938 kB / 442.8 MB, free: 11.7 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005443/0.2911, allocations: 332.1 kB / 443.1 MB, free: 11.36 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.332e-05/0.2911, allocations: 20 kB / 443.2 MB, free: 11.34 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.222e-05/0.2911, allocations: 8 kB / 443.2 MB, free: 11.33 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001029/0.2912, allocations: 20.05 kB / 443.2 MB, free: 11.31 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.953e-05/0.2913, allocations: 15.97 kB / 443.2 MB, free: 11.29 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.414e-06/0.2913, allocations: 0 / 443.2 MB, free: 11.29 MB / 350.1 MB Notification: Performance of sorting global known variables: time 8.805e-05/0.2914, allocations: 106 kB / 443.3 MB, free: 11.19 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2914, allocations: 0 / 443.3 MB, free: 11.19 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003085/0.2917, allocations: 48 kB / 443.4 MB, free: 11.14 MB / 350.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.0001169/0.2918, allocations: 95.25 kB / 443.5 MB, free: 11.04 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0005192/0.2923, allocations: 257.7 kB / 443.7 MB, free: 10.78 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.2923, allocations: 0 / 443.7 MB, free: 10.78 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002861/0.2926, allocations: 182.6 kB / 443.9 MB, free: 10.59 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003469/0.2929, allocations: 23.92 kB / 443.9 MB, free: 10.57 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001024/0.294, allocations: 0.5328 MB / 444.4 MB, free: 10 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001461/0.2941, allocations: 116.2 kB / 444.6 MB, free: 9.871 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.056e-05/0.2942, allocations: 19.44 kB / 444.6 MB, free: 9.855 MB / 350.1 MB Notification: Performance of SimCode: time 3.21e-07/0.2942, allocations: 0 / 444.6 MB, free: 9.855 MB / 350.1 MB Notification: Performance of Templates: time 0.005452/0.2996, allocations: 2.908 MB / 447.5 MB, free: 6.945 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.RollingWheel.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.RollingWheel.pipe ; mkfifo Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.RollingWheel.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.RollingWheel.pipe >> ../files/Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.RollingWheel.sim & ./Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.RollingWheel -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.RollingWheel.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.RollingWheel_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/Rotational/Examples/RollingWheel/RollingWheel.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.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.37688325624913]