Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.VoluminousWheel.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.002503/0.002503, allocations: 91.61 kB / 20.95 MB, free: 3.465 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00289/0.00289, allocations: 165.6 kB / 24.27 MB, free: 152 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.662/1.662, allocations: 177.1 MB / 204.6 MB, free: 5.594 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3369/0.3369, allocations: 32.8 MB / 293.9 MB, free: 1.188 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Visualizers.VoluminousWheel,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|voluminousWheel.n_rTire|voluminousWheel.n_rCurvature|voluminousWheel.rw|voluminousWheel.rCurvature2|voluminousWheel.kw|voluminousWheel.h|voluminousWheel.ri|voluminousWheel.rRim2",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.VoluminousWheel") translateModel(ModelicaTest.MultiBody.Visualizers.VoluminousWheel,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|voluminousWheel.n_rTire|voluminousWheel.n_rCurvature|voluminousWheel.rw|voluminousWheel.rCurvature2|voluminousWheel.kw|voluminousWheel.h|voluminousWheel.ri|voluminousWheel.rRim2",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.VoluminousWheel") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.703e-06/1.703e-06, allocations: 0 / 375.2 MB, free: 4.996 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.366e-05/3.537e-05, allocations: 6.312 kB / 375.2 MB, free: 4.988 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.VoluminousWheel): time 0.008113/0.008148, allocations: 5.523 MB / 380.8 MB, free: 15.43 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.00446/0.01261, allocations: 1.787 MB / 382.6 MB, free: 13.64 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004796/0.01309, allocations: 27.94 kB / 382.6 MB, free: 13.61 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001415/0.0145, allocations: 0.5524 MB / 383.1 MB, free: 13.06 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001604/0.01611, allocations: 0.7115 MB / 383.8 MB, free: 12.34 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001073/0.01621, allocations: 19.91 kB / 383.9 MB, free: 12.32 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.001932/0.01815, allocations: 1.456 MB / 385.3 MB, free: 10.87 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001075/0.01922, allocations: 0.7305 MB / 386.1 MB, free: 10.12 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001074/0.02029, allocations: 0.7168 MB / 386.8 MB, free: 9.402 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001107/0.0214, allocations: 0.713 MB / 387.5 MB, free: 8.688 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001678/0.02157, allocations: 88 kB / 387.6 MB, free: 8.602 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005817/0.02215, allocations: 255.6 kB / 387.8 MB, free: 8.352 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006893/0.02284, allocations: 0.7048 MB / 388.5 MB, free: 7.645 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005344/0.02337, allocations: 410.3 kB / 388.9 MB, free: 7.242 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003443/0.02682, allocations: 2.565 MB / 391.5 MB, free: 4.668 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.149e-06/0.02682, allocations: 0 / 391.5 MB, free: 4.668 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.312e-06/0.02682, allocations: 0 / 391.5 MB, free: 4.668 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.345e-05/0.02687, allocations: 0 / 391.5 MB, free: 4.668 MB / 362.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.003958/0.03083, allocations: 2.348 MB / 393.8 MB, free: 2.277 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.987e-05/0.03087, allocations: 8.031 kB / 393.8 MB, free: 2.27 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005632/0.0365, allocations: 1.708 MB / 395.6 MB, free: 0.5586 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002467/0.03896, allocations: 0.7619 MB / 396.3 MB, free: 15.77 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.807e-05/0.03905, allocations: 78.28 kB / 396.4 MB, free: 15.69 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002784/0.03933, allocations: 108.2 kB / 396.5 MB, free: 15.59 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005246/0.04458, allocations: 2.927 MB / 399.4 MB, free: 12.11 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.004e-05/0.04463, allocations: 19.81 kB / 399.4 MB, free: 12.09 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002053/0.04483, allocations: 59.91 kB / 399.5 MB, free: 12.04 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002008/0.04684, allocations: 1.111 MB / 400.6 MB, free: 10.92 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004299/0.05114, allocations: 1.544 MB / 402.2 MB, free: 9.367 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02892/0.08006, allocations: 23.81 MB / 426 MB, free: 0.7578 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009812/0.08104, allocations: 379.9 kB / 426.3 MB, free: 360 kB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002632/0.0813, allocations: 127.3 kB / 426.5 MB, free: 220 kB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.532e-05/0.08133, allocations: 7.938 kB / 426.5 MB, free: 212 kB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.025e-05/0.08137, allocations: 45.33 kB / 426.5 MB, free: 156 kB / 394.7 MB Notification: Performance of pre-optimization done (n=60): time 2.705e-06/0.08137, allocations: 0 / 426.5 MB, free: 156 kB / 394.7 MB Notification: Performance of matching and sorting (n=60): time 0.0012/0.08257, allocations: 0.5011 MB / 427 MB, free: 15.64 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.097e-05/0.08266, allocations: 106.8 kB / 427.1 MB, free: 15.52 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003627/0.08629, allocations: 2.474 MB / 429.6 MB, free: 13.02 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 4.989e-05/0.08634, allocations: 33.7 kB / 429.6 MB, free: 12.98 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001857/0.0882, allocations: 1.913 MB / 431.5 MB, free: 11.05 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003706/0.08857, allocations: 310 kB / 431.8 MB, free: 10.75 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001504/0.09007, allocations: 0.8583 MB / 432.7 MB, free: 9.875 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0003119/0.09038, allocations: 0.516 MB / 433.2 MB, free: 9.352 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007826/0.09117, allocations: 330.4 kB / 433.5 MB, free: 9.027 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00436/0.09553, allocations: 3.809 MB / 437.3 MB, free: 3.652 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005945/0.1015, allocations: 4.541 MB / 441.9 MB, free: 13.55 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.673e-05/0.1015, allocations: 24 kB / 441.9 MB, free: 13.53 MB / 426.7 MB Notification: Performance of matching and sorting (n=434) (initialization): time 0.006087/0.1076, allocations: 2.873 MB / 444.8 MB, free: 10.65 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.412e-05/0.1077, allocations: 43.94 kB / 444.8 MB, free: 10.61 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001136/0.1078, allocations: 84 kB / 444.9 MB, free: 10.53 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001295/0.108, allocations: 107.9 kB / 445 MB, free: 10.42 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002257/0.1102, allocations: 0.7525 MB / 445.8 MB, free: 9.668 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001653/0.1104, allocations: 159.4 kB / 445.9 MB, free: 9.512 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002355/0.1127, allocations: 472.5 kB / 446.4 MB, free: 9.047 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003185/0.113, allocations: 224 kB / 446.6 MB, free: 8.828 MB / 426.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.001083/0.1141, allocations: 494.6 kB / 447.1 MB, free: 8.332 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003341/0.1145, allocations: 170.9 kB / 447.2 MB, free: 8.164 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003284/0.1148, allocations: 150.1 kB / 447.4 MB, free: 8.012 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.906e-05/0.1148, allocations: 8 kB / 447.4 MB, free: 8.004 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.201e-06/0.1148, allocations: 0 / 447.4 MB, free: 8.004 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.861e-06/0.1148, allocations: 4 kB / 447.4 MB, free: 8 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004239/0.1191, allocations: 2.057 MB / 449.5 MB, free: 5.898 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.05e-06/0.1191, allocations: 0 / 449.5 MB, free: 5.898 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003191/0.1194, allocations: 67.89 kB / 449.5 MB, free: 5.832 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.021e-06/0.1194, allocations: 0 / 449.5 MB, free: 5.832 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.297e-05/0.1194, allocations: 11.98 kB / 449.5 MB, free: 5.82 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.564e-06/0.1195, allocations: 8 kB / 449.5 MB, free: 5.812 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.854e-06/0.1195, allocations: 0 / 449.5 MB, free: 5.812 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001123/0.1206, allocations: 0.8422 MB / 450.4 MB, free: 4.949 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003398/0.1209, allocations: 138.8 kB / 450.5 MB, free: 4.809 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001285/0.121, allocations: 11.94 kB / 450.5 MB, free: 4.797 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004482/0.1215, allocations: 19.97 kB / 450.6 MB, free: 4.777 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.032e-05/0.1216, allocations: 31.89 kB / 450.6 MB, free: 4.746 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.294e-05/0.1216, allocations: 16 kB / 450.6 MB, free: 4.73 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.001848/0.1235, allocations: 0.9826 MB / 451.6 MB, free: 3.754 MB / 426.7 MB Notification: Performance of sort global known variables: time 9e-08/0.1235, allocations: 0 / 451.6 MB, free: 3.754 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.002452/0.1259, allocations: 0.5183 MB / 452.1 MB, free: 3.234 MB / 426.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.0003018/0.1262, allocations: 123.1 kB / 452.2 MB, free: 3.105 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.002917/0.1291, allocations: 1.51 MB / 453.7 MB, free: 1.605 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.1291, allocations: 0 / 453.7 MB, free: 1.605 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003206/0.1295, allocations: 169.6 kB / 453.9 MB, free: 1.438 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009465/0.1304, allocations: 154.5 kB / 454.1 MB, free: 1.285 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1432/0.2737, allocations: 3.032 MB / 457.1 MB, free: 110.5 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001012/0.2747, allocations: 1.068 MB / 458.2 MB, free: 110.3 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.00177/0.2764, allocations: 0.9631 MB / 459.1 MB, free: 110.3 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001932/0.2766, allocations: 108 kB / 459.2 MB, free: 110.3 MB / 426.7 MB Notification: Performance of SimCode: time 1.754e-06/0.2766, allocations: 0 / 459.2 MB, free: 110.3 MB / 426.7 MB Notification: Performance of Templates: time 0.02063/0.2973, allocations: 11.36 MB / 470.6 MB, free: 109.2 MB / 426.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.VoluminousWheel.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.VoluminousWheel.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.VoluminousWheel.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.VoluminousWheel.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.VoluminousWheel.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.VoluminousWheel -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.VoluminousWheel.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.VoluminousWheel.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.6864700430305675]