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.001004/0.001004, allocations: 85.8 kB / 21.42 MB, free: 3.066 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.001155/0.001155, allocations: 164.4 kB / 24.82 MB, free: 9.223 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.9845/0.9845, allocations: 177 MB / 205.1 MB, free: 5.469 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.473e-06/1.473e-06, allocations: 0 / 273.3 MB, free: 1.238 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.329e-05/2.477e-05, allocations: 2.312 kB / 273.3 MB, free: 1.234 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.RollingWheel): time 0.002772/0.002797, allocations: 2.14 MB / 275.5 MB, free: 15.08 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008824/0.003679, allocations: 0.557 MB / 276 MB, free: 14.52 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001387/0.003818, allocations: 7.938 kB / 276 MB, free: 14.51 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001398/0.003958, allocations: 35.66 kB / 276 MB, free: 14.47 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001054/0.004063, allocations: 59.48 kB / 276.1 MB, free: 14.41 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000168/0.004231, allocations: 51.86 kB / 276.2 MB, free: 14.36 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001832/0.004414, allocations: 207 kB / 276.4 MB, free: 14.16 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001322/0.004547, allocations: 53.7 kB / 276.4 MB, free: 14.11 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001171/0.004664, allocations: 111.8 kB / 276.5 MB, free: 14 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001041/0.004768, allocations: 59.81 kB / 276.6 MB, free: 13.94 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.59e-05/0.004794, allocations: 16 kB / 276.6 MB, free: 13.93 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.141e-05/0.004815, allocations: 20 kB / 276.6 MB, free: 13.91 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 3.281e-05/0.004848, allocations: 39.83 kB / 276.7 MB, free: 13.87 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001972/0.005045, allocations: 71.83 kB / 276.7 MB, free: 13.8 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000173/0.005218, allocations: 135.5 kB / 276.9 MB, free: 13.66 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.963e-06/0.00522, allocations: 0 / 276.9 MB, free: 13.66 MB / 266.7 MB Notification: Performance of FrontEnd: time 8.92e-07/0.005221, allocations: 0 / 276.9 MB, free: 13.66 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.457e-06/0.005224, allocations: 0 / 276.9 MB, free: 13.66 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.0004484/0.005673, allocations: 0.4919 MB / 277.3 MB, free: 13.14 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.736e-05/0.00571, allocations: 15.98 kB / 277.4 MB, free: 13.12 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.476e-05/0.005755, allocations: 32.84 kB / 277.4 MB, free: 13.09 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001723/0.005927, allocations: 168.3 kB / 277.6 MB, free: 12.9 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.254e-05/0.00594, allocations: 16.38 kB / 277.6 MB, free: 12.88 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.485e-05/0.005965, allocations: 16.38 kB / 277.6 MB, free: 12.87 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000168/0.006133, allocations: 122.8 kB / 277.7 MB, free: 12.74 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.997e-06/0.006142, allocations: 192 / 277.7 MB, free: 12.74 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.383e-05/0.006156, allocations: 8.375 kB / 277.7 MB, free: 12.73 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.293e-06/0.006163, allocations: 7.938 kB / 277.7 MB, free: 12.72 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.002e-05/0.006233, allocations: 47.52 kB / 277.8 MB, free: 12.68 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000508/0.006741, allocations: 0.495 MB / 278.3 MB, free: 12.14 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000109/0.00685, allocations: 83.05 kB / 278.4 MB, free: 12.05 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.415e-05/0.006884, allocations: 27.67 kB / 278.4 MB, free: 12.02 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.563e-05/0.0069, allocations: 0 / 278.4 MB, free: 12.02 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.238e-05/0.006922, allocations: 41.33 kB / 278.4 MB, free: 11.97 MB / 266.7 MB Notification: Performance of pre-optimization done (n=13): time 8.81e-07/0.006923, allocations: 0 / 278.4 MB, free: 11.97 MB / 266.7 MB Notification: Performance of matching and sorting (n=18): time 0.0007082/0.007631, allocations: 0.5303 MB / 278.9 MB, free: 11.38 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.699e-05/0.007658, allocations: 55.41 kB / 279 MB, free: 11.31 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.216e-05/0.00775, allocations: 197.8 kB / 279.2 MB, free: 11.1 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.309e-05/0.007763, allocations: 29.7 kB / 279.2 MB, free: 11.06 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.051e-05/0.007834, allocations: 183.1 kB / 279.4 MB, free: 10.88 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.2e-05/0.007876, allocations: 71.41 kB / 279.5 MB, free: 10.81 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.694e-05/0.007923, allocations: 39.36 kB / 279.5 MB, free: 10.76 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001179/0.008041, allocations: 0.4962 MB / 280 MB, free: 10.25 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.953e-05/0.00807, allocations: 15.98 kB / 280 MB, free: 10.24 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.933e-05/0.00813, allocations: 94.02 kB / 280.1 MB, free: 10.12 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003707/0.0085, allocations: 109 kB / 280.2 MB, free: 9.992 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.008502, allocations: 0 / 280.2 MB, free: 9.992 MB / 266.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0001961/0.008698, allocations: 173 kB / 280.4 MB, free: 9.812 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.251e-05/0.008711, allocations: 12.02 kB / 280.4 MB, free: 9.801 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.113e-06/0.008718, allocations: 4 kB / 280.4 MB, free: 9.797 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001184/0.008836, allocations: 35.67 kB / 280.4 MB, free: 9.758 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.307e-05/0.008929, allocations: 31.98 kB / 280.5 MB, free: 9.727 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008694/0.009798, allocations: 1.819 MB / 282.3 MB, free: 7.797 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.331e-05/0.009852, allocations: 11.94 kB / 282.3 MB, free: 7.785 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.858e-06/0.009862, allocations: 8 kB / 282.3 MB, free: 7.777 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (20): * Single equations (assignments): 19 * 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 8.458e-05/0.009946, allocations: 164.6 kB / 282.5 MB, free: 7.605 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.598e-05/0.009972, allocations: 19.91 kB / 282.5 MB, free: 7.586 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.444e-05/0.009997, allocations: 17.12 kB / 282.5 MB, free: 7.566 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.085e-06/0.01, allocations: 7.938 kB / 282.5 MB, free: 7.559 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.629e-06/0.01, allocations: 192 / 282.5 MB, free: 7.559 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.965e-06/0.01001, allocations: 0 / 282.5 MB, free: 7.559 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004338/0.01044, allocations: 487.7 kB / 283 MB, free: 7.043 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.765e-06/0.01044, allocations: 3.984 kB / 283 MB, free: 7.039 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.259e-05/0.01053, allocations: 27.98 kB / 283 MB, free: 7.012 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.754e-05/0.0106, allocations: 35.64 kB / 283.1 MB, free: 6.973 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.043e-05/0.01061, allocations: 7.984 kB / 283.1 MB, free: 6.965 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007324/0.01135, allocations: 1.78 MB / 284.8 MB, free: 5.066 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.01135, allocations: 0 / 284.8 MB, free: 5.066 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002503/0.0116, allocations: 311.2 kB / 285.2 MB, free: 4.738 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.168e-05/0.01161, allocations: 15.89 kB / 285.2 MB, free: 4.723 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.222e-05/0.01162, allocations: 4 kB / 285.2 MB, free: 4.719 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.992e-05/0.01167, allocations: 4 kB / 285.2 MB, free: 4.715 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.059e-05/0.01171, allocations: 15.97 kB / 285.2 MB, free: 4.699 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.46e-06/0.01172, allocations: 0 / 285.2 MB, free: 4.699 MB / 266.7 MB Notification: Performance of sorting global known variables: time 5.846e-05/0.01178, allocations: 154.6 kB / 285.3 MB, free: 4.551 MB / 266.7 MB Notification: Performance of sort global known variables: time 4e-08/0.01178, allocations: 0 / 285.3 MB, free: 4.551 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002047/0.01198, allocations: 40 kB / 285.4 MB, free: 4.512 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 9.024e-05/0.01207, allocations: 107.2 kB / 285.5 MB, free: 4.395 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0002668/0.01234, allocations: 273.2 kB / 285.8 MB, free: 4.105 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.01234, allocations: 256 / 285.8 MB, free: 4.105 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001331/0.01247, allocations: 237.4 kB / 286 MB, free: 3.852 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002218/0.01269, allocations: 31.3 kB / 286 MB, free: 3.824 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006863/0.01338, allocations: 445.7 kB / 286.4 MB, free: 3.363 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.493e-05/0.01343, allocations: 79.98 kB / 286.5 MB, free: 3.266 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 4.373e-05/0.01347, allocations: 9.484 kB / 286.5 MB, free: 3.258 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.17e-05/0.01354, allocations: 98.19 kB / 286.6 MB, free: 3.16 MB / 266.7 MB Notification: Performance of SimCode: time 8.51e-07/0.01354, allocations: 0 / 286.6 MB, free: 3.16 MB / 266.7 MB Notification: Performance of Templates: time 0.004164/0.01771, allocations: 1.999 MB / 288.6 MB, free: 1.184 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=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.Rotational.Examples.RollingWheel.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.6052623856812716]