Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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.00146/0.00146, allocations: 102.6 kB / 21.93 MB, free: 5.203 MB / 14.72 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.001656/0.001656, allocations: 202.2 kB / 25.22 MB, free: 3.145 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.505/1.505, allocations: 207.7 MB / 236.1 MB, free: 9.781 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_Modelica.Mechanics.Rotational.Examples.RollingWheel") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001841/0.001841, allocations: 59.92 kB / 348.4 MB, free: 9.383 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3076/0.3095, allocations: 49.15 MB / 397.6 MB, free: 9.391 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.RollingWheel): time 0.00319/0.3127, allocations: 2.019 MB / 399.6 MB, free: 8.035 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009004/0.3136, allocations: 0.5625 MB / 400.2 MB, free: 7.641 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001178/0.3137, allocations: 8.062 kB / 400.2 MB, free: 7.637 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001569/0.3138, allocations: 32.73 kB / 400.2 MB, free: 7.617 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000105/0.3139, allocations: 53.53 kB / 400.3 MB, free: 7.578 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001898/0.3141, allocations: 54.05 kB / 400.3 MB, free: 7.547 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002347/0.3144, allocations: 196.9 kB / 400.5 MB, free: 7.449 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001653/0.3145, allocations: 63.75 kB / 400.6 MB, free: 7.418 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.277e-05/0.3146, allocations: 75.55 kB / 400.6 MB, free: 7.383 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001337/0.3148, allocations: 74.97 kB / 400.7 MB, free: 7.348 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.26e-05/0.3148, allocations: 17.25 kB / 400.7 MB, free: 7.348 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.555e-05/0.3148, allocations: 16.22 kB / 400.7 MB, free: 7.348 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 3.618e-05/0.3149, allocations: 35 kB / 400.8 MB, free: 7.324 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 7.999e-05/0.3149, allocations: 75.45 kB / 400.9 MB, free: 7.285 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000285/0.3152, allocations: 212.2 kB / 401.1 MB, free: 7.207 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.3152, allocations: 9.094 kB / 401.1 MB, free: 7.199 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.064e-06/0.3152, allocations: 0 / 401.1 MB, free: 7.199 MB / 318.1 MB Notification: Performance of Transformations before backend: time 8.055e-06/0.3152, allocations: 0.6094 kB / 401.1 MB, free: 7.199 MB / 318.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.0006137/0.3159, allocations: 403 kB / 401.5 MB, free: 6.859 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.84e-05/0.3159, allocations: 12.98 kB / 401.5 MB, free: 6.855 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.226e-05/0.3159, allocations: 22.86 kB / 401.5 MB, free: 6.844 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00026/0.3162, allocations: 165.5 kB / 401.7 MB, free: 6.684 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.533e-05/0.3162, allocations: 19.22 kB / 401.7 MB, free: 6.672 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.42e-05/0.3163, allocations: 16.66 kB / 401.7 MB, free: 6.668 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003094/0.3166, allocations: 157.2 kB / 401.9 MB, free: 6.586 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.841e-05/0.3166, allocations: 5.375 kB / 401.9 MB, free: 6.582 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.849e-05/0.3166, allocations: 5.406 kB / 401.9 MB, free: 6.578 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.878e-06/0.3166, allocations: 4.859 kB / 401.9 MB, free: 6.578 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002357/0.3169, allocations: 102.1 kB / 402 MB, free: 6.547 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000782/0.3176, allocations: 483.1 kB / 402.4 MB, free: 6.191 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002271/0.3179, allocations: 112 kB / 402.5 MB, free: 6.133 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.377e-05/0.3179, allocations: 39.64 kB / 402.6 MB, free: 6.113 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.35e-05/0.318, allocations: 4.984 kB / 402.6 MB, free: 6.109 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.53e-05/0.318, allocations: 35.08 kB / 402.6 MB, free: 6.07 MB / 318.1 MB Notification: Performance of pre-optimization done (n=13): time 1.402e-06/0.318, allocations: 0 / 402.6 MB, free: 6.07 MB / 318.1 MB Notification: Performance of matching and sorting (n=18): time 0.001418/0.3194, allocations: 0.6613 MB / 403.3 MB, free: 5.621 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.809e-05/0.3194, allocations: 54.47 kB / 403.3 MB, free: 5.559 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001073/0.3195, allocations: 138.4 kB / 403.5 MB, free: 5.445 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.333e-05/0.3196, allocations: 30.73 kB / 403.5 MB, free: 5.41 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.245e-05/0.3196, allocations: 136.8 kB / 403.6 MB, free: 5.289 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.973e-05/0.3197, allocations: 60.25 kB / 403.7 MB, free: 5.242 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.563e-05/0.3197, allocations: 40.75 kB / 403.7 MB, free: 5.211 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.825e-05/0.3198, allocations: 322 kB / 404.1 MB, free: 4.895 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001029/0.3199, allocations: 49.03 kB / 404.1 MB, free: 4.875 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001168/0.32, allocations: 82.48 kB / 404.2 MB, free: 4.82 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000208/0.3202, allocations: 130.1 kB / 404.3 MB, free: 4.742 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.3202, allocations: 1.375 kB / 404.3 MB, free: 4.742 MB / 318.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0003741/0.3206, allocations: 198.1 kB / 404.5 MB, free: 4.645 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.741e-05/0.3206, allocations: 9.5 kB / 404.5 MB, free: 4.641 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.594e-06/0.3206, allocations: 8.781 kB / 404.5 MB, free: 4.637 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001834/0.3208, allocations: 35.98 kB / 404.6 MB, free: 4.621 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001563/0.3209, allocations: 35.84 kB / 404.6 MB, free: 4.617 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009622/0.3219, allocations: 1.395 MB / 406 MB, free: 3.289 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.249e-05/0.322, allocations: 12.38 kB / 406 MB, free: 3.281 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.478e-05/0.322, allocations: 8.688 kB / 406 MB, free: 3.277 MB / 318.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 9.548e-05/0.3221, allocations: 136.4 kB / 406.1 MB, free: 3.145 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.608e-05/0.3221, allocations: 13.47 kB / 406.2 MB, free: 3.137 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.826e-05/0.3222, allocations: 17.52 kB / 406.2 MB, free: 3.129 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.816e-06/0.3222, allocations: 2.156 kB / 406.2 MB, free: 3.129 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.182e-06/0.3222, allocations: 1.125 kB / 406.2 MB, free: 3.129 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.749e-06/0.3222, allocations: 1.219 kB / 406.2 MB, free: 3.129 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006941/0.3229, allocations: 0.5019 MB / 406.7 MB, free: 2.746 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.044e-06/0.3229, allocations: 4 kB / 406.7 MB, free: 2.742 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001405/0.323, allocations: 31.56 kB / 406.7 MB, free: 2.738 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001024/0.3231, allocations: 34.53 kB / 406.7 MB, free: 2.723 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.211e-05/0.3231, allocations: 1.094 kB / 406.7 MB, free: 2.723 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007653/0.3239, allocations: 1.343 MB / 408.1 MB, free: 1.43 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.054e-06/0.3239, allocations: 3.938 kB / 408.1 MB, free: 1.426 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004617/0.3244, allocations: 337.6 kB / 408.4 MB, free: 1.207 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.763e-05/0.3244, allocations: 11.88 kB / 408.4 MB, free: 1.199 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.884e-05/0.3244, allocations: 5.094 kB / 408.4 MB, free: 1.195 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.641e-05/0.3245, allocations: 8.531 kB / 408.4 MB, free: 1.191 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.499e-05/0.3245, allocations: 11.69 kB / 408.5 MB, free: 1.191 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.058e-05/0.3246, allocations: 7.25 kB / 408.5 MB, free: 1.188 MB / 318.1 MB Notification: Performance of sorting global known variables: time 6.057e-05/0.3246, allocations: 110.2 kB / 408.6 MB, free: 1.102 MB / 318.1 MB Notification: Performance of sort global known variables: time 6e-08/0.3246, allocations: 0 / 408.6 MB, free: 1.102 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0003043/0.3249, allocations: 45.97 kB / 408.6 MB, free: 1.094 MB / 318.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 9.138e-05/0.325, allocations: 101.5 kB / 408.7 MB, free: 1 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0004622/0.3255, allocations: 247 kB / 409 MB, free: 0.8438 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.3255, allocations: 0 / 409 MB, free: 0.8438 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002284/0.3257, allocations: 191.9 kB / 409.1 MB, free: 0.7031 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003392/0.326, allocations: 28.19 kB / 409.2 MB, free: 0.6875 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008467/0.3269, allocations: 0.5225 MB / 409.7 MB, free: 320 kB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001031/0.327, allocations: 119.3 kB / 409.8 MB, free: 240 kB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.569e-05/0.327, allocations: 16.44 kB / 409.8 MB, free: 236 kB / 318.1 MB Notification: Performance of SimCode: time 4.81e-07/0.327, allocations: 0 / 409.8 MB, free: 236 kB / 318.1 MB Notification: Performance of Templates: time 0.005753/0.3328, allocations: 2.917 MB / 412.7 MB, free: 15.37 MB / 334.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.RollingWheel.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.RollingWheel.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.RollingWheel.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.RollingWheel.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.RollingWheel.sim & ./Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.RollingWheel -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.RollingWheel.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.RollingWheel_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/Rotational/Examples/RollingWheel/RollingWheel.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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: 7.876819404773414]