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.001306/0.001306, allocations: 188.8 kB / 16.09 MB, free: 5.586 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.444/1.444, allocations: 226.5 MB / 243.4 MB, free: 6.488 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00084/0.0008399, allocations: 99.67 kB / 295.5 MB, free: 6.641 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2993/0.2993, allocations: 44.83 MB / 392.3 MB, free: 35.69 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000275/0.0002751, allocations: 8 kB / 465.3 MB, free: 12.64 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2687/0.269, allocations: 62.94 MB / 0.5159 GB, free: 37.17 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.VoluminousWheel): time 0.005605/0.2747, allocations: 8.201 MB / 0.5239 GB, free: 31.31 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.003278/0.278, allocations: 2.264 MB / 0.5261 GB, free: 29.78 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006053/0.2786, allocations: 29.94 kB / 0.5261 GB, free: 29.78 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00061/0.2792, allocations: 377.4 kB / 0.5265 GB, free: 29.65 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001725/0.281, allocations: 1.111 MB / 0.5276 GB, free: 29.2 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001085/0.2811, allocations: 21.06 kB / 0.5276 GB, free: 29.18 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.001121/0.2822, allocations: 1.605 MB / 0.5291 GB, free: 28.62 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000936/0.2832, allocations: 0.9231 MB / 0.53 GB, free: 28.21 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003878/0.2836, allocations: 463.7 kB / 0.5305 GB, free: 28.07 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005662/0.2841, allocations: 0.7086 MB / 0.5312 GB, free: 27.86 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000103/0.2842, allocations: 51.75 kB / 0.5312 GB, free: 27.86 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004633/0.2847, allocations: 287.1 kB / 0.5315 GB, free: 27.79 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003416/0.2851, allocations: 0.6316 MB / 0.5321 GB, free: 27.59 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004116/0.2855, allocations: 0.7795 MB / 0.5329 GB, free: 27.02 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00117/0.2867, allocations: 2.008 MB / 0.5348 GB, free: 26.59 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.429e-06/0.2867, allocations: 0 / 0.5348 GB, free: 26.59 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.653e-06/0.2867, allocations: 7.938 kB / 0.5349 GB, free: 26.59 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.099e-05/0.2867, allocations: 0 / 0.5349 GB, free: 26.59 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.001774/0.2885, allocations: 1.642 MB / 0.5365 GB, free: 25.48 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.642e-05/0.2885, allocations: 8 kB / 0.5365 GB, free: 25.48 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004279/0.2928, allocations: 1.514 MB / 0.5379 GB, free: 25.29 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001239/0.2941, allocations: 0.8589 MB / 0.5388 GB, free: 24.74 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.713e-05/0.2942, allocations: 79.03 kB / 0.5389 GB, free: 24.7 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001894/0.2944, allocations: 103.2 kB / 0.539 GB, free: 24.66 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005335/0.2997, allocations: 4.615 MB / 0.5435 GB, free: 22.29 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.651e-05/0.2998, allocations: 17.3 kB / 0.5435 GB, free: 22.28 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001537/0.2999, allocations: 55.91 kB / 0.5435 GB, free: 22.24 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001739/0.3017, allocations: 1.1 MB / 0.5446 GB, free: 22.04 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00655/0.3082, allocations: 3.987 MB / 0.5485 GB, free: 20.79 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01602/0.3243, allocations: 18.5 MB / 0.5666 GB, free: 4.277 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001122/0.3254, allocations: 1.174 MB / 0.5677 GB, free: 2.969 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003888/0.3258, allocations: 338.7 kB / 0.568 GB, free: 2.629 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.394e-05/0.3259, allocations: 7.938 kB / 0.568 GB, free: 2.621 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.253e-05/0.3259, allocations: 38.56 kB / 0.5681 GB, free: 2.574 MB / 378.7 MB Notification: Performance of pre-optimization done (n=60): time 4.148e-06/0.3259, allocations: 3.938 kB / 0.5681 GB, free: 2.57 MB / 378.7 MB Notification: Performance of matching and sorting (n=60): time 0.001398/0.3273, allocations: 1.038 MB / 0.5691 GB, free: 1.527 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.672e-05/0.3274, allocations: 106.8 kB / 0.5692 GB, free: 1.398 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003062/0.3305, allocations: 2.2 MB / 0.5713 GB, free: 15.15 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 4.807e-05/0.3305, allocations: 29.7 kB / 0.5714 GB, free: 15.12 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001185/0.3317, allocations: 1.617 MB / 0.573 GB, free: 13.47 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002883/0.332, allocations: 276.8 kB / 0.5732 GB, free: 13.2 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001506/0.3322, allocations: 68 kB / 0.5733 GB, free: 13.13 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0003575/0.3325, allocations: 0.4943 MB / 0.5738 GB, free: 12.63 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001412/0.334, allocations: 0.877 MB / 0.5746 GB, free: 11.75 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002818/0.3368, allocations: 3.162 MB / 0.5777 GB, free: 7.445 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004535/0.3413, allocations: 4.434 MB / 0.582 GB, free: 1.871 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.64e-05/0.3414, allocations: 24 kB / 0.5821 GB, free: 1.848 MB / 394.7 MB Notification: Performance of matching and sorting (n=434) (initialization): time 0.00604/0.3475, allocations: 3.805 MB / 0.5858 GB, free: 14.03 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.417e-05/0.3476, allocations: 40 kB / 0.5858 GB, free: 13.99 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.88e-05/0.3477, allocations: 80 kB / 0.5859 GB, free: 13.91 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001009/0.3478, allocations: 108.8 kB / 0.586 GB, free: 13.81 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001925/0.3497, allocations: 0.7525 MB / 0.5867 GB, free: 13.05 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001042/0.3498, allocations: 163.4 kB / 0.5869 GB, free: 12.89 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002038/0.3519, allocations: 494.6 kB / 0.5874 GB, free: 12.41 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002726/0.3521, allocations: 216 kB / 0.5876 GB, free: 12.2 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001505/0.3537, allocations: 1.098 MB / 0.5886 GB, free: 11.09 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002584/0.3539, allocations: 165.8 kB / 0.5888 GB, free: 10.93 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003137/0.3542, allocations: 204.1 kB / 0.589 GB, free: 10.73 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.949e-05/0.3543, allocations: 15.98 kB / 0.589 GB, free: 10.71 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.354e-06/0.3543, allocations: 0 / 0.589 GB, free: 10.71 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.03e-06/0.3543, allocations: 0 / 0.589 GB, free: 10.71 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003037/0.3573, allocations: 2.012 MB / 0.591 GB, free: 8.633 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.303e-06/0.3574, allocations: 4 kB / 0.591 GB, free: 8.629 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002705/0.3576, allocations: 63.89 kB / 0.591 GB, free: 8.566 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.656e-06/0.3577, allocations: 4 kB / 0.591 GB, free: 8.562 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.831e-05/0.3577, allocations: 12 kB / 0.5911 GB, free: 8.551 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.502e-06/0.3577, allocations: 7.938 kB / 0.5911 GB, free: 8.543 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.264e-06/0.3577, allocations: 0 / 0.5911 GB, free: 8.543 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001032/0.3588, allocations: 1.023 MB / 0.5921 GB, free: 7.504 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003257/0.3591, allocations: 234.8 kB / 0.5923 GB, free: 7.254 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001276/0.3592, allocations: 7.984 kB / 0.5923 GB, free: 7.246 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004546/0.3597, allocations: 39.89 kB / 0.5923 GB, free: 7.207 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.508e-05/0.3598, allocations: 23.97 kB / 0.5923 GB, free: 7.184 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.283e-05/0.3598, allocations: 16 kB / 0.5924 GB, free: 7.168 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001801/0.3616, allocations: 1.368 MB / 0.5937 GB, free: 5.777 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3616, allocations: 0 / 0.5937 GB, free: 5.777 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.002058/0.3637, allocations: 0.4987 MB / 0.5942 GB, free: 5.277 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.0002423/0.3639, allocations: 127.2 kB / 0.5943 GB, free: 5.145 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.003082/0.367, allocations: 2.036 MB / 0.5963 GB, free: 3.125 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.477e-06/0.3671, allocations: 288 / 0.5963 GB, free: 3.125 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003782/0.3674, allocations: 337.2 kB / 0.5966 GB, free: 2.797 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001246/0.3687, allocations: 166.7 kB / 0.5968 GB, free: 2.629 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006745/0.3755, allocations: 4.625 MB / 0.6013 GB, free: 13.96 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00179/0.3773, allocations: 1.798 MB / 0.603 GB, free: 12.13 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003953/0.3777, allocations: 151.4 kB / 0.6032 GB, free: 11.98 MB / 426.7 MB Notification: Performance of SimCode: time 6.42e-07/0.3777, allocations: 0 / 0.6032 GB, free: 11.98 MB / 426.7 MB Notification: Performance of Templates: time 0.03359/0.4113, allocations: 25.21 MB / 0.6278 GB, free: 2.816 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