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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) 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=5000,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=5000,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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001487/0.001486, allocations: 118.8 kB / 17.79 MB, free: 5.285 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00151/0.001509, allocations: 201.2 kB / 18.73 MB, free: 4.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.402/1.402, allocations: 227.4 MB / 246.9 MB, free: 10.53 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2311/0.2311, allocations: 46.1 MB / 344.3 MB, free: 11.51 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001265/0.001265, allocations: 79.86 kB / 481.3 MB, free: 4.086 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3551/0.3564, allocations: 62.44 MB / 0.531 GB, free: 13.61 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.VoluminousWheel): time 0.007319/0.3638, allocations: 5.709 MB / 0.5366 GB, free: 9.129 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.004476/0.3683, allocations: 1.837 MB / 0.5383 GB, free: 7.707 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001122/0.3695, allocations: 19.81 kB / 0.5384 GB, free: 7.707 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001551/0.3711, allocations: 0.5262 MB / 0.5389 GB, free: 7.336 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002313/0.3734, allocations: 0.6825 MB / 0.5395 GB, free: 6.867 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001283/0.3735, allocations: 19.45 kB / 0.5396 GB, free: 6.852 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.002435/0.376, allocations: 1.428 MB / 0.541 GB, free: 6.066 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001051/0.3771, allocations: 0.7169 MB / 0.5417 GB, free: 5.613 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007488/0.3778, allocations: 483.7 kB / 0.5421 GB, free: 5.348 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009932/0.3788, allocations: 0.6753 MB / 0.5428 GB, free: 4.961 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002421/0.3791, allocations: 87.75 kB / 0.5429 GB, free: 4.961 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007913/0.3799, allocations: 313.2 kB / 0.5432 GB, free: 4.824 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006703/0.3806, allocations: 0.6605 MB / 0.5438 GB, free: 4.465 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007932/0.3814, allocations: 0.8232 MB / 0.5446 GB, free: 3.754 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00289/0.3843, allocations: 2.655 MB / 0.5472 GB, free: 1.094 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.713e-06/0.3843, allocations: 0 / 0.5472 GB, free: 1.094 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.154e-06/0.3843, allocations: 0 / 0.5472 GB, free: 1.094 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.722e-05/0.3844, allocations: 0 / 0.5472 GB, free: 1.094 MB / 398.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.002938/0.3873, allocations: 1.944 MB / 0.5491 GB, free: 15.09 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.14e-05/0.3873, allocations: 12.03 kB / 0.5491 GB, free: 15.08 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004879/0.3922, allocations: 1.476 MB / 0.5506 GB, free: 13.6 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001657/0.3939, allocations: 0.8512 MB / 0.5514 GB, free: 12.71 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.133e-05/0.394, allocations: 82.28 kB / 0.5515 GB, free: 12.63 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002067/0.3942, allocations: 103.8 kB / 0.5516 GB, free: 12.53 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00588/0.4001, allocations: 4.626 MB / 0.5561 GB, free: 7.5 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.923e-05/0.4002, allocations: 19.81 kB / 0.5561 GB, free: 7.48 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001732/0.4003, allocations: 55.92 kB / 0.5562 GB, free: 7.426 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001776/0.4021, allocations: 1.099 MB / 0.5572 GB, free: 6.32 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006408/0.4085, allocations: 4.004 MB / 0.5611 GB, free: 2.32 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0192/0.4278, allocations: 18.41 MB / 0.5791 GB, free: 15.25 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001439/0.4292, allocations: 1.183 MB / 0.5803 GB, free: 13.93 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000451/0.4297, allocations: 346.3 kB / 0.5806 GB, free: 13.58 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.16e-05/0.4297, allocations: 4 kB / 0.5806 GB, free: 13.58 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.75e-05/0.4298, allocations: 38.56 kB / 0.5806 GB, free: 13.53 MB / 446.1 MB Notification: Performance of pre-optimization done (n=60): time 3.096e-06/0.4298, allocations: 0 / 0.5806 GB, free: 13.53 MB / 446.1 MB Notification: Performance of matching and sorting (n=60): time 0.001557/0.4314, allocations: 1.029 MB / 0.5816 GB, free: 12.5 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.389e-05/0.4314, allocations: 110.8 kB / 0.5818 GB, free: 12.36 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00301/0.4345, allocations: 2.196 MB / 0.5839 GB, free: 10.12 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 4.48e-05/0.4345, allocations: 33.7 kB / 0.5839 GB, free: 10.08 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001285/0.4358, allocations: 1.625 MB / 0.5855 GB, free: 8.434 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002477/0.4361, allocations: 264.9 kB / 0.5858 GB, free: 8.172 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007952/0.4369, allocations: 0.6706 MB / 0.5864 GB, free: 7.492 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001533/0.437, allocations: 353.9 kB / 0.5868 GB, free: 7.141 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001222/0.4383, allocations: 0.8926 MB / 0.5876 GB, free: 6.246 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003446/0.4417, allocations: 3.166 MB / 0.5907 GB, free: 1.938 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00521/0.4469, allocations: 4.459 MB / 0.5951 GB, free: 12.34 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.865e-05/0.447, allocations: 24 kB / 0.5951 GB, free: 12.32 MB / 462.1 MB Notification: Performance of matching and sorting (n=434) (initialization): time 0.007243/0.4543, allocations: 3.842 MB / 0.5989 GB, free: 8.469 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.189e-05/0.4544, allocations: 47.97 kB / 0.5989 GB, free: 8.422 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001043/0.4545, allocations: 80 kB / 0.599 GB, free: 8.344 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001142/0.4546, allocations: 104 kB / 0.5991 GB, free: 8.242 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002373/0.457, allocations: 0.7486 MB / 0.5998 GB, free: 7.492 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000126/0.4572, allocations: 159.4 kB / 0.6 GB, free: 7.336 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002226/0.4594, allocations: 486.8 kB / 0.6004 GB, free: 6.855 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002681/0.4597, allocations: 216 kB / 0.6006 GB, free: 6.645 MB / 462.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.001384/0.4611, allocations: 1.105 MB / 0.6017 GB, free: 5.527 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002393/0.4613, allocations: 165.8 kB / 0.6019 GB, free: 5.363 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003107/0.4616, allocations: 196 kB / 0.6021 GB, free: 5.172 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.856e-05/0.4617, allocations: 8 kB / 0.6021 GB, free: 5.164 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.4e-05/0.4617, allocations: 8 kB / 0.6021 GB, free: 5.156 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.273e-06/0.4617, allocations: 7.922 kB / 0.6021 GB, free: 5.148 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00322/0.4649, allocations: 2.007 MB / 0.604 GB, free: 3.074 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.06e-06/0.4649, allocations: 0 / 0.604 GB, free: 3.074 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000284/0.4652, allocations: 63.91 kB / 0.6041 GB, free: 3.012 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.192e-06/0.4652, allocations: 4 kB / 0.6041 GB, free: 3.008 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.014e-05/0.4653, allocations: 11.98 kB / 0.6041 GB, free: 2.996 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.204e-06/0.4653, allocations: 7.938 kB / 0.6041 GB, free: 2.988 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.014e-06/0.4653, allocations: 0 / 0.6041 GB, free: 2.988 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001147/0.4664, allocations: 1.027 MB / 0.6051 GB, free: 1.938 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002934/0.4668, allocations: 234.7 kB / 0.6053 GB, free: 1.688 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001355/0.4669, allocations: 12 kB / 0.6054 GB, free: 1.676 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000466/0.4674, allocations: 27.91 kB / 0.6054 GB, free: 1.648 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.017e-05/0.4674, allocations: 23.97 kB / 0.6054 GB, free: 1.625 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.016e-05/0.4675, allocations: 16 kB / 0.6054 GB, free: 1.609 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001812/0.4693, allocations: 1.367 MB / 0.6068 GB, free: 224 kB / 462.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.4693, allocations: 0 / 0.6068 GB, free: 224 kB / 462.1 MB Notification: Performance of remove unused functions: time 0.002297/0.4716, allocations: 494.8 kB / 0.6072 GB, free: 15.73 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.0002956/0.4719, allocations: 135 kB / 0.6074 GB, free: 15.59 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.003164/0.4751, allocations: 2.046 MB / 0.6094 GB, free: 13.56 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 4.138e-06/0.4751, allocations: 0 / 0.6094 GB, free: 13.56 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003975/0.4755, allocations: 332.9 kB / 0.6097 GB, free: 13.24 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001034/0.4766, allocations: 176.2 kB / 0.6098 GB, free: 13.06 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005665/0.4822, allocations: 3.701 MB / 0.6135 GB, free: 9.32 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001625/0.4839, allocations: 1.786 MB / 0.6152 GB, free: 7.504 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.002152/0.4861, allocations: 1.117 MB / 0.6163 GB, free: 6.383 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002499/0.4863, allocations: 115.4 kB / 0.6164 GB, free: 6.27 MB / 478.1 MB Notification: Performance of SimCode: time 1.433e-06/0.4863, allocations: 4 kB / 0.6164 GB, free: 6.266 MB / 478.1 MB Notification: Performance of Templates: time 0.02682/0.5132, allocations: 13.66 MB / 0.6297 GB, free: 8.629 MB / 494.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.VoluminousWheel.makefile (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) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.VoluminousWheel_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Visualizers/VoluminousWheel/VoluminousWheel.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.VoluminousWheel.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches