Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.RollingWheel.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001933/0.001933, allocations: 92.31 kB / 20.96 MB, free: 3.473 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002346/0.002346, allocations: 161.7 kB / 24.27 MB, free: 172 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.525/1.525, allocations: 177.1 MB / 204.6 MB, free: 5.59 MB / 186.7 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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.1.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.1.0_Modelica.Mechanics.Rotational.Examples.RollingWheel") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.493e-06/1.493e-06, allocations: 0 / 272.3 MB, free: 1.832 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.293e-05/2.443e-05, allocations: 2.312 kB / 272.3 MB, free: 1.828 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.RollingWheel): time 0.003659/0.003684, allocations: 2.049 MB / 274.4 MB, free: 15.77 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001469/0.005153, allocations: 0.5376 MB / 274.9 MB, free: 15.23 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001708/0.005324, allocations: 7.938 kB / 274.9 MB, free: 15.22 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001969/0.005521, allocations: 35.72 kB / 274.9 MB, free: 15.18 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001687/0.005689, allocations: 55.48 kB / 275 MB, free: 15.13 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002062/0.005896, allocations: 51.86 kB / 275 MB, free: 15.08 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003276/0.006223, allocations: 211 kB / 275.2 MB, free: 14.87 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001741/0.006397, allocations: 45.78 kB / 275.3 MB, free: 14.83 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002096/0.006607, allocations: 119.7 kB / 275.4 MB, free: 14.71 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001382/0.006745, allocations: 55.86 kB / 275.5 MB, free: 14.66 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 3.893e-05/0.006784, allocations: 16 kB / 275.5 MB, free: 14.64 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.986e-05/0.006824, allocations: 20 kB / 275.5 MB, free: 14.62 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 4.619e-05/0.00687, allocations: 39.84 kB / 275.5 MB, free: 14.58 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001009/0.006971, allocations: 67.83 kB / 275.6 MB, free: 14.52 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003291/0.0073, allocations: 207.3 kB / 275.8 MB, free: 14.31 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.424e-06/0.007303, allocations: 0 / 275.8 MB, free: 14.31 MB / 266.7 MB Notification: Performance of FrontEnd: time 6.32e-07/0.007303, allocations: 3.938 kB / 275.8 MB, free: 14.31 MB / 266.7 MB Notification: Performance of Transformations before backend: time 7.224e-06/0.00731, allocations: 0 / 275.8 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.0007581/0.008069, allocations: 409.5 kB / 276.2 MB, free: 13.88 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.673e-05/0.008105, allocations: 12.03 kB / 276.2 MB, free: 13.87 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.474e-05/0.00819, allocations: 28.84 kB / 276.2 MB, free: 13.84 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003207/0.008511, allocations: 165.5 kB / 276.4 MB, free: 13.65 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.349e-05/0.008534, allocations: 16.38 kB / 276.4 MB, free: 13.64 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.608e-05/0.00858, allocations: 16.38 kB / 276.4 MB, free: 13.62 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003512/0.008932, allocations: 146.2 kB / 276.6 MB, free: 13.47 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.522e-05/0.008947, allocations: 192 / 276.6 MB, free: 13.47 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.972e-05/0.008966, allocations: 8.375 kB / 276.6 MB, free: 13.46 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.758e-06/0.008976, allocations: 7.938 kB / 276.6 MB, free: 13.46 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002744/0.009251, allocations: 107.7 kB / 276.7 MB, free: 13.35 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009585/0.01021, allocations: 495.1 kB / 277.2 MB, free: 12.83 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002688/0.01048, allocations: 110.6 kB / 277.3 MB, free: 12.71 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001072/0.01059, allocations: 40.84 kB / 277.3 MB, free: 12.67 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.047e-05/0.01061, allocations: 0 / 277.3 MB, free: 12.67 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.609e-05/0.01064, allocations: 34.56 kB / 277.4 MB, free: 12.63 MB / 266.7 MB Notification: Performance of pre-optimization done (n=13): time 1.072e-06/0.01064, allocations: 0 / 277.4 MB, free: 12.63 MB / 266.7 MB Notification: Performance of matching and sorting (n=18): time 0.001726/0.01237, allocations: 0.658 MB / 278 MB, free: 11.92 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.123e-05/0.01242, allocations: 55.41 kB / 278.1 MB, free: 11.85 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001502/0.01257, allocations: 141 kB / 278.2 MB, free: 11.71 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.92e-05/0.0126, allocations: 29.7 kB / 278.2 MB, free: 11.67 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001049/0.0127, allocations: 132.5 kB / 278.4 MB, free: 11.54 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.436e-05/0.01277, allocations: 63.44 kB / 278.4 MB, free: 11.48 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.528e-05/0.01284, allocations: 45.7 kB / 278.5 MB, free: 11.43 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001872/0.01303, allocations: 322.8 kB / 278.8 MB, free: 11.1 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000134/0.01316, allocations: 43.98 kB / 278.8 MB, free: 11.06 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001414/0.01331, allocations: 75.34 kB / 278.9 MB, free: 10.97 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002648/0.01357, allocations: 143.2 kB / 279.1 MB, free: 10.82 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.233e-06/0.01357, allocations: 0 / 279.1 MB, free: 10.82 MB / 266.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004486/0.01402, allocations: 206.3 kB / 279.3 MB, free: 10.61 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.506e-05/0.01404, allocations: 8 kB / 279.3 MB, free: 10.6 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.664e-06/0.01404, allocations: 4 kB / 279.3 MB, free: 10.6 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002225/0.01427, allocations: 48.7 kB / 279.3 MB, free: 10.55 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001642/0.01443, allocations: 31.98 kB / 279.3 MB, free: 10.52 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001586/0.01602, allocations: 1.401 MB / 280.7 MB, free: 9.016 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001025/0.01612, allocations: 4.031 kB / 280.8 MB, free: 9.012 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.134e-05/0.01614, allocations: 11.98 kB / 280.8 MB, free: 9 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.0001426/0.01628, allocations: 133.7 kB / 280.9 MB, free: 8.859 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.624e-05/0.01633, allocations: 15.95 kB / 280.9 MB, free: 8.844 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.358e-05/0.01638, allocations: 21.12 kB / 280.9 MB, free: 8.816 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.575e-06/0.01638, allocations: 192 / 280.9 MB, free: 8.816 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.941e-06/0.01639, allocations: 8.062 kB / 280.9 MB, free: 8.809 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.22e-06/0.0164, allocations: 3.984 kB / 280.9 MB, free: 8.805 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008901/0.01729, allocations: 0.5057 MB / 281.4 MB, free: 8.254 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.284e-06/0.01729, allocations: 3.938 kB / 281.5 MB, free: 8.25 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001609/0.01745, allocations: 27.98 kB / 281.5 MB, free: 8.223 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001439/0.01759, allocations: 36.77 kB / 281.5 MB, free: 8.184 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.429e-05/0.01761, allocations: 8 kB / 281.5 MB, free: 8.176 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001619/0.01923, allocations: 1.343 MB / 282.9 MB, free: 6.727 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.268e-06/0.01923, allocations: 4.031 kB / 282.9 MB, free: 6.723 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005988/0.01983, allocations: 346.8 kB / 283.2 MB, free: 6.367 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.452e-05/0.01985, allocations: 11.94 kB / 283.2 MB, free: 6.355 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.08e-05/0.01987, allocations: 4.109 kB / 283.2 MB, free: 6.352 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000124/0.02, allocations: 15.94 kB / 283.2 MB, free: 6.336 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.293e-05/0.02005, allocations: 15.97 kB / 283.3 MB, free: 6.32 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.135e-05/0.02006, allocations: 4 kB / 283.3 MB, free: 6.316 MB / 266.7 MB Notification: Performance of sorting global known variables: time 9.43e-05/0.02016, allocations: 103.3 kB / 283.4 MB, free: 6.215 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.02016, allocations: 0 / 283.4 MB, free: 6.215 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003244/0.02048, allocations: 40 kB / 283.4 MB, free: 6.176 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.0001396/0.02062, allocations: 103.2 kB / 283.5 MB, free: 6.062 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0005594/0.02118, allocations: 254.4 kB / 283.7 MB, free: 5.801 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.02118, allocations: 0 / 283.7 MB, free: 5.801 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003125/0.02149, allocations: 190.4 kB / 283.9 MB, free: 5.602 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000355/0.02185, allocations: 27.22 kB / 284 MB, free: 5.578 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009364/0.02279, allocations: 437.1 kB / 284.4 MB, free: 5.125 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001481/0.02293, allocations: 120.2 kB / 284.5 MB, free: 4.992 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 7.267e-05/0.02301, allocations: 17.47 kB / 284.5 MB, free: 4.973 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.234e-05/0.02305, allocations: 16.5 kB / 284.5 MB, free: 4.957 MB / 266.7 MB Notification: Performance of SimCode: time 4.51e-07/0.02305, allocations: 0 / 284.5 MB, free: 4.957 MB / 266.7 MB Notification: Performance of Templates: time 0.005886/0.02894, allocations: 1.832 MB / 286.4 MB, free: 3.145 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.RollingWheel.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.RollingWheel.pipe ; mkfifo Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.RollingWheel.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.RollingWheel.pipe >> ../files/Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.RollingWheel.sim & ./Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.RollingWheel -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.RollingWheel.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_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_4.1.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.315758504904807]