Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.VoluminousWheel.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.001207/0.001207, allocations: 109.1 kB / 21.18 MB, free: 0.7656 MB / 14.72 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.00128/0.00128, allocations: 213.1 kB / 24.5 MB, free: 4.148 MB / 14.72 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 1.329/1.329, allocations: 230.5 MB / 258.1 MB, free: 8.02 MB / 206.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2091/0.2091, allocations: 46.92 MB / 361.5 MB, free: 4.168 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) 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(ModelicaTest.MultiBody.Visualizers.VoluminousWheel,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|voluminousWheel.n_rTire|voluminousWheel.n_rCurvature|voluminousWheel.rw|voluminousWheel.rCurvature2|voluminousWheel.kw|voluminousWheel.h|voluminousWheel.ri|voluminousWheel.rRim2",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.VoluminousWheel") translateModel(ModelicaTest.MultiBody.Visualizers.VoluminousWheel,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|voluminousWheel.n_rTire|voluminousWheel.n_rCurvature|voluminousWheel.rw|voluminousWheel.rCurvature2|voluminousWheel.kw|voluminousWheel.h|voluminousWheel.ri|voluminousWheel.rRim2",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.VoluminousWheel") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002194/0.002194, allocations: 75.88 kB / 0.4974 GB, free: 7.258 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2814/0.2835, allocations: 66.08 MB / 0.5619 GB, free: 4.242 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.VoluminousWheel): time 0.007059/0.2906, allocations: 5.759 MB / 0.5676 GB, free: 14.45 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.003426/0.294, allocations: 1.858 MB / 0.5694 GB, free: 12.59 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004478/0.2945, allocations: 23.94 kB / 0.5694 GB, free: 12.57 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001216/0.2957, allocations: 0.5446 MB / 0.5699 GB, free: 12.02 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001357/0.2971, allocations: 0.6886 MB / 0.5706 GB, free: 11.33 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001168/0.2972, allocations: 15.98 kB / 0.5706 GB, free: 11.31 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.001817/0.299, allocations: 1.428 MB / 0.572 GB, free: 9.883 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008434/0.2998, allocations: 0.7171 MB / 0.5727 GB, free: 9.152 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000547/0.3004, allocations: 498 kB / 0.5732 GB, free: 8.664 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009132/0.3013, allocations: 0.7434 MB / 0.5739 GB, free: 7.918 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001579/0.3014, allocations: 88 kB / 0.574 GB, free: 7.832 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005862/0.302, allocations: 327.5 kB / 0.5743 GB, free: 7.512 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005812/0.3026, allocations: 0.6814 MB / 0.575 GB, free: 6.828 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006753/0.3033, allocations: 0.8263 MB / 0.5758 GB, free: 5.996 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00262/0.3059, allocations: 2.652 MB / 0.5784 GB, free: 3.336 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.253e-06/0.3059, allocations: 4 kB / 0.5784 GB, free: 3.332 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.3059, allocations: 0 / 0.5784 GB, free: 3.332 MB / 414.1 MB Notification: Performance of Transformations before backend: time 3.002e-05/0.3059, allocations: 0 / 0.5784 GB, free: 3.332 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 706 * Number of variables: 706 Notification: Performance of Generate backend data structure: time 0.002738/0.3087, allocations: 1.935 MB / 0.5803 GB, free: 1.355 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.734e-05/0.3087, allocations: 8.031 kB / 0.5803 GB, free: 1.348 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004497/0.3132, allocations: 1.481 MB / 0.5817 GB, free: 15.86 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001702/0.3149, allocations: 0.795 MB / 0.5825 GB, free: 15.04 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.167e-05/0.315, allocations: 78.3 kB / 0.5826 GB, free: 14.96 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001927/0.3152, allocations: 103.8 kB / 0.5827 GB, free: 14.86 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005697/0.3209, allocations: 4.622 MB / 0.5872 GB, free: 9.832 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.365e-05/0.3209, allocations: 19.81 kB / 0.5872 GB, free: 9.812 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000159/0.3211, allocations: 55.92 kB / 0.5873 GB, free: 9.758 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001623/0.3227, allocations: 1.099 MB / 0.5883 GB, free: 8.66 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006109/0.3288, allocations: 4.003 MB / 0.5922 GB, free: 4.656 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01941/0.3482, allocations: 18.41 MB / 0.6102 GB, free: 1.59 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001174/0.3494, allocations: 0.6679 MB / 0.6109 GB, free: 0.8945 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004222/0.3498, allocations: 318.4 kB / 0.6112 GB, free: 0.5742 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.262e-05/0.3498, allocations: 8 kB / 0.6112 GB, free: 0.5664 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.889e-05/0.3499, allocations: 34.56 kB / 0.6112 GB, free: 0.5234 MB / 446.1 MB Notification: Performance of pre-optimization done (n=60): time 2.615e-06/0.3499, allocations: 0 / 0.6112 GB, free: 0.5234 MB / 446.1 MB Notification: Performance of matching and sorting (n=60): time 0.001543/0.3514, allocations: 1.04 MB / 0.6122 GB, free: 15.48 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.286e-05/0.3515, allocations: 106.9 kB / 0.6123 GB, free: 15.35 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002749/0.3542, allocations: 2.204 MB / 0.6145 GB, free: 13.1 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 4.591e-05/0.3543, allocations: 41.69 kB / 0.6145 GB, free: 13.05 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001213/0.3555, allocations: 1.691 MB / 0.6162 GB, free: 11.34 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002308/0.3557, allocations: 270.1 kB / 0.6164 GB, free: 11.07 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007651/0.3565, allocations: 0.6828 MB / 0.6171 GB, free: 10.38 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001685/0.3567, allocations: 353.9 kB / 0.6174 GB, free: 10.03 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001205/0.3579, allocations: 0.8965 MB / 0.6183 GB, free: 9.133 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002993/0.3608, allocations: 3.166 MB / 0.6214 GB, free: 4.824 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004885/0.3657, allocations: 4.45 MB / 0.6257 GB, free: 15.23 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.256e-05/0.3658, allocations: 24 kB / 0.6258 GB, free: 15.21 MB / 478.1 MB Notification: Performance of matching and sorting (n=434) (initialization): time 0.005901/0.3717, allocations: 3.848 MB / 0.6295 GB, free: 11.36 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.101e-05/0.3717, allocations: 40 kB / 0.6296 GB, free: 11.32 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.66e-05/0.3718, allocations: 80 kB / 0.6296 GB, free: 11.24 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001108/0.3719, allocations: 111.9 kB / 0.6298 GB, free: 11.13 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001864/0.3738, allocations: 0.7486 MB / 0.6305 GB, free: 10.38 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001242/0.3739, allocations: 159.4 kB / 0.6306 GB, free: 10.22 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001895/0.3758, allocations: 0.4963 MB / 0.6311 GB, free: 9.723 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002338/0.376, allocations: 208 kB / 0.6313 GB, free: 9.52 MB / 478.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 371 * Number of states: 0 () * Number of discrete variables: 12 (world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (410): * Single equations (assignments): 407 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001359/0.3774, allocations: 1.11 MB / 0.6324 GB, free: 8.398 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002409/0.3776, allocations: 174.8 kB / 0.6326 GB, free: 8.227 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002999/0.3779, allocations: 208.1 kB / 0.6328 GB, free: 8.023 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.712e-05/0.378, allocations: 8 kB / 0.6328 GB, free: 8.016 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.061e-06/0.378, allocations: 0 / 0.6328 GB, free: 8.016 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.428e-06/0.378, allocations: 0 / 0.6328 GB, free: 8.016 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003069/0.381, allocations: 1.983 MB / 0.6347 GB, free: 5.973 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.537e-06/0.381, allocations: 3.938 kB / 0.6347 GB, free: 5.969 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002666/0.3813, allocations: 67.89 kB / 0.6348 GB, free: 5.902 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.038e-06/0.3813, allocations: 4 kB / 0.6348 GB, free: 5.898 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.866e-05/0.3813, allocations: 12 kB / 0.6348 GB, free: 5.887 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.005e-06/0.3814, allocations: 7.938 kB / 0.6348 GB, free: 5.879 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.432e-06/0.3814, allocations: 0 / 0.6348 GB, free: 5.879 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001075/0.3824, allocations: 1.038 MB / 0.6358 GB, free: 4.816 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002894/0.3827, allocations: 166.7 kB / 0.636 GB, free: 4.652 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001277/0.3828, allocations: 8 kB / 0.636 GB, free: 4.645 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004559/0.3833, allocations: 31.89 kB / 0.636 GB, free: 4.613 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.853e-05/0.3834, allocations: 23.95 kB / 0.636 GB, free: 4.59 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.066e-05/0.3834, allocations: 16 kB / 0.636 GB, free: 4.574 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.001777/0.3852, allocations: 1.371 MB / 0.6374 GB, free: 3.18 MB / 478.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3852, allocations: 0 / 0.6374 GB, free: 3.18 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.00206/0.3872, allocations: 495.1 kB / 0.6379 GB, free: 2.695 MB / 478.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 simulation (36): * Single equations (assignments): 33 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002368/0.3875, allocations: 131.2 kB / 0.638 GB, free: 2.559 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.002804/0.3903, allocations: 1.968 MB / 0.6399 GB, free: 0.6094 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/0.3903, allocations: 0 / 0.6399 GB, free: 0.6094 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003678/0.3906, allocations: 307.7 kB / 0.6402 GB, free: 316 kB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008675/0.3915, allocations: 170.9 kB / 0.6404 GB, free: 144 kB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005533/0.397, allocations: 3.987 MB / 0.6443 GB, free: 12.1 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001591/0.3986, allocations: 1.79 MB / 0.646 GB, free: 10.28 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003363/0.399, allocations: 147.4 kB / 0.6461 GB, free: 10.13 MB / 494.1 MB Notification: Performance of SimCode: time 8.81e-07/0.399, allocations: 0 / 0.6461 GB, free: 10.13 MB / 494.1 MB Notification: Performance of Templates: time 0.0383/0.4373, allocations: 25.89 MB / 0.6714 GB, free: 316 kB / 0.4981 GB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.VoluminousWheel.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.VoluminousWheel.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.VoluminousWheel.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.VoluminousWheel.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.VoluminousWheel.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.VoluminousWheel -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.VoluminousWheel.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.VoluminousWheel_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Visualizers/VoluminousWheel/VoluminousWheel.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.VoluminousWheel.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: 8.52689014794305]