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.001411/0.001411, allocations: 107.6 kB / 21.18 MB, free: 460 kB / 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.001655/0.001655, allocations: 218.8 kB / 24.48 MB, free: 3.805 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.601/1.601, allocations: 207.7 MB / 235.3 MB, free: 9.812 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.001857/0.001857, allocations: 63.92 kB / 347.7 MB, free: 9.402 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3046/0.3065, allocations: 49.15 MB / 396.8 MB, free: 9.387 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.RollingWheel): time 0.003463/0.3099, allocations: 2.014 MB / 398.8 MB, free: 8.031 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001092/0.311, allocations: 0.5711 MB / 399.4 MB, free: 7.629 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001459/0.3112, allocations: 4.094 kB / 399.4 MB, free: 7.629 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001838/0.3113, allocations: 32.02 kB / 399.5 MB, free: 7.609 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001119/0.3114, allocations: 52.3 kB / 399.5 MB, free: 7.57 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002092/0.3117, allocations: 54.52 kB / 399.6 MB, free: 7.539 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002741/0.3119, allocations: 205.4 kB / 399.8 MB, free: 7.434 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001839/0.3121, allocations: 59.2 kB / 399.8 MB, free: 7.406 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000105/0.3122, allocations: 72.14 kB / 399.9 MB, free: 7.375 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001491/0.3124, allocations: 67.86 kB / 400 MB, free: 7.348 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.871e-05/0.3124, allocations: 16.53 kB / 400 MB, free: 7.348 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.13e-05/0.3125, allocations: 16.97 kB / 400 MB, free: 7.348 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 3.739e-05/0.3125, allocations: 42.22 kB / 400 MB, free: 7.316 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 8.925e-05/0.3126, allocations: 78.94 kB / 400.1 MB, free: 7.273 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003222/0.3129, allocations: 214.9 kB / 400.3 MB, free: 7.195 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.3129, allocations: 4 kB / 400.3 MB, free: 7.191 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.954e-06/0.3129, allocations: 0 / 400.3 MB, free: 7.191 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.217e-05/0.3129, allocations: 0 / 400.3 MB, free: 7.191 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.0006263/0.3136, allocations: 398.5 kB / 400.7 MB, free: 6.855 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.048e-05/0.3136, allocations: 13.14 kB / 400.7 MB, free: 6.852 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.414e-05/0.3136, allocations: 23.25 kB / 400.7 MB, free: 6.84 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002901/0.3139, allocations: 161.6 kB / 400.9 MB, free: 6.684 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.036e-05/0.314, allocations: 15.81 kB / 400.9 MB, free: 6.676 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.396e-05/0.314, allocations: 24.06 kB / 400.9 MB, free: 6.664 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003061/0.3143, allocations: 156.8 kB / 401.1 MB, free: 6.582 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.625e-05/0.3143, allocations: 5.312 kB / 401.1 MB, free: 6.578 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.855e-05/0.3143, allocations: 9.953 kB / 401.1 MB, free: 6.57 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.109e-05/0.3144, allocations: 4.281 kB / 401.1 MB, free: 6.57 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002263/0.3146, allocations: 102.7 kB / 401.2 MB, free: 6.539 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007325/0.3153, allocations: 490.6 kB / 401.7 MB, free: 6.176 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002231/0.3155, allocations: 107.9 kB / 401.8 MB, free: 6.121 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.333e-05/0.3156, allocations: 39.67 kB / 401.8 MB, free: 6.102 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.225e-05/0.3156, allocations: 5.188 kB / 401.8 MB, free: 6.098 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.847e-05/0.3157, allocations: 33.59 kB / 401.9 MB, free: 6.059 MB / 318.1 MB Notification: Performance of pre-optimization done (n=13): time 1.282e-06/0.3157, allocations: 0 / 401.9 MB, free: 6.059 MB / 318.1 MB Notification: Performance of matching and sorting (n=18): time 0.001353/0.317, allocations: 0.651 MB / 402.5 MB, free: 5.621 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.528e-05/0.317, allocations: 53.66 kB / 402.6 MB, free: 5.559 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001021/0.3171, allocations: 139.5 kB / 402.7 MB, free: 5.445 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.37e-05/0.3172, allocations: 26.55 kB / 402.7 MB, free: 5.414 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.197e-05/0.3172, allocations: 136.8 kB / 402.9 MB, free: 5.293 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.198e-05/0.3173, allocations: 72.03 kB / 402.9 MB, free: 5.234 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.858e-05/0.3173, allocations: 36.39 kB / 403 MB, free: 5.207 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 6.127e-05/0.3174, allocations: 326.5 kB / 403.3 MB, free: 4.887 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001076/0.3175, allocations: 46.02 kB / 403.3 MB, free: 4.871 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000119/0.3176, allocations: 81.25 kB / 403.4 MB, free: 4.816 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000226/0.3178, allocations: 130.6 kB / 403.5 MB, free: 4.738 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.112e-06/0.3178, allocations: 3.938 kB / 403.6 MB, free: 4.734 MB / 318.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0003582/0.3182, allocations: 194.9 kB / 403.7 MB, free: 4.641 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.756e-05/0.3182, allocations: 14.31 kB / 403.8 MB, free: 4.633 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.322e-06/0.3182, allocations: 1.25 kB / 403.8 MB, free: 4.633 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001793/0.3184, allocations: 46.58 kB / 403.8 MB, free: 4.609 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001583/0.3186, allocations: 30.61 kB / 403.8 MB, free: 4.609 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009232/0.3195, allocations: 1.4 MB / 405.2 MB, free: 3.277 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.218e-05/0.3196, allocations: 8.312 kB / 405.2 MB, free: 3.273 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.337e-05/0.3196, allocations: 5.203 kB / 405.2 MB, free: 3.273 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 8.923e-05/0.3197, allocations: 143.1 kB / 405.4 MB, free: 3.133 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.539e-05/0.3197, allocations: 15.22 kB / 405.4 MB, free: 3.125 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.584e-05/0.3197, allocations: 16.02 kB / 405.4 MB, free: 3.117 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.276e-06/0.3197, allocations: 2.875 kB / 405.4 MB, free: 3.117 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.728e-06/0.3197, allocations: 0.75 kB / 405.4 MB, free: 3.117 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.777e-06/0.3197, allocations: 2.172 kB / 405.4 MB, free: 3.117 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006757/0.3204, allocations: 0.4947 MB / 405.9 MB, free: 2.738 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.765e-06/0.3204, allocations: 5.344 kB / 405.9 MB, free: 2.734 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000147/0.3206, allocations: 30.66 kB / 406 MB, free: 2.73 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001082/0.3207, allocations: 31.56 kB / 406 MB, free: 2.719 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.454e-05/0.3207, allocations: 5.219 kB / 406 MB, free: 2.715 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008771/0.3216, allocations: 1.345 MB / 407.3 MB, free: 1.422 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.284e-06/0.3216, allocations: 3.938 kB / 407.3 MB, free: 1.418 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004727/0.322, allocations: 333 kB / 407.7 MB, free: 1.203 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.178e-05/0.3221, allocations: 20.48 kB / 407.7 MB, free: 1.188 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.011e-05/0.3221, allocations: 5.844 kB / 407.7 MB, free: 1.184 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.795e-05/0.3222, allocations: 6.984 kB / 407.7 MB, free: 1.18 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.331e-05/0.3222, allocations: 13.31 kB / 407.7 MB, free: 1.18 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.899e-06/0.3223, allocations: 9.906 kB / 407.7 MB, free: 1.172 MB / 318.1 MB Notification: Performance of sorting global known variables: time 6.937e-05/0.3223, allocations: 105 kB / 407.8 MB, free: 1.09 MB / 318.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3223, allocations: 2 kB / 407.8 MB, free: 1.09 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0003505/0.3227, allocations: 45.19 kB / 407.9 MB, free: 1.082 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 0.0001088/0.3228, allocations: 100 kB / 408 MB, free: 0.9883 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0005215/0.3233, allocations: 250.9 kB / 408.2 MB, free: 0.8281 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.616e-06/0.3233, allocations: 1.375 kB / 408.2 MB, free: 0.8281 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002272/0.3235, allocations: 182.8 kB / 408.4 MB, free: 0.6953 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000356/0.3239, allocations: 25.22 kB / 408.4 MB, free: 0.6836 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008575/0.3248, allocations: 0.4943 MB / 408.9 MB, free: 348 kB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001121/0.3249, allocations: 120 kB / 409 MB, free: 268 kB / 318.1 MB Notification: Performance of simCode: alias equations: time 6.474e-05/0.3249, allocations: 15.58 kB / 409 MB, free: 264 kB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.211e-05/0.325, allocations: 20.33 kB / 409.1 MB, free: 252 kB / 318.1 MB Notification: Performance of SimCode: time 3.6e-07/0.325, allocations: 0 / 409.1 MB, free: 252 kB / 318.1 MB Notification: Performance of Templates: time 0.005947/0.3309, allocations: 1.999 MB / 411.1 MB, free: 15.92 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/Rotational/Examples/RollingWheel/RollingWheel.csv","/var/lib/jenkins/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: 4.705079160630703]