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.0009688/0.0009688, allocations: 117 kB / 18.45 MB, free: 4.641 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001011/0.001011, allocations: 212.9 kB / 19.4 MB, free: 3.695 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.241/1.241, allocations: 227.4 MB / 247.6 MB, free: 10.48 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1875/0.1875, allocations: 46.1 MB / 344.9 MB, free: 11.52 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001243/0.001243, allocations: 79.86 kB / 482 MB, free: 4.105 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2748/0.2761, allocations: 62.44 MB / 0.5316 GB, free: 13.63 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.VoluminousWheel): time 0.00597/0.2821, allocations: 5.711 MB / 0.5372 GB, free: 9.148 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002998/0.2851, allocations: 1.834 MB / 0.539 GB, free: 7.73 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000333/0.2855, allocations: 19.81 kB / 0.539 GB, free: 7.73 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001028/0.2865, allocations: 0.5343 MB / 0.5395 GB, free: 7.352 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001225/0.2878, allocations: 0.6816 MB / 0.5402 GB, free: 6.883 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 8.83e-05/0.2879, allocations: 20.2 kB / 0.5402 GB, free: 6.867 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0014/0.2893, allocations: 1.428 MB / 0.5416 GB, free: 6.082 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007503/0.29, allocations: 0.7047 MB / 0.5423 GB, free: 5.641 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004911/0.2905, allocations: 491.3 kB / 0.5428 GB, free: 5.367 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007182/0.2913, allocations: 0.6765 MB / 0.5434 GB, free: 4.98 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001594/0.2914, allocations: 91.31 kB / 0.5435 GB, free: 4.977 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005115/0.2919, allocations: 313.6 kB / 0.5438 GB, free: 4.84 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004927/0.2924, allocations: 0.6595 MB / 0.5445 GB, free: 4.48 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006083/0.2931, allocations: 0.8209 MB / 0.5453 GB, free: 3.754 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002105/0.2952, allocations: 2.644 MB / 0.5479 GB, free: 1.105 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.142e-06/0.2952, allocations: 7.938 kB / 0.5479 GB, free: 1.098 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.353e-06/0.2952, allocations: 4 kB / 0.5479 GB, free: 1.094 MB / 398.1 MB Notification: Performance of Transformations before backend: time 2.493e-05/0.2952, allocations: 0 / 0.5479 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.00234/0.2976, allocations: 1.951 MB / 0.5498 GB, free: 15.09 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.325e-05/0.2976, allocations: 8.031 kB / 0.5498 GB, free: 15.08 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004196/0.3018, allocations: 1.472 MB / 0.5512 GB, free: 13.6 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001305/0.3031, allocations: 0.855 MB / 0.5521 GB, free: 12.71 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.147e-05/0.3032, allocations: 78.3 kB / 0.5521 GB, free: 12.63 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001932/0.3034, allocations: 99.84 kB / 0.5522 GB, free: 12.54 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004758/0.3082, allocations: 4.626 MB / 0.5567 GB, free: 7.504 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.353e-05/0.3082, allocations: 19.81 kB / 0.5568 GB, free: 7.484 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001465/0.3084, allocations: 55.92 kB / 0.5568 GB, free: 7.43 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001426/0.3098, allocations: 1.103 MB / 0.5579 GB, free: 6.32 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005275/0.3151, allocations: 4.004 MB / 0.5618 GB, free: 2.32 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0156/0.3307, allocations: 18.42 MB / 0.5798 GB, free: 15.25 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001198/0.3319, allocations: 1.173 MB / 0.5809 GB, free: 13.94 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003938/0.3324, allocations: 342.3 kB / 0.5813 GB, free: 13.59 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.286e-05/0.3324, allocations: 7.938 kB / 0.5813 GB, free: 13.59 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.557e-05/0.3324, allocations: 42.55 kB / 0.5813 GB, free: 13.54 MB / 446.1 MB Notification: Performance of pre-optimization done (n=60): time 2.845e-06/0.3324, allocations: 0 / 0.5813 GB, free: 13.54 MB / 446.1 MB Notification: Performance of matching and sorting (n=60): time 0.001382/0.3338, allocations: 1.029 MB / 0.5823 GB, free: 12.5 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.862e-05/0.3339, allocations: 106.8 kB / 0.5824 GB, free: 12.37 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002442/0.3363, allocations: 2.2 MB / 0.5846 GB, free: 10.12 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.448e-05/0.3364, allocations: 29.7 kB / 0.5846 GB, free: 10.09 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009254/0.3373, allocations: 1.621 MB / 0.5862 GB, free: 8.445 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001942/0.3375, allocations: 260.9 kB / 0.5864 GB, free: 8.188 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006776/0.3382, allocations: 0.6823 MB / 0.5871 GB, free: 7.496 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001296/0.3383, allocations: 353.9 kB / 0.5874 GB, free: 7.145 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001118/0.3395, allocations: 0.8965 MB / 0.5883 GB, free: 6.246 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002401/0.3419, allocations: 3.163 MB / 0.5914 GB, free: 1.941 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003947/0.3458, allocations: 4.453 MB / 0.5957 GB, free: 12.35 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.667e-05/0.3459, allocations: 28 kB / 0.5958 GB, free: 12.32 MB / 462.1 MB Notification: Performance of matching and sorting (n=434) (initialization): time 0.005027/0.3509, allocations: 3.839 MB / 0.5995 GB, free: 8.477 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.813e-05/0.351, allocations: 43.94 kB / 0.5996 GB, free: 8.434 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.966e-05/0.351, allocations: 80 kB / 0.5996 GB, free: 8.355 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.22e-05/0.3511, allocations: 108 kB / 0.5997 GB, free: 8.25 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001759/0.3529, allocations: 0.7492 MB / 0.6005 GB, free: 7.5 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001049/0.353, allocations: 159.4 kB / 0.6006 GB, free: 7.344 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001719/0.3547, allocations: 498.8 kB / 0.6011 GB, free: 6.852 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002186/0.355, allocations: 212 kB / 0.6013 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.001161/0.3561, allocations: 1.097 MB / 0.6024 GB, free: 5.535 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001974/0.3563, allocations: 165.8 kB / 0.6025 GB, free: 5.371 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002615/0.3566, allocations: 200 kB / 0.6027 GB, free: 5.176 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.524e-05/0.3566, allocations: 8 kB / 0.6027 GB, free: 5.168 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.163e-06/0.3566, allocations: 4 kB / 0.6027 GB, free: 5.164 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.823e-06/0.3567, allocations: 7.922 kB / 0.6027 GB, free: 5.156 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00266/0.3593, allocations: 2.015 MB / 0.6047 GB, free: 3.074 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.145e-06/0.3593, allocations: 0 / 0.6047 GB, free: 3.074 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002538/0.3596, allocations: 63.89 kB / 0.6048 GB, free: 3.012 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.918e-06/0.3596, allocations: 4 kB / 0.6048 GB, free: 3.008 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.758e-05/0.3596, allocations: 8 kB / 0.6048 GB, free: 3 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.59e-06/0.3597, allocations: 7.938 kB / 0.6048 GB, free: 2.992 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.664e-06/0.3597, allocations: 0 / 0.6048 GB, free: 2.992 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009387/0.3606, allocations: 1.031 MB / 0.6058 GB, free: 1.938 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002313/0.3608, allocations: 234.7 kB / 0.606 GB, free: 1.688 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001155/0.361, allocations: 8 kB / 0.606 GB, free: 1.68 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004429/0.3614, allocations: 27.91 kB / 0.606 GB, free: 1.652 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.158e-05/0.3615, allocations: 19.97 kB / 0.6061 GB, free: 1.633 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.406e-05/0.3615, allocations: 19.98 kB / 0.6061 GB, free: 1.613 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001593/0.3631, allocations: 1.375 MB / 0.6074 GB, free: 220 kB / 462.1 MB Notification: Performance of sort global known variables: time 2e-07/0.3631, allocations: 0 / 0.6074 GB, free: 220 kB / 462.1 MB Notification: Performance of remove unused functions: time 0.001949/0.3651, allocations: 490.9 kB / 0.6079 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.0002353/0.3653, allocations: 127.1 kB / 0.608 GB, free: 15.59 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.002449/0.3678, allocations: 2.057 MB / 0.61 GB, free: 13.56 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.3678, allocations: 0 / 0.61 GB, free: 13.56 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003473/0.3682, allocations: 336 kB / 0.6103 GB, free: 13.23 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008384/0.369, allocations: 165.4 kB / 0.6105 GB, free: 13.07 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00487/0.3739, allocations: 3.934 MB / 0.6143 GB, free: 9.09 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001438/0.3753, allocations: 1.794 MB / 0.6161 GB, free: 7.266 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003294/0.3757, allocations: 143.4 kB / 0.6162 GB, free: 7.125 MB / 478.1 MB Notification: Performance of SimCode: time 6.41e-07/0.3757, allocations: 4 kB / 0.6162 GB, free: 7.121 MB / 478.1 MB Notification: Performance of Templates: time 0.03414/0.4098, allocations: 25.8 MB / 0.6414 GB, free: 13.38 MB / 0.4981 GB 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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) Reference file matches