Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Visualizers.VoluminousWheel.conf.json 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/ModelicaServices 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 ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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) 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_cpp_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_cpp_ModelicaTest.MultiBody.Visualizers.VoluminousWheel") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001218/0.001218, allocations: 200.9 kB / 15.8 MB, free: 6.309 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.269/1.269, allocations: 226.6 MB / 243.1 MB, free: 14.28 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.000769/0.0007689, allocations: 99.03 kB / 295.1 MB, free: 10.04 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1732/0.1732, allocations: 44.83 MB / 392 MB, free: 9.312 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003059/0.000306, allocations: 7.984 kB / 464.7 MB, free: 49.76 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09211/0.09244, allocations: 62.95 MB / 0.5153 GB, free: 2.77 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.VoluminousWheel): time 0.1722/0.2647, allocations: 8.201 MB / 0.5233 GB, free: 8.133 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.003273/0.268, allocations: 2.254 MB / 0.5255 GB, free: 6.625 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004594/0.2685, allocations: 31.28 kB / 0.5256 GB, free: 6.621 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006312/0.2691, allocations: 369.8 kB / 0.5259 GB, free: 6.5 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001762/0.2709, allocations: 1.114 MB / 0.527 GB, free: 6.039 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 9.657e-05/0.271, allocations: 21.34 kB / 0.527 GB, free: 6.027 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.001443/0.2725, allocations: 1.584 MB / 0.5286 GB, free: 5.48 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001066/0.2735, allocations: 0.8978 MB / 0.5294 GB, free: 5.086 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005241/0.2741, allocations: 464.9 kB / 0.5299 GB, free: 4.945 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007697/0.2749, allocations: 0.7057 MB / 0.5306 GB, free: 4.734 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001236/0.275, allocations: 54.31 kB / 0.5306 GB, free: 4.734 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000516/0.2755, allocations: 271.9 kB / 0.5309 GB, free: 4.672 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005301/0.276, allocations: 0.6273 MB / 0.5315 GB, free: 4.477 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002286/0.2763, allocations: 366 kB / 0.5318 GB, free: 4.203 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001963/0.2783, allocations: 1.999 MB / 0.5338 GB, free: 3.781 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.2783, allocations: 0.9688 kB / 0.5338 GB, free: 3.781 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.403e-06/0.2783, allocations: 4 kB / 0.5338 GB, free: 3.777 MB / 346.7 MB Notification: Performance of Transformations before backend: time 3.084e-05/0.2783, allocations: 0 / 0.5338 GB, free: 3.777 MB / 346.7 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.002131/0.2804, allocations: 1.67 MB / 0.5354 GB, free: 2.664 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.601e-05/0.2805, allocations: 9.969 kB / 0.5354 GB, free: 2.664 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004287/0.2848, allocations: 1.517 MB / 0.5369 GB, free: 2.047 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001175/0.286, allocations: 0.8483 MB / 0.5378 GB, free: 1.441 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.002e-05/0.286, allocations: 81.81 kB / 0.5378 GB, free: 1.398 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001723/0.2862, allocations: 94.27 kB / 0.5379 GB, free: 1.367 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004907/0.2911, allocations: 4.615 MB / 0.5424 GB, free: 14.44 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.994e-05/0.2912, allocations: 23.77 kB / 0.5424 GB, free: 14.42 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000161/0.2914, allocations: 63.08 kB / 0.5425 GB, free: 14.38 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001674/0.293, allocations: 1.101 MB / 0.5436 GB, free: 13.94 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005718/0.2988, allocations: 3.986 MB / 0.5475 GB, free: 12.17 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01589/0.3147, allocations: 18.48 MB / 0.5655 GB, free: 9.059 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001156/0.3159, allocations: 1.17 MB / 0.5667 GB, free: 7.75 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004178/0.3163, allocations: 348.2 kB / 0.567 GB, free: 7.402 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.649e-05/0.3163, allocations: 4 kB / 0.567 GB, free: 7.398 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.36e-05/0.3163, allocations: 42.55 kB / 0.567 GB, free: 7.348 MB / 378.7 MB Notification: Performance of pre-optimization done (n=60): time 3.035e-06/0.3163, allocations: 0 / 0.567 GB, free: 7.348 MB / 378.7 MB Notification: Performance of matching and sorting (n=60): time 0.001344/0.3177, allocations: 1.03 MB / 0.568 GB, free: 6.316 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.422e-05/0.3178, allocations: 106.8 kB / 0.5681 GB, free: 6.188 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002469/0.3202, allocations: 2.2 MB / 0.5703 GB, free: 3.941 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.414e-05/0.3203, allocations: 33.7 kB / 0.5703 GB, free: 3.902 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009591/0.3212, allocations: 1.617 MB / 0.5719 GB, free: 2.258 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002055/0.3215, allocations: 269 kB / 0.5722 GB, free: 1.992 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001105/0.3216, allocations: 68 kB / 0.5722 GB, free: 1.926 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0002608/0.3218, allocations: 0.4902 MB / 0.5727 GB, free: 1.426 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001141/0.323, allocations: 0.8887 MB / 0.5736 GB, free: 0.5352 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002477/0.3255, allocations: 3.151 MB / 0.5767 GB, free: 12.24 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001919/0.3274, allocations: 1.674 MB / 0.5783 GB, free: 10.56 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.769e-05/0.3274, allocations: 24 kB / 0.5783 GB, free: 10.54 MB / 394.7 MB Notification: Performance of matching and sorting (n=434) (initialization): time 0.004908/0.3324, allocations: 3.822 MB / 0.582 GB, free: 6.715 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.277e-05/0.3324, allocations: 40 kB / 0.5821 GB, free: 6.676 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.471e-05/0.3325, allocations: 84.28 kB / 0.5822 GB, free: 6.594 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001005/0.3326, allocations: 116 kB / 0.5823 GB, free: 6.48 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001822/0.3344, allocations: 0.7486 MB / 0.583 GB, free: 5.73 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001084/0.3345, allocations: 163.9 kB / 0.5832 GB, free: 5.57 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001918/0.3365, allocations: 498.8 kB / 0.5836 GB, free: 5.078 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002311/0.3367, allocations: 216 kB / 0.5838 GB, free: 4.867 MB / 394.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001368/0.3381, allocations: 1.101 MB / 0.5849 GB, free: 3.758 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001996/0.3383, allocations: 177.7 kB / 0.5851 GB, free: 3.582 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002564/0.3385, allocations: 196.1 kB / 0.5853 GB, free: 3.391 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.687e-05/0.3386, allocations: 8 kB / 0.5853 GB, free: 3.383 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.202e-06/0.3386, allocations: 4 kB / 0.5853 GB, free: 3.379 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.901e-06/0.3386, allocations: 3.984 kB / 0.5853 GB, free: 3.375 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002814/0.3414, allocations: 2.012 MB / 0.5873 GB, free: 1.297 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.507e-06/0.3414, allocations: 0 / 0.5873 GB, free: 1.297 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002669/0.3417, allocations: 63.89 kB / 0.5873 GB, free: 1.234 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.057e-06/0.3417, allocations: 0 / 0.5873 GB, free: 1.234 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.66e-05/0.3417, allocations: 8 kB / 0.5873 GB, free: 1.227 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.689e-06/0.3418, allocations: 4 kB / 0.5873 GB, free: 1.223 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.3418, allocations: 4 kB / 0.5873 GB, free: 1.219 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009555/0.3427, allocations: 1.028 MB / 0.5883 GB, free: 176 kB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002594/0.343, allocations: 246.8 kB / 0.5886 GB, free: 15.91 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001459/0.3431, allocations: 8 kB / 0.5886 GB, free: 15.9 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004748/0.3436, allocations: 27.97 kB / 0.5886 GB, free: 15.87 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.347e-05/0.3437, allocations: 19.97 kB / 0.5886 GB, free: 15.85 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.343e-05/0.3437, allocations: 20 kB / 0.5886 GB, free: 15.83 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001654/0.3454, allocations: 1.368 MB / 0.59 GB, free: 14.44 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.51e-07/0.3454, allocations: 0 / 0.59 GB, free: 14.44 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001944/0.3473, allocations: 0.4949 MB / 0.5905 GB, free: 13.95 MB / 410.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000226/0.3476, allocations: 135.2 kB / 0.5906 GB, free: 13.8 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.002435/0.35, allocations: 2.029 MB / 0.5926 GB, free: 11.8 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.023e-06/0.35, allocations: 0 / 0.5926 GB, free: 11.8 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003517/0.3504, allocations: 335.7 kB / 0.5929 GB, free: 11.47 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008282/0.3512, allocations: 172 kB / 0.5931 GB, free: 11.3 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005252/0.3565, allocations: 4.633 MB / 0.5976 GB, free: 6.621 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001431/0.3579, allocations: 1.794 MB / 0.5993 GB, free: 4.797 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002983/0.3582, allocations: 143.4 kB / 0.5995 GB, free: 4.656 MB / 410.7 MB Notification: Performance of SimCode: time 7.21e-07/0.3582, allocations: 4 kB / 0.5995 GB, free: 4.652 MB / 410.7 MB Notification: Performance of Templates: time 0.0315/0.3897, allocations: 25.26 MB / 0.6241 GB, free: 11.43 MB / 442.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Visualizers.VoluminousWheel.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Visualizers.VoluminousWheel.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Visualizers.VoluminousWheel.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Visualizers.VoluminousWheel.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Visualizers.VoluminousWheel.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Visualizers.VoluminousWheel --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Visualizers.VoluminousWheel.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_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","../files/ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Visualizers.VoluminousWheel.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches