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.001841/0.001841, allocations: 110.5 kB / 21.23 MB, free: 0.6641 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.002285/0.002285, allocations: 211.9 kB / 24.54 MB, free: 4.02 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.47/1.47, allocations: 230.3 MB / 258 MB, free: 8.23 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.002575/0.002575, allocations: 68.12 kB / 378.7 MB, free: 2.797 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2535/0.2561, allocations: 53.37 MB / 432.1 MB, free: 7.094 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.RollingWheel): time 0.003443/0.2596, allocations: 2.141 MB / 434.2 MB, free: 4.945 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001038/0.2606, allocations: 0.592 MB / 434.8 MB, free: 4.348 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001058/0.2607, allocations: 7.938 kB / 434.8 MB, free: 4.34 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000145/0.2609, allocations: 35.66 kB / 434.9 MB, free: 4.305 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001035/0.261, allocations: 51.56 kB / 434.9 MB, free: 4.254 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001691/0.2611, allocations: 55.86 kB / 435 MB, free: 4.199 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000254/0.2614, allocations: 203.1 kB / 435.2 MB, free: 4 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001476/0.2615, allocations: 53.78 kB / 435.2 MB, free: 3.945 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000115/0.2616, allocations: 83.66 kB / 435.3 MB, free: 3.863 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001418/0.2618, allocations: 83.62 kB / 435.4 MB, free: 3.781 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.643e-05/0.2618, allocations: 16 kB / 435.4 MB, free: 3.766 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.896e-05/0.2619, allocations: 16 kB / 435.4 MB, free: 3.75 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 4.535e-05/0.2619, allocations: 39.84 kB / 435.5 MB, free: 3.711 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001116/0.262, allocations: 91.59 kB / 435.6 MB, free: 3.621 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002854/0.2623, allocations: 212.8 kB / 435.8 MB, free: 3.418 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.2623, allocations: 0 / 435.8 MB, free: 3.418 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.292e-06/0.2623, allocations: 0 / 435.8 MB, free: 3.418 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.851e-06/0.2623, allocations: 0 / 435.8 MB, free: 3.418 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.0007158/0.263, allocations: 401.5 kB / 436.2 MB, free: 2.996 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.057e-05/0.2631, allocations: 8.031 kB / 436.2 MB, free: 2.988 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.343e-05/0.2631, allocations: 24.78 kB / 436.2 MB, free: 2.965 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002658/0.2634, allocations: 164.7 kB / 436.4 MB, free: 2.781 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.109e-05/0.2634, allocations: 16.16 kB / 436.4 MB, free: 2.766 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.455e-05/0.2635, allocations: 24.31 kB / 436.4 MB, free: 2.742 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003338/0.2638, allocations: 153.9 kB / 436.5 MB, free: 2.586 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.922e-05/0.2638, allocations: 3.984 kB / 436.5 MB, free: 2.582 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.178e-05/0.2638, allocations: 12 kB / 436.6 MB, free: 2.57 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.873e-06/0.2638, allocations: 4 kB / 436.6 MB, free: 2.566 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002478/0.2641, allocations: 99.72 kB / 436.7 MB, free: 2.469 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009032/0.265, allocations: 0.5529 MB / 437.2 MB, free: 1.867 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002516/0.2652, allocations: 110.6 kB / 437.3 MB, free: 1.75 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.647e-05/0.2653, allocations: 40.84 kB / 437.4 MB, free: 1.707 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.701e-05/0.2654, allocations: 0 / 437.4 MB, free: 1.707 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.048e-05/0.2654, allocations: 34.56 kB / 437.4 MB, free: 1.664 MB / 334.1 MB Notification: Performance of pre-optimization done (n=13): time 9.31e-07/0.2654, allocations: 0 / 437.4 MB, free: 1.664 MB / 334.1 MB Notification: Performance of matching and sorting (n=18): time 0.001506/0.2669, allocations: 0.6543 MB / 438.1 MB, free: 0.957 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.998e-05/0.2669, allocations: 55.41 kB / 438.1 MB, free: 0.8906 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001572/0.2671, allocations: 166.8 kB / 438.3 MB, free: 0.7188 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.096e-05/0.2671, allocations: 29.7 kB / 438.3 MB, free: 0.6836 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.482e-05/0.2672, allocations: 128.4 kB / 438.4 MB, free: 0.5547 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.592e-05/0.2673, allocations: 71.41 kB / 438.5 MB, free: 496 kB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.344e-05/0.2674, allocations: 33.72 kB / 438.5 MB, free: 456 kB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001749/0.2675, allocations: 334.7 kB / 438.9 MB, free: 112 kB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001081/0.2676, allocations: 39.98 kB / 438.9 MB, free: 72 kB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001487/0.2678, allocations: 86.97 kB / 439 MB, free: 15.98 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002524/0.268, allocations: 131.3 kB / 439.1 MB, free: 15.84 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.042e-06/0.268, allocations: 0 / 439.1 MB, free: 15.84 MB / 350.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004707/0.2685, allocations: 202.2 kB / 439.3 MB, free: 15.63 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.566e-05/0.2685, allocations: 8 kB / 439.3 MB, free: 15.62 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.769e-06/0.2685, allocations: 0 / 439.3 MB, free: 15.62 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001805/0.2687, allocations: 40.83 kB / 439.3 MB, free: 15.58 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001631/0.2689, allocations: 35.92 kB / 439.4 MB, free: 15.54 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001351/0.2702, allocations: 1.424 MB / 440.8 MB, free: 14 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.088e-05/0.2703, allocations: 19.86 kB / 440.8 MB, free: 13.98 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.527e-05/0.2703, allocations: 4 kB / 440.8 MB, free: 13.98 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.0001237/0.2705, allocations: 133.9 kB / 441 MB, free: 13.84 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.126e-05/0.2705, allocations: 15.91 kB / 441 MB, free: 13.82 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.319e-05/0.2705, allocations: 13.12 kB / 441 MB, free: 13.81 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.774e-06/0.2705, allocations: 7.938 kB / 441 MB, free: 13.8 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.985e-06/0.2705, allocations: 0 / 441 MB, free: 13.8 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.596e-06/0.2705, allocations: 7.922 kB / 441 MB, free: 13.8 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008359/0.2714, allocations: 0.5621 MB / 441.6 MB, free: 13.18 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.064e-06/0.2714, allocations: 192 / 441.6 MB, free: 13.18 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001542/0.2715, allocations: 27.98 kB / 441.6 MB, free: 13.15 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001151/0.2717, allocations: 32.83 kB / 441.6 MB, free: 13.11 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.611e-05/0.2717, allocations: 8 kB / 441.6 MB, free: 13.11 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001203/0.2729, allocations: 1.377 MB / 443 MB, free: 11.61 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.2729, allocations: 0 / 443 MB, free: 11.61 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005262/0.2734, allocations: 344 kB / 443.3 MB, free: 11.25 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.21e-05/0.2734, allocations: 7.984 kB / 443.4 MB, free: 11.25 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.274e-05/0.2734, allocations: 4 kB / 443.4 MB, free: 11.24 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000103/0.2736, allocations: 8 kB / 443.4 MB, free: 11.23 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.124e-05/0.2736, allocations: 11.97 kB / 443.4 MB, free: 11.22 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.548e-06/0.2736, allocations: 8.062 kB / 443.4 MB, free: 11.21 MB / 350.1 MB Notification: Performance of sorting global known variables: time 9.598e-05/0.2737, allocations: 119.2 kB / 443.5 MB, free: 11.1 MB / 350.1 MB Notification: Performance of sort global known variables: time 5e-08/0.2737, allocations: 0 / 443.5 MB, free: 11.1 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002876/0.274, allocations: 47.94 kB / 443.6 MB, free: 11.05 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.0001113/0.2741, allocations: 103.2 kB / 443.7 MB, free: 10.94 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004889/0.2746, allocations: 253.7 kB / 443.9 MB, free: 10.68 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.2746, allocations: 0 / 443.9 MB, free: 10.68 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000271/0.2749, allocations: 182.6 kB / 444.1 MB, free: 10.49 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003497/0.2752, allocations: 37.08 kB / 444.1 MB, free: 10.46 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008957/0.2761, allocations: 0.4922 MB / 444.6 MB, free: 9.941 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003646/0.2765, allocations: 0.7281 MB / 445.3 MB, free: 9.188 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.669e-05/0.2765, allocations: 25.41 kB / 445.4 MB, free: 9.164 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.487e-05/0.2766, allocations: 15.44 kB / 445.4 MB, free: 9.148 MB / 350.1 MB Notification: Performance of SimCode: time 5.01e-07/0.2766, allocations: 0 / 445.4 MB, free: 9.148 MB / 350.1 MB Notification: Performance of Templates: time 0.005425/0.282, allocations: 1.97 MB / 447.3 MB, free: 7.184 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.487708920612931]