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/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_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/Complex trunk/package.mo): time 0.001215/0.001215, allocations: 207.3 kB / 17.99 MB, free: 3.777 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.362/1.362, allocations: 226.7 MB / 245.5 MB, free: 6.977 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001103/0.001103, allocations: 108.5 kB / 296.7 MB, free: 6.461 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3349/0.3349, allocations: 44.83 MB / 392.7 MB, free: 34.68 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001142/0.001142, allocations: 63.91 kB / 465.5 MB, free: 12.08 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2935/0.2947, allocations: 62.01 MB / 0.5151 GB, free: 37.88 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.VoluminousWheel): time 0.00789/0.3026, allocations: 9.241 MB / 0.5242 GB, free: 31.3 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.004066/0.3067, allocations: 2.419 MB / 0.5265 GB, free: 29.7 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001361/0.3081, allocations: 30.31 kB / 0.5266 GB, free: 29.7 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001181/0.3094, allocations: 0.5078 MB / 0.5271 GB, free: 29.47 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001548/0.3109, allocations: 0.6479 MB / 0.5277 GB, free: 29.2 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001258/0.3111, allocations: 11 kB / 0.5277 GB, free: 29.19 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.001704/0.3128, allocations: 2.075 MB / 0.5297 GB, free: 28.56 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007173/0.3135, allocations: 0.72 MB / 0.5304 GB, free: 28.31 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003666/0.3139, allocations: 430.6 kB / 0.5308 GB, free: 28.15 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006147/0.3145, allocations: 0.7308 MB / 0.5316 GB, free: 27.92 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001355/0.3147, allocations: 61.03 kB / 0.5316 GB, free: 27.92 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004946/0.3152, allocations: 303.6 kB / 0.5319 GB, free: 27.84 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003862/0.3156, allocations: 0.6593 MB / 0.5325 GB, free: 27.63 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000457/0.316, allocations: 0.8222 MB / 0.5333 GB, free: 27.04 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002047/0.3181, allocations: 2.517 MB / 0.5358 GB, free: 26.12 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.547e-06/0.3181, allocations: 0 / 0.5358 GB, free: 26.12 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.002e-06/0.3181, allocations: 0 / 0.5358 GB, free: 26.12 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.733e-05/0.3182, allocations: 0 / 0.5358 GB, free: 26.12 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.003036/0.3212, allocations: 1.989 MB / 0.5377 GB, free: 24.81 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.88e-05/0.3213, allocations: 8.344 kB / 0.5378 GB, free: 24.81 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005068/0.3263, allocations: 1.458 MB / 0.5392 GB, free: 24.64 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001974/0.3283, allocations: 0.8573 MB / 0.54 GB, free: 24.09 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.988e-05/0.3284, allocations: 73.8 kB / 0.5401 GB, free: 24.05 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000226/0.3286, allocations: 103.3 kB / 0.5402 GB, free: 24.02 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005626/0.3343, allocations: 4.63 MB / 0.5447 GB, free: 21.63 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.521e-05/0.3343, allocations: 20.06 kB / 0.5447 GB, free: 21.62 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000153/0.3345, allocations: 55.16 kB / 0.5448 GB, free: 21.58 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001788/0.3363, allocations: 1.101 MB / 0.5459 GB, free: 21.38 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006269/0.3426, allocations: 4.015 MB / 0.5498 GB, free: 19.72 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01765/0.3603, allocations: 18.49 MB / 0.5678 GB, free: 2.461 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001069/0.3614, allocations: 1.174 MB / 0.569 GB, free: 1.148 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003286/0.3617, allocations: 342.7 kB / 0.5693 GB, free: 0.8047 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.211e-05/0.3617, allocations: 8 kB / 0.5693 GB, free: 0.7969 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.806e-05/0.3618, allocations: 38.5 kB / 0.5693 GB, free: 0.75 MB / 378.7 MB Notification: Performance of pre-optimization done (n=60): time 3.185e-06/0.3618, allocations: 0 / 0.5693 GB, free: 0.75 MB / 378.7 MB Notification: Performance of matching and sorting (n=60): time 0.001348/0.3631, allocations: 1.038 MB / 0.5704 GB, free: 15.71 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.966e-05/0.3632, allocations: 110.8 kB / 0.5705 GB, free: 15.57 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002905/0.3661, allocations: 2.196 MB / 0.5726 GB, free: 13.33 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 5.135e-05/0.3662, allocations: 33.7 kB / 0.5726 GB, free: 13.29 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001011/0.3672, allocations: 1.625 MB / 0.5742 GB, free: 11.64 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002435/0.3675, allocations: 265 kB / 0.5745 GB, free: 11.38 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007573/0.3682, allocations: 0.6783 MB / 0.5751 GB, free: 10.69 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001496/0.3684, allocations: 357.9 kB / 0.5755 GB, free: 10.34 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001179/0.3696, allocations: 0.8926 MB / 0.5764 GB, free: 9.441 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002669/0.3722, allocations: 3.17 MB / 0.5795 GB, free: 5.129 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004477/0.3767, allocations: 4.447 MB / 0.5838 GB, free: 15.54 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.536e-05/0.3768, allocations: 24 kB / 0.5838 GB, free: 15.52 MB / 410.7 MB Notification: Performance of matching and sorting (n=434) (initialization): time 0.005584/0.3824, allocations: 3.837 MB / 0.5876 GB, free: 11.68 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.078e-05/0.3824, allocations: 40 kB / 0.5876 GB, free: 11.64 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.221e-05/0.3825, allocations: 80 kB / 0.5877 GB, free: 11.56 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001382/0.3827, allocations: 104 kB / 0.5878 GB, free: 11.46 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00185/0.3845, allocations: 0.7563 MB / 0.5885 GB, free: 10.7 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000109/0.3847, allocations: 151.4 kB / 0.5887 GB, free: 10.55 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002187/0.3868, allocations: 0.4908 MB / 0.5891 GB, free: 10.05 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002332/0.3871, allocations: 216 kB / 0.5894 GB, free: 9.844 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.001444/0.3885, allocations: 1.106 MB / 0.5904 GB, free: 8.727 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00023/0.3888, allocations: 161.8 kB / 0.5906 GB, free: 8.566 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003158/0.3891, allocations: 208 kB / 0.5908 GB, free: 8.363 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.751e-05/0.3891, allocations: 8 kB / 0.5908 GB, free: 8.355 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.552e-06/0.3891, allocations: 0 / 0.5908 GB, free: 8.355 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.859e-06/0.3891, allocations: 0 / 0.5908 GB, free: 8.355 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003169/0.3923, allocations: 2.027 MB / 0.5928 GB, free: 6.262 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.258e-06/0.3923, allocations: 0 / 0.5928 GB, free: 6.262 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002721/0.3926, allocations: 59.95 kB / 0.5928 GB, free: 6.203 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.13e-06/0.3926, allocations: 0 / 0.5928 GB, free: 6.203 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.866e-05/0.3927, allocations: 8.281 kB / 0.5928 GB, free: 6.195 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.908e-06/0.3927, allocations: 15.88 kB / 0.5929 GB, free: 6.18 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/0.3927, allocations: 0 / 0.5929 GB, free: 6.18 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001918/0.3946, allocations: 2.227 MB / 0.595 GB, free: 3.887 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003543/0.395, allocations: 226.8 kB / 0.5952 GB, free: 3.645 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000137/0.3951, allocations: 11.98 kB / 0.5953 GB, free: 3.633 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000468/0.3956, allocations: 23.95 kB / 0.5953 GB, free: 3.609 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.681e-05/0.3957, allocations: 23.97 kB / 0.5953 GB, free: 3.586 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.972e-05/0.3957, allocations: 16 kB / 0.5953 GB, free: 3.57 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.00175/0.3975, allocations: 1.375 MB / 0.5967 GB, free: 2.172 MB / 410.7 MB Notification: Performance of sort global known variables: time 2.91e-07/0.3975, allocations: 0 / 0.5967 GB, free: 2.172 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.00236/0.3998, allocations: 0.4949 MB / 0.5971 GB, free: 1.676 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 (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.0002944/0.4002, allocations: 127.2 kB / 0.5973 GB, free: 1.543 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.002904/0.4031, allocations: 2.048 MB / 0.5993 GB, free: 15.52 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 4.338e-06/0.4031, allocations: 0 / 0.5993 GB, free: 15.52 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003848/0.4035, allocations: 332.4 kB / 0.5996 GB, free: 15.19 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000981/0.4045, allocations: 158.7 kB / 0.5997 GB, free: 15.03 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006274/0.4107, allocations: 5.018 MB / 0.6046 GB, free: 9.965 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001601/0.4124, allocations: 1.814 MB / 0.6064 GB, free: 8.121 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.002581/0.415, allocations: 1.109 MB / 0.6075 GB, free: 7.008 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002435/0.4152, allocations: 115.4 kB / 0.6076 GB, free: 6.895 MB / 426.7 MB Notification: Performance of SimCode: time 3.326e-06/0.4152, allocations: 0 / 0.6076 GB, free: 6.895 MB / 426.7 MB Notification: Performance of Templates: time 0.02515/0.4404, allocations: 12.69 MB / 0.62 GB, free: 10.23 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@2/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