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.0008198/0.0008198, allocations: 88.28 kB / 21.43 MB, free: 3.129 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.003651/0.003651, allocations: 154 kB / 24.7 MB, free: 9.418 MB / 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 0.8239/0.8239, allocations: 177 MB / 204.9 MB, free: 5.754 MB / 186.7 MB " [Timeout remaining time 179] 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 1.833e-06/1.833e-06, allocations: 0 / 325.8 MB, free: 15.42 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.436e-05/2.619e-05, allocations: 2.281 kB / 325.8 MB, free: 15.42 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.RollingWheel): time 0.002097/0.002124, allocations: 2.041 MB / 327.8 MB, free: 13.36 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007063/0.00283, allocations: 0.5454 MB / 328.4 MB, free: 12.81 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.721e-05/0.002927, allocations: 7.938 kB / 328.4 MB, free: 12.8 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001241/0.003051, allocations: 31.7 kB / 328.4 MB, free: 12.77 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 7.22e-05/0.003124, allocations: 55.5 kB / 328.4 MB, free: 12.72 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001495/0.003273, allocations: 55.86 kB / 328.5 MB, free: 12.66 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001683/0.003441, allocations: 214.9 kB / 328.7 MB, free: 12.45 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001294/0.003571, allocations: 45.72 kB / 328.8 MB, free: 12.41 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.254e-05/0.003663, allocations: 115.8 kB / 328.9 MB, free: 12.29 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.912e-05/0.003752, allocations: 55.86 kB / 328.9 MB, free: 12.24 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 3.429e-05/0.003787, allocations: 16 kB / 328.9 MB, free: 12.22 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.914e-05/0.003806, allocations: 20 kB / 329 MB, free: 12.2 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 2.835e-05/0.003834, allocations: 39.84 kB / 329 MB, free: 12.16 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 4.795e-05/0.003882, allocations: 63.83 kB / 329.1 MB, free: 12.1 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001933/0.004075, allocations: 219.2 kB / 329.3 MB, free: 11.89 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.086e-06/0.004078, allocations: 4 kB / 329.3 MB, free: 11.88 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.273e-06/0.00408, allocations: 0 / 329.3 MB, free: 11.88 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.198e-06/0.004084, allocations: 4 kB / 329.3 MB, free: 11.88 MB / 298.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.0004695/0.004553, allocations: 397.3 kB / 329.7 MB, free: 11.46 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.39e-05/0.004587, allocations: 11.98 kB / 329.7 MB, free: 11.45 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.914e-05/0.004626, allocations: 20.84 kB / 329.7 MB, free: 11.43 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002196/0.004846, allocations: 165.5 kB / 329.9 MB, free: 11.24 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.586e-05/0.004862, allocations: 16.38 kB / 329.9 MB, free: 11.23 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.79e-05/0.00489, allocations: 12.38 kB / 329.9 MB, free: 11.21 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002185/0.005108, allocations: 158.2 kB / 330 MB, free: 11.05 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.182e-05/0.00512, allocations: 192 / 330 MB, free: 11.05 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.34e-05/0.005133, allocations: 4.375 kB / 330 MB, free: 11.05 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.929e-06/0.005138, allocations: 7.938 kB / 330.1 MB, free: 11.04 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001414/0.00528, allocations: 107.7 kB / 330.2 MB, free: 10.94 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005405/0.00582, allocations: 499 kB / 330.6 MB, free: 10.41 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001699/0.00599, allocations: 102.6 kB / 330.7 MB, free: 10.3 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.448e-05/0.006045, allocations: 40.84 kB / 330.8 MB, free: 10.26 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.612e-05/0.006061, allocations: 0 / 330.8 MB, free: 10.26 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.896e-05/0.00608, allocations: 34.56 kB / 330.8 MB, free: 10.21 MB / 298.7 MB Notification: Performance of pre-optimization done (n=13): time 8.22e-07/0.006081, allocations: 3.938 kB / 330.8 MB, free: 10.21 MB / 298.7 MB Notification: Performance of matching and sorting (n=18): time 0.0009582/0.007039, allocations: 0.6502 MB / 331.5 MB, free: 9.508 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.124e-05/0.00707, allocations: 55.41 kB / 331.5 MB, free: 9.441 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.98e-05/0.00715, allocations: 141 kB / 331.7 MB, free: 9.297 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.541e-05/0.007165, allocations: 29.7 kB / 331.7 MB, free: 9.262 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.844e-05/0.007224, allocations: 136.5 kB / 331.8 MB, free: 9.125 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.096e-05/0.007255, allocations: 67.36 kB / 331.9 MB, free: 9.059 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.335e-05/0.007298, allocations: 37.7 kB / 331.9 MB, free: 9.016 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.103e-05/0.007369, allocations: 322.8 kB / 332.2 MB, free: 8.691 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.083e-05/0.00743, allocations: 39.98 kB / 332.3 MB, free: 8.652 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.766e-05/0.007507, allocations: 87.34 kB / 332.4 MB, free: 8.555 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001389/0.007646, allocations: 134.8 kB / 332.5 MB, free: 8.414 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.142e-06/0.007647, allocations: 0 / 332.5 MB, free: 8.414 MB / 298.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002301/0.007878, allocations: 198.3 kB / 332.7 MB, free: 8.211 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.408e-05/0.007892, allocations: 7.984 kB / 332.7 MB, free: 8.203 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.71e-06/0.007897, allocations: 4.062 kB / 332.7 MB, free: 8.199 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000126/0.008023, allocations: 40.78 kB / 332.7 MB, free: 8.156 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.788e-05/0.008121, allocations: 35.92 kB / 332.8 MB, free: 8.121 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000818/0.008939, allocations: 1.398 MB / 334.2 MB, free: 6.625 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.557e-05/0.008985, allocations: 12.02 kB / 334.2 MB, free: 6.613 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.317e-06/0.008994, allocations: 4 kB / 334.2 MB, free: 6.609 MB / 298.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 9.975e-05/0.009094, allocations: 141.8 kB / 334.3 MB, free: 6.461 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.886e-05/0.009113, allocations: 7.953 kB / 334.3 MB, free: 6.453 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.608e-05/0.009139, allocations: 21.12 kB / 334.4 MB, free: 6.43 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.443e-06/0.00914, allocations: 0 / 334.4 MB, free: 6.43 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.858e-06/0.009144, allocations: 4 kB / 334.4 MB, free: 6.426 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.158e-06/0.009148, allocations: 3.984 kB / 334.4 MB, free: 6.422 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004739/0.009622, allocations: 0.5056 MB / 334.9 MB, free: 5.871 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.004e-06/0.009624, allocations: 0 / 334.9 MB, free: 5.871 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.363e-05/0.009708, allocations: 31.92 kB / 334.9 MB, free: 5.84 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.307e-05/0.009781, allocations: 36.77 kB / 334.9 MB, free: 5.801 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.526e-06/0.009789, allocations: 4 kB / 334.9 MB, free: 5.797 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006473/0.01044, allocations: 1.335 MB / 336.3 MB, free: 4.355 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.326e-06/0.01044, allocations: 8.031 kB / 336.3 MB, free: 4.348 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002973/0.01074, allocations: 339.1 kB / 336.6 MB, free: 4 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.018e-05/0.01075, allocations: 15.88 kB / 336.6 MB, free: 3.984 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.059e-05/0.01076, allocations: 3.984 kB / 336.6 MB, free: 3.98 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.028e-05/0.01081, allocations: 11.94 kB / 336.7 MB, free: 3.969 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.748e-05/0.01085, allocations: 11.97 kB / 336.7 MB, free: 3.957 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.455e-06/0.01085, allocations: 11.94 kB / 336.7 MB, free: 3.945 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.488e-05/0.0109, allocations: 103.3 kB / 336.8 MB, free: 3.844 MB / 298.7 MB Notification: Performance of sort global known variables: time 3e-08/0.0109, allocations: 0 / 336.8 MB, free: 3.844 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001987/0.0111, allocations: 44.06 kB / 336.8 MB, free: 3.801 MB / 298.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.0001068/0.0112, allocations: 103.2 kB / 336.9 MB, free: 3.691 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0003277/0.01153, allocations: 246.5 kB / 337.2 MB, free: 3.438 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.283e-06/0.01153, allocations: 0 / 337.2 MB, free: 3.438 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001349/0.01167, allocations: 182.6 kB / 337.3 MB, free: 3.246 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002403/0.01191, allocations: 32.09 kB / 337.4 MB, free: 3.215 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005785/0.01249, allocations: 455.8 kB / 337.8 MB, free: 2.734 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.303e-05/0.01257, allocations: 120.2 kB / 337.9 MB, free: 2.598 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.659e-05/0.01261, allocations: 16.5 kB / 338 MB, free: 2.582 MB / 298.7 MB Notification: Performance of SimCode: time 7.22e-07/0.01261, allocations: 0 / 338 MB, free: 2.582 MB / 298.7 MB Notification: Performance of Templates: time 0.003126/0.01573, allocations: 2.926 MB / 340.9 MB, free: 15.65 MB / 314.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.449364880099893]