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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) 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=10000,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=10000,variableFilter="time|inertia.phi|inertia.w",fileNamePrefix="Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.RollingWheel") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00124/0.00124, allocations: 110.5 kB / 17.73 MB, free: 5.234 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001371/0.001371, allocations: 183.1 kB / 18.65 MB, free: 4.316 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.508/1.508, allocations: 205.1 MB / 224.5 MB, free: 12.24 MB / 190.1 MB 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.001248/0.001248, allocations: 47.94 kB / 328.5 MB, free: 3.32 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09222/0.09347, allocations: 46.62 MB / 375.1 MB, free: 4.594 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.RollingWheel): time 0.003782/0.09731, allocations: 2.117 MB / 377.2 MB, free: 2.465 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001165/0.0985, allocations: 0.585 MB / 377.8 MB, free: 1.871 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001647/0.09869, allocations: 7.938 kB / 377.8 MB, free: 1.863 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002239/0.09896, allocations: 35.72 kB / 377.9 MB, free: 1.828 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001602/0.09913, allocations: 55.48 kB / 377.9 MB, free: 1.773 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002148/0.09935, allocations: 43.95 kB / 378 MB, free: 1.73 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002929/0.09965, allocations: 207 kB / 378.2 MB, free: 1.527 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002008/0.09986, allocations: 81.61 kB / 378.3 MB, free: 1.449 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001366/0.1, allocations: 71.78 kB / 378.3 MB, free: 1.379 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001521/0.1002, allocations: 95.55 kB / 378.4 MB, free: 1.285 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.766e-05/0.1002, allocations: 16 kB / 378.4 MB, free: 1.27 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.892e-05/0.1003, allocations: 16 kB / 378.4 MB, free: 1.254 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 4.951e-05/0.1003, allocations: 31.86 kB / 378.5 MB, free: 1.223 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001297/0.1005, allocations: 95.59 kB / 378.6 MB, free: 1.129 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003632/0.1008, allocations: 211.2 kB / 378.8 MB, free: 0.9219 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.613e-06/0.1009, allocations: 3.984 kB / 378.8 MB, free: 0.918 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.372e-06/0.1009, allocations: 0 / 378.8 MB, free: 0.918 MB / 318.1 MB Notification: Performance of Transformations before backend: time 9.228e-06/0.1009, allocations: 0 / 378.8 MB, free: 0.918 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.0007874/0.1017, allocations: 474.9 kB / 379.2 MB, free: 416 kB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.109e-05/0.1017, allocations: 8.031 kB / 379.3 MB, free: 408 kB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.263e-05/0.1018, allocations: 24.66 kB / 379.3 MB, free: 384 kB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004108/0.1022, allocations: 216.1 kB / 379.5 MB, free: 128 kB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.382e-05/0.1023, allocations: 12.38 kB / 379.5 MB, free: 116 kB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.181e-05/0.1023, allocations: 28.27 kB / 379.5 MB, free: 88 kB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2187/0.3211, allocations: 151.6 kB / 379.7 MB, free: 13.2 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.778e-05/0.3212, allocations: 6.547 kB / 379.7 MB, free: 13.2 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.356e-05/0.3212, allocations: 5.25 kB / 379.7 MB, free: 13.2 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.107e-06/0.3212, allocations: 4 kB / 379.7 MB, free: 13.2 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003412/0.3216, allocations: 103 kB / 379.8 MB, free: 13.2 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00095/0.3225, allocations: 0.5842 MB / 380.4 MB, free: 12.89 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002331/0.3228, allocations: 115.5 kB / 380.5 MB, free: 12.86 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000101/0.3229, allocations: 45.73 kB / 380.5 MB, free: 12.86 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.072e-05/0.3229, allocations: 1.406 kB / 380.5 MB, free: 12.86 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.844e-05/0.3229, allocations: 34.3 kB / 380.6 MB, free: 12.82 MB / 318.1 MB Notification: Performance of pre-optimization done (n=13): time 2.224e-06/0.3229, allocations: 3.438 kB / 380.6 MB, free: 12.82 MB / 318.1 MB Notification: Performance of matching and sorting (n=18): time 0.001533/0.3245, allocations: 0.7965 MB / 381.4 MB, free: 12.34 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.093e-05/0.3245, allocations: 54.31 kB / 381.4 MB, free: 12.28 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001593/0.3247, allocations: 160.1 kB / 381.6 MB, free: 12.18 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.793e-05/0.3247, allocations: 30.38 kB / 381.6 MB, free: 12.15 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.951e-05/0.3248, allocations: 131.7 kB / 381.7 MB, free: 12.04 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.441e-05/0.3249, allocations: 62.8 kB / 381.8 MB, free: 12 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.601e-05/0.3249, allocations: 35.22 kB / 381.8 MB, free: 11.99 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 7.473e-05/0.325, allocations: 334 kB / 382.2 MB, free: 11.67 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001088/0.3251, allocations: 45.52 kB / 382.2 MB, free: 11.67 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001293/0.3253, allocations: 72.42 kB / 382.3 MB, free: 11.64 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002149/0.3255, allocations: 132.2 kB / 382.4 MB, free: 11.61 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.153e-06/0.3255, allocations: 0 / 382.4 MB, free: 11.61 MB / 318.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.000434/0.3259, allocations: 212.9 kB / 382.6 MB, free: 11.51 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.929e-05/0.326, allocations: 10.64 kB / 382.6 MB, free: 11.51 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.763e-06/0.326, allocations: 2.906 kB / 382.6 MB, free: 11.51 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001716/0.3262, allocations: 40.5 kB / 382.7 MB, free: 11.5 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001628/0.3263, allocations: 36.08 kB / 382.7 MB, free: 11.49 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001125/0.3275, allocations: 1.541 MB / 384.2 MB, free: 10 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.195e-05/0.3276, allocations: 7.812 kB / 384.2 MB, free: 10 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.052e-05/0.3276, allocations: 4.844 kB / 384.2 MB, free: 10 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.93e-05/0.3277, allocations: 127.1 kB / 384.4 MB, free: 9.875 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.01e-05/0.3277, allocations: 12.64 kB / 384.4 MB, free: 9.871 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.072e-05/0.3278, allocations: 22.31 kB / 384.4 MB, free: 9.859 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.167e-06/0.3278, allocations: 8.812 kB / 384.4 MB, free: 9.855 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.346e-06/0.3278, allocations: 4.391 kB / 384.4 MB, free: 9.855 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.671e-06/0.3278, allocations: 2.578 kB / 384.4 MB, free: 9.855 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007266/0.3286, allocations: 0.5816 MB / 385 MB, free: 9.402 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.469e-06/0.3286, allocations: 0.5625 kB / 385 MB, free: 9.402 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001494/0.3287, allocations: 35.12 kB / 385 MB, free: 9.398 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001093/0.3288, allocations: 29.86 kB / 385.1 MB, free: 9.387 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.337e-05/0.3289, allocations: 5.312 kB / 385.1 MB, free: 9.383 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008261/0.3297, allocations: 1.481 MB / 386.6 MB, free: 7.918 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.3297, allocations: 0 / 386.6 MB, free: 7.918 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004537/0.3302, allocations: 338 kB / 386.9 MB, free: 7.699 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.807e-05/0.3302, allocations: 90.53 kB / 387 MB, free: 7.598 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.999e-05/0.3302, allocations: 5.125 kB / 387 MB, free: 7.594 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.35e-05/0.3303, allocations: 3.422 kB / 387 MB, free: 7.594 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.523e-05/0.3304, allocations: 18.73 kB / 387 MB, free: 7.586 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.038e-05/0.3304, allocations: 3.094 kB / 387 MB, free: 7.586 MB / 318.1 MB Notification: Performance of sorting global known variables: time 8.135e-05/0.3305, allocations: 122.7 kB / 387.1 MB, free: 7.496 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3305, allocations: 0 / 387.1 MB, free: 7.496 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.000289/0.3308, allocations: 46.44 kB / 387.2 MB, free: 7.488 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.0001175/0.3309, allocations: 102.3 kB / 387.3 MB, free: 7.395 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0004759/0.3314, allocations: 256.1 kB / 387.5 MB, free: 7.234 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.255e-06/0.3314, allocations: 0 / 387.5 MB, free: 7.234 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002281/0.3317, allocations: 194.8 kB / 387.7 MB, free: 7.094 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003322/0.332, allocations: 27.55 kB / 387.7 MB, free: 7.082 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008053/0.3328, allocations: 0.4892 MB / 388.2 MB, free: 6.773 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000161/0.333, allocations: 0.7293 MB / 389 MB, free: 6.07 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 6.826e-05/0.3331, allocations: 21.34 kB / 389 MB, free: 6.059 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.853e-05/0.3331, allocations: 15.47 kB / 389 MB, free: 6.051 MB / 318.1 MB Notification: Performance of SimCode: time 2.6e-07/0.3331, allocations: 0 / 389 MB, free: 6.051 MB / 318.1 MB Notification: Performance of Templates: time 0.005058/0.3382, allocations: 1.864 MB / 390.9 MB, free: 5.902 MB / 318.1 MB make -j1 -f Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.RollingWheel.makefile (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) 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) Reference file matches