Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.VoluminousWheel.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-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_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(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009461/0.0009459, allocations: 191.5 kB / 17.43 MB, free: 4.402 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.293/1.293, allocations: 229.5 MB / 247.7 MB, free: 6.32 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007814/0.0007813, allocations: 95.44 kB / 299.8 MB, free: 5.328 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3122/0.3122, allocations: 45.01 MB / 397 MB, free: 31.48 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002657/0.0002658, allocations: 8 kB / 470.8 MB, free: 7.094 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2971/0.2974, allocations: 63.1 MB / 0.5214 GB, free: 38.33 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.VoluminousWheel): time 0.005811/0.3032, allocations: 8.231 MB / 0.5294 GB, free: 32.5 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.003532/0.3068, allocations: 3.785 MB / 0.5331 GB, free: 29.18 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005046/0.3073, allocations: 32.97 kB / 0.5331 GB, free: 29.17 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004585/0.3078, allocations: 210.3 kB / 0.5333 GB, free: 29.1 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001047/0.3089, allocations: 0.6564 MB / 0.534 GB, free: 28.82 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 7.897e-05/0.3089, allocations: 16.47 kB / 0.534 GB, free: 28.81 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.001428/0.3104, allocations: 2.052 MB / 0.536 GB, free: 28.19 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001059/0.3114, allocations: 1.101 MB / 0.5371 GB, free: 27.57 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005028/0.312, allocations: 461.5 kB / 0.5375 GB, free: 27.42 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007088/0.3127, allocations: 0.7152 MB / 0.5382 GB, free: 27.2 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001295/0.3128, allocations: 53.09 kB / 0.5383 GB, free: 27.2 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005556/0.3134, allocations: 284.6 kB / 0.5385 GB, free: 27.13 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005406/0.3139, allocations: 0.6452 MB / 0.5392 GB, free: 26.92 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005326/0.3145, allocations: 0.8353 MB / 0.54 GB, free: 26.3 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002636/0.3171, allocations: 2.467 MB / 0.5424 GB, free: 25.57 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.19e-06/0.3171, allocations: 0 / 0.5424 GB, free: 25.57 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.393e-06/0.3172, allocations: 0 / 0.5424 GB, free: 25.57 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.082e-05/0.3172, allocations: 1.438 kB / 0.5424 GB, free: 25.57 MB / 378.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.002185/0.3194, allocations: 1.65 MB / 0.544 GB, free: 24.45 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.486e-05/0.3194, allocations: 9.406 kB / 0.544 GB, free: 24.45 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004451/0.3239, allocations: 1.509 MB / 0.5455 GB, free: 24.27 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001288/0.3252, allocations: 0.8561 MB / 0.5463 GB, free: 23.71 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.057e-05/0.3253, allocations: 76.84 kB / 0.5464 GB, free: 23.67 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001801/0.3254, allocations: 103.8 kB / 0.5465 GB, free: 23.63 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00492/0.3304, allocations: 4.618 MB / 0.551 GB, free: 20.7 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.17e-05/0.3304, allocations: 19.09 kB / 0.551 GB, free: 20.69 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001422/0.3306, allocations: 55.91 kB / 0.5511 GB, free: 20.65 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001523/0.3321, allocations: 1.101 MB / 0.5521 GB, free: 20.21 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00604/0.3381, allocations: 3.985 MB / 0.556 GB, free: 18.45 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01348/0.3516, allocations: 18.5 MB / 0.5741 GB, free: 15.47 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001224/0.3529, allocations: 1.175 MB / 0.5753 GB, free: 14.16 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004227/0.3533, allocations: 342.9 kB / 0.5756 GB, free: 13.82 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.018e-05/0.3534, allocations: 8 kB / 0.5756 GB, free: 13.81 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.648e-05/0.3534, allocations: 42.5 kB / 0.5756 GB, free: 13.76 MB / 394.7 MB Notification: Performance of pre-optimization done (n=60): time 3.106e-06/0.3534, allocations: 0 / 0.5756 GB, free: 13.76 MB / 394.7 MB Notification: Performance of matching and sorting (n=60): time 0.001461/0.3549, allocations: 1.024 MB / 0.5766 GB, free: 12.73 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.718e-05/0.355, allocations: 106.8 kB / 0.5767 GB, free: 12.6 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002707/0.3577, allocations: 2.189 MB / 0.5789 GB, free: 10.36 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 3.259e-05/0.3577, allocations: 33.7 kB / 0.5789 GB, free: 10.32 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009261/0.3587, allocations: 1.625 MB / 0.5805 GB, free: 8.676 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000196/0.3589, allocations: 272.9 kB / 0.5808 GB, free: 8.406 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001045/0.359, allocations: 60 kB / 0.5808 GB, free: 8.348 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0002577/0.3592, allocations: 0.4941 MB / 0.5813 GB, free: 7.844 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001105/0.3603, allocations: 0.8848 MB / 0.5822 GB, free: 6.957 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002411/0.3628, allocations: 3.159 MB / 0.5852 GB, free: 2.656 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003901/0.3667, allocations: 4.428 MB / 0.5896 GB, free: 13.09 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.796e-05/0.3667, allocations: 23.94 kB / 0.5896 GB, free: 13.07 MB / 410.7 MB Notification: Performance of matching and sorting (n=434) (initialization): time 0.005046/0.3718, allocations: 3.812 MB / 0.5933 GB, free: 9.25 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.975e-05/0.3718, allocations: 40 kB / 0.5933 GB, free: 9.211 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.768e-05/0.3719, allocations: 84.12 kB / 0.5934 GB, free: 9.129 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001163/0.372, allocations: 104 kB / 0.5935 GB, free: 9.027 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001891/0.3739, allocations: 0.7603 MB / 0.5943 GB, free: 8.266 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001272/0.3741, allocations: 159.4 kB / 0.5944 GB, free: 8.109 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002121/0.3762, allocations: 490.8 kB / 0.5949 GB, free: 7.625 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002521/0.3765, allocations: 216 kB / 0.5951 GB, free: 7.414 MB / 410.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001598/0.3781, allocations: 1.105 MB / 0.5962 GB, free: 6.297 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002581/0.3783, allocations: 169.8 kB / 0.5963 GB, free: 6.129 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002863/0.3786, allocations: 200.1 kB / 0.5965 GB, free: 5.934 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.805e-05/0.3787, allocations: 11.94 kB / 0.5965 GB, free: 5.922 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.337e-06/0.3787, allocations: 4 kB / 0.5965 GB, free: 5.918 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.37e-06/0.3787, allocations: 0 / 0.5965 GB, free: 5.918 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002943/0.3816, allocations: 2.009 MB / 0.5985 GB, free: 3.844 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.312e-06/0.3816, allocations: 4 kB / 0.5985 GB, free: 3.84 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002576/0.3819, allocations: 63.91 kB / 0.5986 GB, free: 3.777 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.983e-06/0.3819, allocations: 4 kB / 0.5986 GB, free: 3.773 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.822e-05/0.382, allocations: 8 kB / 0.5986 GB, free: 3.766 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.202e-06/0.382, allocations: 7.922 kB / 0.5986 GB, free: 3.758 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.875e-06/0.382, allocations: 0 / 0.5986 GB, free: 3.758 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001058/0.383, allocations: 1.035 MB / 0.5996 GB, free: 2.707 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003067/0.3834, allocations: 234.8 kB / 0.5998 GB, free: 2.457 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001391/0.3835, allocations: 8 kB / 0.5998 GB, free: 2.449 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005007/0.384, allocations: 31.91 kB / 0.5999 GB, free: 2.418 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.394e-05/0.3841, allocations: 20.25 kB / 0.5999 GB, free: 2.398 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.612e-05/0.3841, allocations: 19.98 kB / 0.5999 GB, free: 2.379 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001735/0.3859, allocations: 1.368 MB / 0.6012 GB, free: 0.9883 MB / 410.7 MB Notification: Performance of sort global known variables: time 2.51e-07/0.3859, allocations: 7.938 kB / 0.6012 GB, free: 0.9805 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.00222/0.3881, allocations: 0.4909 MB / 0.6017 GB, free: 500 kB / 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 (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.0002466/0.3884, allocations: 135.1 kB / 0.6018 GB, free: 356 kB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.002592/0.391, allocations: 2.035 MB / 0.6038 GB, free: 14.32 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.391, allocations: 0 / 0.6038 GB, free: 14.32 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003557/0.3913, allocations: 328.4 kB / 0.6042 GB, free: 14 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009803/0.3923, allocations: 158.8 kB / 0.6043 GB, free: 13.84 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006202/0.3985, allocations: 4.592 MB / 0.6088 GB, free: 9.211 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001548/0.4001, allocations: 1.798 MB / 0.6105 GB, free: 7.383 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.002487/0.4026, allocations: 1.109 MB / 0.6116 GB, free: 6.27 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002333/0.4029, allocations: 119.4 kB / 0.6117 GB, free: 6.152 MB / 426.7 MB Notification: Performance of SimCode: time 1.382e-06/0.4029, allocations: 0 / 0.6117 GB, free: 6.152 MB / 426.7 MB Notification: Performance of Templates: time 0.02529/0.4282, allocations: 12.21 MB / 0.6237 GB, free: 9.973 MB / 442.7 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","../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.VoluminousWheel.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches