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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00188/0.00188, allocations: 103.9 kB / 19.75 MB, free: 2.656 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0025/0.0025, allocations: 189.6 kB / 22.92 MB, free: 5.48 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.546/1.546, allocations: 207.6 MB / 233.5 MB, free: 10.98 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001753/0.001753, allocations: 55.92 kB / 345.4 MB, free: 10.46 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3672/0.369, allocations: 49.12 MB / 394.5 MB, free: 9.43 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.RollingWheel): time 0.003073/0.3721, allocations: 2.129 MB / 396.6 MB, free: 7.949 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009106/0.373, allocations: 0.6066 MB / 397.2 MB, free: 7.508 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001269/0.3731, allocations: 3.938 kB / 397.2 MB, free: 7.508 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001686/0.3733, allocations: 32.45 kB / 397.3 MB, free: 7.488 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001007/0.3734, allocations: 56.64 kB / 397.3 MB, free: 7.445 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002436/0.3736, allocations: 45.14 kB / 397.4 MB, free: 7.422 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002659/0.3739, allocations: 206.3 kB / 397.6 MB, free: 7.316 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001647/0.374, allocations: 54.39 kB / 397.6 MB, free: 7.289 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.829e-05/0.3741, allocations: 80.05 kB / 397.7 MB, free: 7.25 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001508/0.3743, allocations: 78.83 kB / 397.8 MB, free: 7.211 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.624e-05/0.3743, allocations: 16.72 kB / 397.8 MB, free: 7.211 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.569e-05/0.3744, allocations: 16.38 kB / 397.8 MB, free: 7.211 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 3.92e-05/0.3744, allocations: 42.94 kB / 397.9 MB, free: 7.18 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 8.437e-05/0.3745, allocations: 91.92 kB / 397.9 MB, free: 7.125 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002859/0.3748, allocations: 214.2 kB / 398.2 MB, free: 7.047 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.579e-06/0.3748, allocations: 0 / 398.2 MB, free: 7.047 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.833e-06/0.3748, allocations: 1.156 kB / 398.2 MB, free: 7.047 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.372e-06/0.3748, allocations: 7.875 kB / 398.2 MB, free: 7.039 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.0006534/0.3754, allocations: 477.8 kB / 398.6 MB, free: 6.605 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.106e-05/0.3755, allocations: 11.11 kB / 398.6 MB, free: 6.605 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.893e-05/0.3755, allocations: 21.64 kB / 398.7 MB, free: 6.594 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002979/0.3758, allocations: 223.2 kB / 398.9 MB, free: 6.367 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.91e-05/0.3759, allocations: 11.28 kB / 398.9 MB, free: 6.363 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.492e-05/0.3759, allocations: 24.61 kB / 398.9 MB, free: 6.352 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003298/0.3762, allocations: 160.8 kB / 399.1 MB, free: 6.266 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.672e-05/0.3762, allocations: 0.9062 kB / 399.1 MB, free: 6.266 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.102e-05/0.3763, allocations: 5.734 kB / 399.1 MB, free: 6.262 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.176e-06/0.3763, allocations: 8.625 kB / 399.1 MB, free: 6.258 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002397/0.3765, allocations: 103.6 kB / 399.2 MB, free: 6.227 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008649/0.3774, allocations: 0.591 MB / 399.8 MB, free: 5.777 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002316/0.3776, allocations: 108.2 kB / 399.9 MB, free: 5.723 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.499e-05/0.3777, allocations: 39.19 kB / 399.9 MB, free: 5.703 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.923e-05/0.3777, allocations: 2.125 kB / 399.9 MB, free: 5.703 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.141e-05/0.3777, allocations: 35.81 kB / 400 MB, free: 5.66 MB / 318.1 MB Notification: Performance of pre-optimization done (n=13): time 1.183e-06/0.3777, allocations: 0 / 400 MB, free: 5.66 MB / 318.1 MB Notification: Performance of matching and sorting (n=18): time 0.001408/0.3791, allocations: 0.8056 MB / 400.8 MB, free: 5.031 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.486e-05/0.3792, allocations: 54.12 kB / 400.8 MB, free: 4.969 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001317/0.3793, allocations: 160.1 kB / 401 MB, free: 4.848 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.393e-05/0.3793, allocations: 31.39 kB / 401 MB, free: 4.812 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.719e-05/0.3794, allocations: 127.3 kB / 401.1 MB, free: 4.699 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.775e-05/0.3794, allocations: 68.14 kB / 401.2 MB, free: 4.645 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.777e-05/0.3795, allocations: 35.98 kB / 401.2 MB, free: 4.617 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 6.294e-05/0.3795, allocations: 327.8 kB / 401.6 MB, free: 4.297 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000136/0.3797, allocations: 45.05 kB / 401.6 MB, free: 4.281 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001276/0.3798, allocations: 80.64 kB / 401.7 MB, free: 4.227 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002077/0.38, allocations: 127.3 kB / 401.8 MB, free: 4.152 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.874e-06/0.38, allocations: 0.75 kB / 401.8 MB, free: 4.152 MB / 318.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0003728/0.3804, allocations: 210.7 kB / 402 MB, free: 4.043 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.722e-05/0.3804, allocations: 5.875 kB / 402 MB, free: 4.043 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.462e-06/0.3804, allocations: 1.625 kB / 402 MB, free: 4.043 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001761/0.3806, allocations: 35.59 kB / 402 MB, free: 4.031 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000163/0.3807, allocations: 37.62 kB / 402.1 MB, free: 4.023 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001007/0.3818, allocations: 1.54 MB / 403.6 MB, free: 2.523 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.397e-05/0.3819, allocations: 8.125 kB / 403.6 MB, free: 2.52 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.72e-05/0.3819, allocations: 8.625 kB / 403.6 MB, free: 2.516 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 0.0001039/0.382, allocations: 143.8 kB / 403.8 MB, free: 2.375 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.948e-05/0.382, allocations: 19.16 kB / 403.8 MB, free: 2.363 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.533e-05/0.3821, allocations: 21.92 kB / 403.8 MB, free: 2.344 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.019e-06/0.3821, allocations: 2.953 kB / 403.8 MB, free: 2.344 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.073e-06/0.3821, allocations: 1.219 kB / 403.8 MB, free: 2.344 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.042e-06/0.3821, allocations: 5.062 kB / 403.8 MB, free: 2.34 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008159/0.3829, allocations: 0.5733 MB / 404.4 MB, free: 1.891 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.256e-06/0.3829, allocations: 0.75 kB / 404.4 MB, free: 1.891 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001836/0.3831, allocations: 31.98 kB / 404.4 MB, free: 1.887 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001311/0.3832, allocations: 34.03 kB / 404.5 MB, free: 1.871 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.58e-05/0.3832, allocations: 1.641 kB / 404.5 MB, free: 1.871 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009932/0.3842, allocations: 1.475 MB / 405.9 MB, free: 420 kB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-06/0.3842, allocations: 0 / 405.9 MB, free: 420 kB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005515/0.3848, allocations: 340.8 kB / 406.3 MB, free: 192 kB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.451e-05/0.3848, allocations: 94.86 kB / 406.4 MB, free: 84 kB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.081e-05/0.3848, allocations: 1.281 kB / 406.4 MB, free: 84 kB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001015/0.3849, allocations: 11.81 kB / 406.4 MB, free: 76 kB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.738e-05/0.385, allocations: 10.98 kB / 406.4 MB, free: 76 kB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.192e-05/0.385, allocations: 3.531 kB / 406.4 MB, free: 76 kB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001482/0.3852, allocations: 126.2 kB / 406.5 MB, free: 15.98 MB / 334.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3852, allocations: 0 / 406.5 MB, free: 15.98 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003577/0.3855, allocations: 42.34 kB / 406.6 MB, free: 15.98 MB / 334.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.0001654/0.3857, allocations: 110.2 kB / 406.7 MB, free: 15.88 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0006392/0.3863, allocations: 253.1 kB / 406.9 MB, free: 15.71 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.414e-06/0.3863, allocations: 8.062 kB / 406.9 MB, free: 15.71 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003088/0.3866, allocations: 193.2 kB / 407.1 MB, free: 15.57 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003997/0.387, allocations: 23.77 kB / 407.1 MB, free: 15.55 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001236/0.3883, allocations: 0.5011 MB / 407.6 MB, free: 15.21 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004268/0.3887, allocations: 0.729 MB / 408.4 MB, free: 14.51 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 7.891e-05/0.3888, allocations: 17.55 kB / 408.4 MB, free: 14.51 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.349e-05/0.3888, allocations: 17.41 kB / 408.4 MB, free: 14.5 MB / 334.1 MB Notification: Performance of SimCode: time 7.22e-07/0.3888, allocations: 0 / 408.4 MB, free: 14.5 MB / 334.1 MB Notification: Performance of Templates: time 0.006738/0.3956, allocations: 1.926 MB / 410.3 MB, free: 14.3 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.871974311769009]