Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Visualizers.VoluminousWheel.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001359/0.001359, allocations: 113.1 kB / 21.85 MB, free: 80 kB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001492/0.001492, allocations: 212.5 kB / 25.13 MB, free: 3.605 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.472/1.472, allocations: 230.4 MB / 258.7 MB, free: 8.043 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2232/0.2232, allocations: 46.93 MB / 362 MB, free: 4.211 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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.1.0-beta.om_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.1.0-beta.om_ModelicaTest.MultiBody.Visualizers.VoluminousWheel") [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002378/0.002378, allocations: 80.14 kB / 0.4978 GB, free: 7.375 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3364/0.3387, allocations: 66.08 MB / 0.5623 GB, free: 4.391 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.VoluminousWheel): time 0.007214/0.346, allocations: 5.697 MB / 0.5679 GB, free: 14.66 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.003715/0.3497, allocations: 1.846 MB / 0.5697 GB, free: 12.81 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003466/0.35, allocations: 27.88 kB / 0.5697 GB, free: 12.78 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001209/0.3512, allocations: 0.5369 MB / 0.5702 GB, free: 12.24 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001448/0.3527, allocations: 0.6964 MB / 0.5709 GB, free: 11.54 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 9.828e-05/0.3528, allocations: 15.98 kB / 0.5709 GB, free: 11.53 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.001752/0.3545, allocations: 1.429 MB / 0.5723 GB, free: 10.09 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000898/0.3554, allocations: 0.7095 MB / 0.573 GB, free: 9.371 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005635/0.356, allocations: 498 kB / 0.5735 GB, free: 8.883 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009391/0.3569, allocations: 0.7434 MB / 0.5742 GB, free: 8.137 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000175/0.3571, allocations: 88 kB / 0.5743 GB, free: 8.051 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005398/0.3576, allocations: 235.6 kB / 0.5745 GB, free: 7.82 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006534/0.3583, allocations: 0.6735 MB / 0.5752 GB, free: 7.145 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007324/0.359, allocations: 0.8264 MB / 0.576 GB, free: 6.312 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002792/0.3618, allocations: 2.66 MB / 0.5786 GB, free: 3.641 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.3618, allocations: 0 / 0.5786 GB, free: 3.641 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.994e-06/0.3618, allocations: 3.938 kB / 0.5786 GB, free: 3.637 MB / 414.1 MB Notification: Performance of Transformations before backend: time 3.74e-05/0.3619, allocations: 0 / 0.5786 GB, free: 3.637 MB / 414.1 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.003254/0.3651, allocations: 1.931 MB / 0.5805 GB, free: 1.664 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.337e-05/0.3652, allocations: 8.031 kB / 0.5805 GB, free: 1.656 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004948/0.3701, allocations: 1.485 MB / 0.5819 GB, free: 172 kB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002019/0.3721, allocations: 0.795 MB / 0.5827 GB, free: 15.34 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.428e-05/0.3722, allocations: 78.3 kB / 0.5828 GB, free: 15.27 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002373/0.3725, allocations: 99.84 kB / 0.5829 GB, free: 15.17 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007558/0.38, allocations: 4.622 MB / 0.5874 GB, free: 10.14 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.363e-05/0.3801, allocations: 19.81 kB / 0.5874 GB, free: 10.12 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001899/0.3802, allocations: 55.92 kB / 0.5875 GB, free: 10.07 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001892/0.3821, allocations: 1.103 MB / 0.5885 GB, free: 8.965 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006796/0.3889, allocations: 3.996 MB / 0.5924 GB, free: 4.969 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02269/0.4116, allocations: 18.35 MB / 0.6104 GB, free: 1.965 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001216/0.4128, allocations: 0.6821 MB / 0.611 GB, free: 1.258 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004474/0.4133, allocations: 310.4 kB / 0.6113 GB, free: 0.9453 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.794e-05/0.4133, allocations: 15.94 kB / 0.6113 GB, free: 0.9297 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.69e-05/0.4133, allocations: 34.56 kB / 0.6114 GB, free: 0.8867 MB / 446.1 MB Notification: Performance of pre-optimization done (n=60): time 2.846e-06/0.4134, allocations: 0 / 0.6114 GB, free: 0.8867 MB / 446.1 MB Notification: Performance of matching and sorting (n=60): time 0.00166/0.415, allocations: 1.038 MB / 0.6124 GB, free: 15.84 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.948e-05/0.4151, allocations: 106.8 kB / 0.6125 GB, free: 15.71 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003101/0.4182, allocations: 2.208 MB / 0.6146 GB, free: 13.46 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 4.931e-05/0.4183, allocations: 37.69 kB / 0.6147 GB, free: 13.41 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001338/0.4196, allocations: 1.688 MB / 0.6163 GB, free: 11.71 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002569/0.4198, allocations: 270.1 kB / 0.6166 GB, free: 11.44 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008427/0.4207, allocations: 0.6868 MB / 0.6173 GB, free: 10.75 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001851/0.4209, allocations: 353.9 kB / 0.6176 GB, free: 10.39 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001364/0.4222, allocations: 0.8967 MB / 0.6185 GB, free: 9.496 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003504/0.4257, allocations: 3.166 MB / 0.6216 GB, free: 5.188 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005659/0.4314, allocations: 4.45 MB / 0.6259 GB, free: 15.59 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.558e-05/0.4315, allocations: 24 kB / 0.6259 GB, free: 15.57 MB / 478.1 MB Notification: Performance of matching and sorting (n=434) (initialization): time 0.007256/0.4387, allocations: 3.844 MB / 0.6297 GB, free: 11.72 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.568e-05/0.4388, allocations: 44.06 kB / 0.6297 GB, free: 11.68 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.963e-05/0.4389, allocations: 87.98 kB / 0.6298 GB, free: 11.59 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001179/0.439, allocations: 107.9 kB / 0.6299 GB, free: 11.49 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00212/0.4411, allocations: 0.7486 MB / 0.6306 GB, free: 10.74 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001448/0.4413, allocations: 159.4 kB / 0.6308 GB, free: 10.58 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002486/0.4437, allocations: 0.4924 MB / 0.6313 GB, free: 10.09 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003298/0.4441, allocations: 216 kB / 0.6315 GB, free: 9.875 MB / 478.1 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.001847/0.4459, allocations: 1.101 MB / 0.6326 GB, free: 8.762 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003044/0.4462, allocations: 182.8 kB / 0.6327 GB, free: 8.582 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003516/0.4466, allocations: 200.1 kB / 0.6329 GB, free: 8.387 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.158e-05/0.4466, allocations: 8 kB / 0.6329 GB, free: 8.379 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.796e-06/0.4466, allocations: 0 / 0.6329 GB, free: 8.379 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.334e-06/0.4466, allocations: 3.984 kB / 0.6329 GB, free: 8.375 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003372/0.45, allocations: 1.979 MB / 0.6349 GB, free: 6.336 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.918e-06/0.45, allocations: 3.938 kB / 0.6349 GB, free: 6.332 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002911/0.4503, allocations: 67.89 kB / 0.6349 GB, free: 6.266 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.25e-06/0.4503, allocations: 4 kB / 0.6349 GB, free: 6.262 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.662e-05/0.4503, allocations: 8 kB / 0.6349 GB, free: 6.254 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.171e-06/0.4503, allocations: 7.938 kB / 0.635 GB, free: 6.246 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.462e-06/0.4503, allocations: 0 / 0.635 GB, free: 6.246 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001193/0.4515, allocations: 1.038 MB / 0.636 GB, free: 5.184 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003195/0.4518, allocations: 170.7 kB / 0.6361 GB, free: 5.016 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000137/0.452, allocations: 8 kB / 0.6361 GB, free: 5.008 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004745/0.4524, allocations: 31.89 kB / 0.6362 GB, free: 4.977 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.579e-05/0.4525, allocations: 23.95 kB / 0.6362 GB, free: 4.953 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.935e-05/0.4526, allocations: 16 kB / 0.6362 GB, free: 4.938 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.002024/0.4546, allocations: 1.371 MB / 0.6375 GB, free: 3.543 MB / 478.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4546, allocations: 0 / 0.6375 GB, free: 3.543 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.002654/0.4572, allocations: 495.1 kB / 0.638 GB, free: 3.059 MB / 478.1 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.0003136/0.4576, allocations: 131.1 kB / 0.6381 GB, free: 2.922 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.00336/0.4609, allocations: 1.967 MB / 0.6401 GB, free: 0.9766 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 3.507e-06/0.4609, allocations: 0 / 0.6401 GB, free: 0.9766 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004176/0.4613, allocations: 316.1 kB / 0.6404 GB, free: 0.668 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001017/0.4624, allocations: 160.8 kB / 0.6405 GB, free: 0.5078 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006273/0.4686, allocations: 3.771 MB / 0.6442 GB, free: 12.69 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001934/0.4706, allocations: 1.786 MB / 0.6459 GB, free: 10.88 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0026/0.4732, allocations: 1.109 MB / 0.647 GB, free: 9.762 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002876/0.4734, allocations: 123.4 kB / 0.6471 GB, free: 9.641 MB / 494.1 MB Notification: Performance of SimCode: time 1.302e-06/0.4734, allocations: 0 / 0.6471 GB, free: 9.641 MB / 494.1 MB Notification: Performance of Templates: time 0.03301/0.5065, allocations: 16.05 MB / 0.6628 GB, free: 9.625 MB / 0.4981 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Visualizers.VoluminousWheel.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Visualizers.VoluminousWheel.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Visualizers.VoluminousWheel.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Visualizers.VoluminousWheel.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Visualizers.VoluminousWheel.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Visualizers.VoluminousWheel -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Visualizers.VoluminousWheel.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Visualizers.VoluminousWheel_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Visualizers/VoluminousWheel/VoluminousWheel.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_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.5868010758422315]