Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_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.006419/0.006419, allocations: 105.9 kB / 21.98 MB, free: 5.223 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.001713/0.001713, allocations: 216.4 kB / 25.29 MB, free: 3.203 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.433/1.433, allocations: 230.6 MB / 259 MB, free: 8.043 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-beta.om/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_4.1.0-beta.om_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-beta.om_Modelica.Mechanics.Rotational.Examples.RollingWheel") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002018/0.002018, allocations: 59.89 kB / 379.8 MB, free: 2.672 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2799/0.2819, allocations: 53.37 MB / 433.2 MB, free: 6.961 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.RollingWheel): time 0.003687/0.2856, allocations: 2.149 MB / 435.3 MB, free: 4.805 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001122/0.2867, allocations: 0.592 MB / 435.9 MB, free: 4.207 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001215/0.2869, allocations: 4 kB / 435.9 MB, free: 4.203 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001606/0.287, allocations: 35.66 kB / 435.9 MB, free: 4.168 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001114/0.2871, allocations: 51.55 kB / 436 MB, free: 4.117 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001941/0.2873, allocations: 55.88 kB / 436 MB, free: 4.062 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002673/0.2876, allocations: 207.1 kB / 436.2 MB, free: 3.859 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001573/0.2878, allocations: 49.78 kB / 436.3 MB, free: 3.809 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.853e-05/0.2879, allocations: 75.72 kB / 436.4 MB, free: 3.734 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000151/0.288, allocations: 83.62 kB / 436.4 MB, free: 3.652 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.247e-05/0.288, allocations: 16 kB / 436.5 MB, free: 3.637 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.431e-05/0.2881, allocations: 16 kB / 436.5 MB, free: 3.621 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 3.936e-05/0.2881, allocations: 39.84 kB / 436.5 MB, free: 3.582 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 9.934e-05/0.2882, allocations: 95.53 kB / 436.6 MB, free: 3.488 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003015/0.2885, allocations: 216.4 kB / 436.8 MB, free: 3.281 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.719e-06/0.2885, allocations: 0 / 436.8 MB, free: 3.281 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.2885, allocations: 0 / 436.8 MB, free: 3.281 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.412e-06/0.2885, allocations: 0 / 436.8 MB, free: 3.281 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.0007095/0.2892, allocations: 397.5 kB / 437.2 MB, free: 2.863 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.636e-05/0.2893, allocations: 8.031 kB / 437.2 MB, free: 2.855 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.804e-05/0.2893, allocations: 16.84 kB / 437.2 MB, free: 2.84 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003039/0.2896, allocations: 178.2 kB / 437.4 MB, free: 2.641 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.178e-05/0.2896, allocations: 12.16 kB / 437.4 MB, free: 2.629 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.406e-05/0.2897, allocations: 20.31 kB / 437.4 MB, free: 2.609 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003389/0.29, allocations: 153.9 kB / 437.6 MB, free: 2.453 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.94e-05/0.2901, allocations: 8 kB / 437.6 MB, free: 2.445 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.785e-05/0.2901, allocations: 4 kB / 437.6 MB, free: 2.441 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.147e-05/0.2901, allocations: 7.938 kB / 437.6 MB, free: 2.434 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002402/0.2903, allocations: 107.7 kB / 437.7 MB, free: 2.328 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009288/0.2912, allocations: 0.549 MB / 438.3 MB, free: 1.73 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002464/0.2915, allocations: 106.6 kB / 438.4 MB, free: 1.617 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001003/0.2916, allocations: 40.78 kB / 438.4 MB, free: 1.574 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.485e-05/0.2916, allocations: 7.984 kB / 438.4 MB, free: 1.566 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.239e-05/0.2917, allocations: 38.5 kB / 438.5 MB, free: 1.52 MB / 334.1 MB Notification: Performance of pre-optimization done (n=13): time 1.172e-06/0.2917, allocations: 0 / 438.5 MB, free: 1.52 MB / 334.1 MB Notification: Performance of matching and sorting (n=18): time 0.001706/0.2934, allocations: 0.6544 MB / 439.1 MB, free: 0.8125 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.999e-05/0.2934, allocations: 51.41 kB / 439.2 MB, free: 0.75 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001692/0.2936, allocations: 162.1 kB / 439.3 MB, free: 0.582 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.135e-05/0.2936, allocations: 29.7 kB / 439.3 MB, free: 0.5469 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001006/0.2937, allocations: 132.4 kB / 439.5 MB, free: 424 kB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.463e-05/0.2937, allocations: 67.42 kB / 439.5 MB, free: 356 kB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.677e-05/0.2938, allocations: 37.7 kB / 439.6 MB, free: 312 kB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001719/0.294, allocations: 330.8 kB / 439.9 MB, free: 15.97 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001177/0.2941, allocations: 43.98 kB / 439.9 MB, free: 15.93 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000134/0.2942, allocations: 75.34 kB / 440 MB, free: 15.84 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002539/0.2945, allocations: 134 kB / 440.1 MB, free: 15.7 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.92e-07/0.2945, allocations: 0 / 440.1 MB, free: 15.7 MB / 350.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004093/0.2949, allocations: 206.2 kB / 440.4 MB, free: 15.49 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.19e-05/0.2949, allocations: 4 kB / 440.4 MB, free: 15.49 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.484e-06/0.2949, allocations: 4 kB / 440.4 MB, free: 15.48 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001804/0.2951, allocations: 36.83 kB / 440.4 MB, free: 15.45 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001599/0.2953, allocations: 39.98 kB / 440.4 MB, free: 15.41 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001424/0.2967, allocations: 1.424 MB / 441.9 MB, free: 13.87 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.457e-05/0.2968, allocations: 15.95 kB / 441.9 MB, free: 13.85 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.315e-05/0.2968, allocations: 4 kB / 441.9 MB, free: 13.85 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.0001333/0.2969, allocations: 132 kB / 442 MB, free: 13.71 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.679e-05/0.297, allocations: 15.91 kB / 442 MB, free: 13.7 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.605e-05/0.297, allocations: 21.12 kB / 442 MB, free: 13.68 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.697e-06/0.297, allocations: 7.938 kB / 442.1 MB, free: 13.67 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.61e-06/0.297, allocations: 8.047 kB / 442.1 MB, free: 13.66 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.662e-06/0.297, allocations: 7.969 kB / 442.1 MB, free: 13.65 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008548/0.2979, allocations: 0.544 MB / 442.6 MB, free: 13.05 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.813e-06/0.2979, allocations: 0 / 442.6 MB, free: 13.05 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001554/0.298, allocations: 35.91 kB / 442.6 MB, free: 13.01 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001136/0.2982, allocations: 36.84 kB / 442.7 MB, free: 12.97 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.023e-05/0.2982, allocations: 0 / 442.7 MB, free: 12.97 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001262/0.2994, allocations: 1.381 MB / 444.1 MB, free: 11.47 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.2994, allocations: 0 / 444.1 MB, free: 11.47 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005305/0.3, allocations: 340 kB / 444.4 MB, free: 11.12 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.132e-05/0.3, allocations: 11.98 kB / 444.4 MB, free: 11.11 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.838e-05/0.3, allocations: 128 / 444.4 MB, free: 11.11 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000101/0.3001, allocations: 8 kB / 444.4 MB, free: 11.1 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.612e-05/0.3001, allocations: 19.97 kB / 444.4 MB, free: 11.08 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.044e-05/0.3002, allocations: 7.938 kB / 444.4 MB, free: 11.07 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001073/0.3003, allocations: 115.2 kB / 444.6 MB, free: 10.96 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3003, allocations: 0 / 444.6 MB, free: 10.96 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003031/0.3006, allocations: 44 kB / 444.6 MB, free: 10.92 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.0001224/0.3007, allocations: 103.2 kB / 444.7 MB, free: 10.81 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0005123/0.3012, allocations: 253.8 kB / 444.9 MB, free: 10.55 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.175e-06/0.3012, allocations: 3.938 kB / 444.9 MB, free: 10.55 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002765/0.3015, allocations: 178.7 kB / 445.1 MB, free: 10.36 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003581/0.3018, allocations: 27.97 kB / 445.2 MB, free: 10.33 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009745/0.3028, allocations: 0.5329 MB / 445.7 MB, free: 9.766 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003809/0.3032, allocations: 0.7281 MB / 446.4 MB, free: 9.012 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.048e-05/0.3032, allocations: 23.38 kB / 446.4 MB, free: 8.988 MB / 350.1 MB Notification: Performance of SimCode: time 4.61e-07/0.3032, allocations: 0 / 446.4 MB, free: 8.988 MB / 350.1 MB Notification: Performance of Templates: time 0.005321/0.3086, allocations: 2.916 MB / 449.4 MB, free: 6.074 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Mechanics.Rotational.Examples.RollingWheel.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Mechanics.Rotational.Examples.RollingWheel.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Mechanics.Rotational.Examples.RollingWheel.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Mechanics.Rotational.Examples.RollingWheel.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Mechanics.Rotational.Examples.RollingWheel.sim & ./Modelica_4.1.0-beta.om_Modelica.Mechanics.Rotational.Examples.RollingWheel -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Mechanics.Rotational.Examples.RollingWheel.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_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-beta.om_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.511766189010814]