Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.Rotational.Examples.RollingWheel.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001515/0.001515, allocations: 111.1 kB / 20.44 MB, free: 1.062 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00187/0.00187, allocations: 210.9 kB / 23.73 MB, free: 4.16 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.52/1.52, allocations: 230.5 MB / 257.4 MB, free: 7.789 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Mechanics.Rotational.Examples.RollingWheel") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.003124/0.003124, allocations: 63.89 kB / 378.2 MB, free: 2.297 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.267/0.2701, allocations: 53.41 MB / 431.6 MB, free: 6.488 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.RollingWheel): time 0.00345/0.2736, allocations: 2.024 MB / 433.6 MB, free: 4.457 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001059/0.2747, allocations: 0.5492 MB / 434.2 MB, free: 3.902 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001109/0.2748, allocations: 8 kB / 434.2 MB, free: 3.895 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001547/0.2749, allocations: 35.66 kB / 434.2 MB, free: 3.859 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001113/0.275, allocations: 55.55 kB / 434.3 MB, free: 3.805 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001755/0.2752, allocations: 51.89 kB / 434.3 MB, free: 3.754 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002582/0.2755, allocations: 207.1 kB / 434.5 MB, free: 3.551 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001515/0.2756, allocations: 45.72 kB / 434.6 MB, free: 3.504 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001082/0.2757, allocations: 75.78 kB / 434.7 MB, free: 3.43 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001302/0.2759, allocations: 75.62 kB / 434.7 MB, free: 3.355 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.543e-05/0.2759, allocations: 16 kB / 434.8 MB, free: 3.34 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.659e-05/0.2759, allocations: 16 kB / 434.8 MB, free: 3.324 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 4.385e-05/0.276, allocations: 39.84 kB / 434.8 MB, free: 3.285 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 8.751e-05/0.2761, allocations: 79.61 kB / 434.9 MB, free: 3.207 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000272/0.2763, allocations: 217.4 kB / 435.1 MB, free: 3 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.2763, allocations: 0 / 435.1 MB, free: 3 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.2763, allocations: 0 / 435.1 MB, free: 3 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.421e-06/0.2763, allocations: 0 / 435.1 MB, free: 3 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.0007152/0.2771, allocations: 405.5 kB / 435.5 MB, free: 2.574 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.577e-05/0.2771, allocations: 11.98 kB / 435.5 MB, free: 2.562 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.406e-05/0.2771, allocations: 20.84 kB / 435.5 MB, free: 2.543 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002844/0.2774, allocations: 166.2 kB / 435.7 MB, free: 2.355 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.15e-05/0.2775, allocations: 16.16 kB / 435.7 MB, free: 2.34 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.868e-05/0.2775, allocations: 16.38 kB / 435.7 MB, free: 2.324 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003192/0.2778, allocations: 149.9 kB / 435.9 MB, free: 2.172 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.6e-05/0.2778, allocations: 0 / 435.9 MB, free: 2.172 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.695e-05/0.2778, allocations: 7.938 kB / 435.9 MB, free: 2.164 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.633e-06/0.2779, allocations: 8 kB / 435.9 MB, free: 2.156 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002453/0.2781, allocations: 107.7 kB / 436 MB, free: 2.051 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008219/0.2789, allocations: 490.8 kB / 436.5 MB, free: 1.535 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002466/0.2792, allocations: 110.6 kB / 436.6 MB, free: 1.418 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.755e-05/0.2793, allocations: 40.84 kB / 436.6 MB, free: 1.375 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.871e-05/0.2793, allocations: 0 / 436.6 MB, free: 1.375 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.992e-05/0.2793, allocations: 34.5 kB / 436.7 MB, free: 1.332 MB / 334.1 MB Notification: Performance of pre-optimization done (n=13): time 1.062e-06/0.2793, allocations: 8 kB / 436.7 MB, free: 1.324 MB / 334.1 MB Notification: Performance of matching and sorting (n=18): time 0.001531/0.2808, allocations: 0.645 MB / 437.3 MB, free: 0.6289 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.258e-05/0.2809, allocations: 59.41 kB / 437.4 MB, free: 0.5586 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000127/0.281, allocations: 140.5 kB / 437.5 MB, free: 424 kB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.966e-05/0.281, allocations: 25.7 kB / 437.5 MB, free: 392 kB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.715e-05/0.2811, allocations: 136.5 kB / 437.7 MB, free: 252 kB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.624e-05/0.2812, allocations: 67.38 kB / 437.7 MB, free: 184 kB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.238e-05/0.2812, allocations: 37.7 kB / 437.8 MB, free: 140 kB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001538/0.2814, allocations: 326.8 kB / 438.1 MB, free: 15.81 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001074/0.2815, allocations: 43.92 kB / 438.1 MB, free: 15.77 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000138/0.2816, allocations: 90.66 kB / 438.2 MB, free: 15.67 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002342/0.2819, allocations: 123.4 kB / 438.3 MB, free: 15.54 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.172e-06/0.2819, allocations: 0 / 438.3 MB, free: 15.54 MB / 350.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0003973/0.2823, allocations: 210.2 kB / 438.5 MB, free: 15.32 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.752e-05/0.2823, allocations: 11.92 kB / 438.5 MB, free: 15.31 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.749e-06/0.2823, allocations: 0 / 438.5 MB, free: 15.31 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001776/0.2825, allocations: 36.78 kB / 438.6 MB, free: 15.27 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001537/0.2826, allocations: 31.98 kB / 438.6 MB, free: 15.24 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001332/0.284, allocations: 1.398 MB / 440 MB, free: 13.74 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.565e-05/0.284, allocations: 12.2 kB / 440 MB, free: 13.73 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.47e-05/0.2841, allocations: 7.984 kB / 440 MB, free: 13.72 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.000134/0.2842, allocations: 137.7 kB / 440.2 MB, free: 13.57 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.623e-05/0.2842, allocations: 11.95 kB / 440.2 MB, free: 13.56 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.549e-05/0.2843, allocations: 21.12 kB / 440.2 MB, free: 13.54 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.864e-06/0.2843, allocations: 0 / 440.2 MB, free: 13.54 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/0.2843, allocations: 8.062 kB / 440.2 MB, free: 13.54 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.69e-06/0.2843, allocations: 3.984 kB / 440.2 MB, free: 13.53 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000799/0.2851, allocations: 0.4977 MB / 440.7 MB, free: 12.98 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.294e-06/0.2851, allocations: 0 / 440.7 MB, free: 12.98 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000153/0.2852, allocations: 31.92 kB / 440.7 MB, free: 12.95 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001212/0.2854, allocations: 32.83 kB / 440.8 MB, free: 12.92 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.349e-05/0.2854, allocations: 4 kB / 440.8 MB, free: 12.91 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001196/0.2866, allocations: 1.343 MB / 442.1 MB, free: 11.46 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.099e-06/0.2866, allocations: 7.922 kB / 442.1 MB, free: 11.45 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005131/0.2871, allocations: 332.1 kB / 442.5 MB, free: 11.11 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.37e-05/0.2871, allocations: 15.88 kB / 442.5 MB, free: 11.09 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.154e-05/0.2871, allocations: 11.92 kB / 442.5 MB, free: 11.08 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.975e-05/0.2872, allocations: 12.12 kB / 442.5 MB, free: 11.07 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.035e-05/0.2873, allocations: 11.97 kB / 442.5 MB, free: 11.06 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.237e-06/0.2873, allocations: 4 kB / 442.5 MB, free: 11.05 MB / 350.1 MB Notification: Performance of sorting global known variables: time 8.091e-05/0.2874, allocations: 106 kB / 442.6 MB, free: 10.95 MB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.2874, allocations: 0 / 442.6 MB, free: 10.95 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003022/0.2877, allocations: 44 kB / 442.7 MB, free: 10.91 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.0001156/0.2878, allocations: 99.19 kB / 442.7 MB, free: 10.8 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0005181/0.2883, allocations: 257.4 kB / 443 MB, free: 10.54 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.2883, allocations: 0 / 443 MB, free: 10.54 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002683/0.2886, allocations: 182.6 kB / 443.2 MB, free: 10.35 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003357/0.2889, allocations: 27.98 kB / 443.2 MB, free: 10.32 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009142/0.2898, allocations: 0.5039 MB / 443.7 MB, free: 9.797 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001183/0.2899, allocations: 116.2 kB / 443.8 MB, free: 9.664 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.468e-05/0.29, allocations: 13.42 kB / 443.8 MB, free: 9.648 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.072e-05/0.29, allocations: 15.44 kB / 443.9 MB, free: 9.633 MB / 350.1 MB Notification: Performance of SimCode: time 3.41e-07/0.29, allocations: 0 / 443.9 MB, free: 9.633 MB / 350.1 MB Notification: Performance of Templates: time 0.00566/0.2957, allocations: 2.001 MB / 445.9 MB, free: 7.664 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Mechanics.Rotational.Examples.RollingWheel.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Mechanics.Rotational.Examples.RollingWheel.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.Rotational.Examples.RollingWheel.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.Rotational.Examples.RollingWheel.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.Rotational.Examples.RollingWheel.sim & ./Modelica_trunk_Modelica.Mechanics.Rotational.Examples.RollingWheel -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.Rotational.Examples.RollingWheel.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Mechanics.Rotational.Examples.RollingWheel_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/Rotational/Examples/RollingWheel/RollingWheel.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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: 4.4531661327928305]