Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.RollingWheel.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001633/0.001633, allocations: 113 kB / 19.04 MB, free: 3.254 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00181/0.00181, allocations: 197.9 kB / 22.22 MB, free: 72 kB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.403/1.403, allocations: 225.6 MB / 250.8 MB, free: 13.34 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0_Modelica.Mechanics.Rotational.Examples.RollingWheel") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001573/0.001573, allocations: 51.91 kB / 368.7 MB, free: 10.15 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2419/0.2434, allocations: 52.14 MB / 420.9 MB, free: 15.08 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.RollingWheel): time 0.00348/0.2469, allocations: 2.135 MB / 423 MB, free: 12.93 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009126/0.2478, allocations: 0.5493 MB / 423.5 MB, free: 12.38 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.837e-05/0.2479, allocations: 7.938 kB / 423.5 MB, free: 12.37 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001418/0.2481, allocations: 31.72 kB / 423.6 MB, free: 12.34 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001029/0.2482, allocations: 51.48 kB / 423.6 MB, free: 12.29 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001948/0.2484, allocations: 47.95 kB / 423.7 MB, free: 12.24 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002453/0.2486, allocations: 219 kB / 423.9 MB, free: 12.02 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001472/0.2487, allocations: 53.64 kB / 423.9 MB, free: 11.97 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.457e-05/0.2488, allocations: 79.66 kB / 424 MB, free: 11.89 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001304/0.249, allocations: 83.67 kB / 424.1 MB, free: 11.81 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.076e-05/0.249, allocations: 16 kB / 424.1 MB, free: 11.8 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.936e-05/0.249, allocations: 19.94 kB / 424.1 MB, free: 11.78 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 3.84e-05/0.2491, allocations: 31.92 kB / 424.2 MB, free: 11.75 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 9.348e-05/0.2492, allocations: 95.53 kB / 424.3 MB, free: 11.65 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002824/0.2494, allocations: 212.4 kB / 424.5 MB, free: 11.45 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.2495, allocations: 0 / 424.5 MB, free: 11.45 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.132e-06/0.2495, allocations: 0 / 424.5 MB, free: 11.45 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.402e-06/0.2495, allocations: 4 kB / 424.5 MB, free: 11.45 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.0007006/0.2502, allocations: 470.7 kB / 424.9 MB, free: 10.94 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.188e-05/0.2502, allocations: 8.031 kB / 424.9 MB, free: 10.93 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.422e-05/0.2502, allocations: 28.8 kB / 425 MB, free: 10.9 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003101/0.2506, allocations: 235 kB / 425.2 MB, free: 10.64 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.487e-05/0.2506, allocations: 12.38 kB / 425.2 MB, free: 10.62 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.942e-05/0.2506, allocations: 24.31 kB / 425.2 MB, free: 10.6 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003165/0.2509, allocations: 149.9 kB / 425.4 MB, free: 10.45 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.506e-05/0.251, allocations: 0 / 425.4 MB, free: 10.45 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.928e-05/0.251, allocations: 8 kB / 425.4 MB, free: 10.44 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.442e-06/0.251, allocations: 4 kB / 425.4 MB, free: 10.44 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002385/0.2512, allocations: 103.7 kB / 425.5 MB, free: 10.34 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008988/0.2521, allocations: 0.5928 MB / 426.1 MB, free: 9.688 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002275/0.2523, allocations: 110.5 kB / 426.2 MB, free: 9.57 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.978e-05/0.2524, allocations: 36.84 kB / 426.2 MB, free: 9.531 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.696e-05/0.2524, allocations: 4 kB / 426.2 MB, free: 9.527 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.69e-05/0.2525, allocations: 30.56 kB / 426.3 MB, free: 9.488 MB / 334.1 MB Notification: Performance of pre-optimization done (n=13): time 1.223e-06/0.2525, allocations: 4 kB / 426.3 MB, free: 9.484 MB / 334.1 MB Notification: Performance of matching and sorting (n=18): time 0.001516/0.254, allocations: 0.8019 MB / 427.1 MB, free: 8.59 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.441e-05/0.254, allocations: 55.41 kB / 427.1 MB, free: 8.523 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001497/0.2542, allocations: 162.2 kB / 427.3 MB, free: 8.355 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.191e-05/0.2542, allocations: 33.64 kB / 427.3 MB, free: 8.316 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.162e-05/0.2543, allocations: 132.4 kB / 427.4 MB, free: 8.184 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.927e-05/0.2544, allocations: 63.44 kB / 427.5 MB, free: 8.121 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.072e-05/0.2544, allocations: 37.7 kB / 427.5 MB, free: 8.078 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001404/0.2546, allocations: 326.8 kB / 427.9 MB, free: 7.75 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001067/0.2547, allocations: 43.98 kB / 427.9 MB, free: 7.707 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001277/0.2548, allocations: 82.58 kB / 428 MB, free: 7.617 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002333/0.255, allocations: 131.3 kB / 428.1 MB, free: 7.477 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.81e-07/0.255, allocations: 0 / 428.1 MB, free: 7.477 MB / 334.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0003933/0.2554, allocations: 213.3 kB / 428.3 MB, free: 7.262 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.317e-05/0.2554, allocations: 4 kB / 428.3 MB, free: 7.258 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.652e-06/0.2554, allocations: 4 kB / 428.3 MB, free: 7.254 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001599/0.2556, allocations: 36.84 kB / 428.4 MB, free: 7.215 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001579/0.2558, allocations: 31.97 kB / 428.4 MB, free: 7.184 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001421/0.2572, allocations: 1.536 MB / 429.9 MB, free: 5.504 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.574e-05/0.2573, allocations: 8.031 kB / 429.9 MB, free: 5.496 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.169e-05/0.2573, allocations: 12 kB / 430 MB, free: 5.484 MB / 334.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.0001244/0.2574, allocations: 133.7 kB / 430.1 MB, free: 5.344 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.758e-05/0.2575, allocations: 15.91 kB / 430.1 MB, free: 5.328 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.417e-05/0.2575, allocations: 25.17 kB / 430.1 MB, free: 5.305 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.724e-06/0.2575, allocations: 0 / 430.1 MB, free: 5.305 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.438e-06/0.2575, allocations: 4 kB / 430.1 MB, free: 5.301 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.293e-06/0.2575, allocations: 3.938 kB / 430.1 MB, free: 5.297 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008583/0.2584, allocations: 0.5905 MB / 430.7 MB, free: 4.641 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.2584, allocations: 0 / 430.7 MB, free: 4.641 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001584/0.2585, allocations: 31.97 kB / 430.8 MB, free: 4.609 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000111/0.2586, allocations: 28.84 kB / 430.8 MB, free: 4.578 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.618e-05/0.2587, allocations: 4 kB / 430.8 MB, free: 4.574 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00128/0.2599, allocations: 1.481 MB / 432.3 MB, free: 2.949 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.2599, allocations: 4.062 kB / 432.3 MB, free: 2.945 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005342/0.2605, allocations: 340 kB / 432.6 MB, free: 2.594 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.815e-05/0.2605, allocations: 92.98 kB / 432.7 MB, free: 2.484 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.259e-05/0.2606, allocations: 4 kB / 432.7 MB, free: 2.48 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001033/0.2607, allocations: 4 kB / 432.7 MB, free: 2.477 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.592e-05/0.2607, allocations: 20.03 kB / 432.7 MB, free: 2.457 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.985e-06/0.2607, allocations: 4 kB / 432.7 MB, free: 2.453 MB / 334.1 MB Notification: Performance of sorting global known variables: time 9.831e-05/0.2608, allocations: 119.2 kB / 432.8 MB, free: 2.336 MB / 334.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2608, allocations: 0 / 432.8 MB, free: 2.336 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002993/0.2611, allocations: 44 kB / 432.9 MB, free: 2.293 MB / 334.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.0001187/0.2612, allocations: 111.7 kB / 433 MB, free: 2.176 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0004974/0.2617, allocations: 250.6 kB / 433.2 MB, free: 1.918 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.724e-06/0.2617, allocations: 0 / 433.2 MB, free: 1.918 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000276/0.262, allocations: 186.6 kB / 433.4 MB, free: 1.723 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003323/0.2623, allocations: 23.97 kB / 433.4 MB, free: 1.699 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008942/0.2632, allocations: 0.5095 MB / 434 MB, free: 1.168 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003483/0.2636, allocations: 0.7281 MB / 434.7 MB, free: 424 kB / 334.1 MB Notification: Performance of simCode: alias equations: time 6.639e-05/0.2636, allocations: 13.55 kB / 434.7 MB, free: 408 kB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.062e-05/0.2637, allocations: 15.44 kB / 434.7 MB, free: 392 kB / 334.1 MB Notification: Performance of SimCode: time 4.41e-07/0.2637, allocations: 0 / 434.7 MB, free: 392 kB / 334.1 MB Notification: Performance of Templates: time 0.005605/0.2693, allocations: 1.935 MB / 436.6 MB, free: 14.45 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.RollingWheel.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.RollingWheel.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.RollingWheel.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.RollingWheel.pipe >> ../files/Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.RollingWheel.sim & ./Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.RollingWheel -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.RollingWheel.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.RollingWheel_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/Rotational/Examples/RollingWheel/RollingWheel.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.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: 4.3935251254588366]