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.001447/0.001447, allocations: 96.25 kB / 20.96 MB, free: 3.473 MB / 18.57 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.001583/0.001583, allocations: 156.9 kB / 24.27 MB, free: 172 kB / 18.57 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.458/1.458, allocations: 177 MB / 204.4 MB, free: 5.633 MB / 186.7 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 2.484e-06/2.484e-06, allocations: 0 / 272.2 MB, free: 1.84 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.351e-05/3.6e-05, allocations: 5.125 kB / 272.2 MB, free: 1.836 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.RollingWheel): time 0.003833/0.003869, allocations: 2.037 MB / 274.2 MB, free: 15.78 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001148/0.005017, allocations: 0.5454 MB / 274.8 MB, free: 15.23 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000126/0.005143, allocations: 7.938 kB / 274.8 MB, free: 15.22 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001742/0.005317, allocations: 31.72 kB / 274.8 MB, free: 15.19 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001303/0.005447, allocations: 51.5 kB / 274.9 MB, free: 15.14 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002109/0.005658, allocations: 47.88 kB / 274.9 MB, free: 15.09 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003421/0.006, allocations: 219 kB / 275.1 MB, free: 14.88 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001808/0.006181, allocations: 45.77 kB / 275.2 MB, free: 14.84 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002127/0.006394, allocations: 119.7 kB / 275.3 MB, free: 14.72 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001574/0.006551, allocations: 55.88 kB / 275.3 MB, free: 14.66 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 4.241e-05/0.006593, allocations: 16 kB / 275.3 MB, free: 14.65 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.188e-05/0.006635, allocations: 20 kB / 275.4 MB, free: 14.63 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 5.36e-05/0.006689, allocations: 39.83 kB / 275.4 MB, free: 14.59 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000103/0.006792, allocations: 59.84 kB / 275.5 MB, free: 14.53 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003522/0.007144, allocations: 219.2 kB / 275.7 MB, free: 14.32 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.018e-06/0.007148, allocations: 0 / 275.7 MB, free: 14.32 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.112e-06/0.007149, allocations: 0 / 275.7 MB, free: 14.32 MB / 266.7 MB Notification: Performance of Transformations before backend: time 6.242e-06/0.007155, allocations: 4 kB / 275.7 MB, free: 14.31 MB / 266.7 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.0009024/0.008058, allocations: 409.5 kB / 276.1 MB, free: 13.88 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.642e-05/0.008104, allocations: 11.98 kB / 276.1 MB, free: 13.87 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.779e-05/0.008202, allocations: 32.84 kB / 276.1 MB, free: 13.84 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003875/0.008589, allocations: 161.5 kB / 276.3 MB, free: 13.66 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.399e-05/0.008613, allocations: 8.375 kB / 276.3 MB, free: 13.65 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.332e-05/0.008667, allocations: 20.38 kB / 276.3 MB, free: 13.63 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003763/0.009043, allocations: 146.2 kB / 276.5 MB, free: 13.48 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.574e-05/0.009059, allocations: 8.125 kB / 276.5 MB, free: 13.47 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.497e-05/0.009084, allocations: 8.375 kB / 276.5 MB, free: 13.46 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.081e-05/0.009095, allocations: 11.94 kB / 276.5 MB, free: 13.45 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002636/0.009358, allocations: 103.7 kB / 276.6 MB, free: 13.35 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001064/0.01042, allocations: 495 kB / 277.1 MB, free: 12.83 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002646/0.01069, allocations: 106.6 kB / 277.2 MB, free: 12.72 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001059/0.01079, allocations: 44.84 kB / 277.2 MB, free: 12.67 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.384e-05/0.01082, allocations: 3.938 kB / 277.2 MB, free: 12.67 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.713e-05/0.01085, allocations: 38.56 kB / 277.3 MB, free: 12.62 MB / 266.7 MB Notification: Performance of pre-optimization done (n=13): time 1.092e-06/0.01085, allocations: 0 / 277.3 MB, free: 12.62 MB / 266.7 MB Notification: Performance of matching and sorting (n=18): time 0.001691/0.01255, allocations: 0.6477 MB / 277.9 MB, free: 11.92 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.759e-05/0.0126, allocations: 55.41 kB / 278 MB, free: 11.85 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001679/0.01277, allocations: 145 kB / 278.1 MB, free: 11.7 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.839e-05/0.0128, allocations: 29.7 kB / 278.1 MB, free: 11.67 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001133/0.01291, allocations: 136.5 kB / 278.3 MB, free: 11.53 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002015/0.01311, allocations: 63.42 kB / 278.3 MB, free: 11.47 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.389e-05/0.01319, allocations: 37.72 kB / 278.4 MB, free: 11.43 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001993/0.01339, allocations: 322.8 kB / 278.7 MB, free: 11.1 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001232/0.01351, allocations: 51.91 kB / 278.7 MB, free: 11.05 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001533/0.01366, allocations: 83.28 kB / 278.8 MB, free: 10.96 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002636/0.01393, allocations: 130.2 kB / 278.9 MB, free: 10.82 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.082e-06/0.01393, allocations: 4 kB / 278.9 MB, free: 10.82 MB / 266.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004501/0.01438, allocations: 210.3 kB / 279.1 MB, free: 10.6 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.805e-05/0.0144, allocations: 7.281 kB / 279.1 MB, free: 10.6 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.172e-06/0.0144, allocations: 0 / 279.1 MB, free: 10.6 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000226/0.01463, allocations: 48.77 kB / 279.2 MB, free: 10.55 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001632/0.01479, allocations: 28.05 kB / 279.2 MB, free: 10.52 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001638/0.01643, allocations: 1.402 MB / 280.6 MB, free: 9.02 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.605e-05/0.01652, allocations: 8.031 kB / 280.6 MB, free: 9.012 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.632e-05/0.01653, allocations: 8 kB / 280.6 MB, free: 9.004 MB / 266.7 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.0001513/0.01668, allocations: 137.7 kB / 280.8 MB, free: 8.859 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.368e-05/0.01673, allocations: 11.95 kB / 280.8 MB, free: 8.848 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.245e-05/0.01678, allocations: 29.17 kB / 280.8 MB, free: 8.812 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.763e-06/0.01678, allocations: 0 / 280.8 MB, free: 8.812 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.861e-06/0.01679, allocations: 4 kB / 280.8 MB, free: 8.809 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.416e-06/0.01679, allocations: 0 / 280.8 MB, free: 8.809 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008973/0.01769, allocations: 0.5017 MB / 281.3 MB, free: 8.262 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.99e-06/0.01769, allocations: 3.984 kB / 281.3 MB, free: 8.258 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000161/0.01785, allocations: 27.98 kB / 281.4 MB, free: 8.23 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001402/0.01799, allocations: 40.81 kB / 281.4 MB, free: 8.188 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.679e-05/0.01801, allocations: 4 kB / 281.4 MB, free: 8.184 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001679/0.01969, allocations: 1.343 MB / 282.7 MB, free: 6.734 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.01969, allocations: 0 / 282.7 MB, free: 6.734 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006138/0.02031, allocations: 344 kB / 283.1 MB, free: 6.379 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.04e-05/0.02033, allocations: 16.06 kB / 283.1 MB, free: 6.363 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.729e-05/0.02034, allocations: 0 / 283.1 MB, free: 6.363 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001088/0.02045, allocations: 15.94 kB / 283.1 MB, free: 6.348 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.543e-05/0.02051, allocations: 11.97 kB / 283.1 MB, free: 6.336 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.364e-05/0.02052, allocations: 8 kB / 283.1 MB, free: 6.328 MB / 266.7 MB Notification: Performance of sorting global known variables: time 9.598e-05/0.02062, allocations: 107.2 kB / 283.2 MB, free: 6.223 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.02062, allocations: 0 / 283.2 MB, free: 6.223 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003112/0.02093, allocations: 40 kB / 283.3 MB, free: 6.184 MB / 266.7 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.0001602/0.02109, allocations: 111.1 kB / 283.4 MB, free: 6.062 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0005628/0.02165, allocations: 246.5 kB / 283.6 MB, free: 5.809 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.02165, allocations: 0 / 283.6 MB, free: 5.809 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003305/0.02198, allocations: 197.5 kB / 283.8 MB, free: 5.605 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003886/0.02237, allocations: 31.86 kB / 283.8 MB, free: 5.574 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009889/0.02336, allocations: 429.2 kB / 284.3 MB, free: 5.129 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001441/0.02351, allocations: 124.2 kB / 284.4 MB, free: 4.992 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 6.984e-05/0.02357, allocations: 13.5 kB / 284.4 MB, free: 4.977 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.308e-05/0.02362, allocations: 12.5 kB / 284.4 MB, free: 4.965 MB / 266.7 MB Notification: Performance of SimCode: time 6.91e-07/0.02362, allocations: 0 / 284.4 MB, free: 4.965 MB / 266.7 MB Notification: Performance of Templates: time 0.005722/0.02934, allocations: 1.845 MB / 286.3 MB, free: 3.152 MB / 266.7 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.124377393047325]