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.001338/0.001338, allocations: 111.1 kB / 20.44 MB, free: 1.062 MB / 14.72 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.00164/0.00164, allocations: 214.3 kB / 23.73 MB, free: 4.16 MB / 14.72 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.518/1.518, allocations: 230.6 MB / 257.5 MB, free: 7.805 MB / 206.1 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.2276/0.2276, allocations: 44.92 MB / 358.8 MB, free: 6.051 MB / 286.1 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: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002328/0.002328, allocations: 76.16 kB / 0.4935 GB, free: 10.04 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3653/0.3677, allocations: 65.47 MB / 0.5574 GB, free: 7.645 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.VoluminousWheel): time 0.008146/0.3758, allocations: 5.116 MB / 0.5624 GB, free: 2.496 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003987/0.3798, allocations: 1.729 MB / 0.5641 GB, free: 0.7617 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000498/0.3803, allocations: 23.94 kB / 0.5641 GB, free: 0.7383 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001387/0.3817, allocations: 0.5213 MB / 0.5647 GB, free: 220 kB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001751/0.3834, allocations: 0.6886 MB / 0.5653 GB, free: 15.52 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000119/0.3836, allocations: 19.98 kB / 0.5653 GB, free: 15.5 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.001887/0.3855, allocations: 1.417 MB / 0.5667 GB, free: 14.09 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009571/0.3864, allocations: 0.7132 MB / 0.5674 GB, free: 13.36 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005871/0.387, allocations: 0.494 MB / 0.5679 GB, free: 12.86 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00104/0.388, allocations: 0.7316 MB / 0.5686 GB, free: 12.13 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000175/0.3882, allocations: 88 kB / 0.5687 GB, free: 12.04 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005219/0.3887, allocations: 227.6 kB / 0.5689 GB, free: 11.82 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006254/0.3894, allocations: 0.6736 MB / 0.5696 GB, free: 11.14 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005933/0.39, allocations: 0.5699 MB / 0.5701 GB, free: 10.57 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003099/0.3931, allocations: 2.652 MB / 0.5727 GB, free: 7.906 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.69e-06/0.3931, allocations: 0 / 0.5727 GB, free: 7.906 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.744e-06/0.3931, allocations: 8 kB / 0.5727 GB, free: 7.898 MB / 414.1 MB Notification: Performance of Transformations before backend: time 3.746e-05/0.3931, allocations: 0 / 0.5727 GB, free: 7.898 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.003289/0.3964, allocations: 1.927 MB / 0.5746 GB, free: 5.93 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.549e-05/0.3964, allocations: 8.031 kB / 0.5746 GB, free: 5.922 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005057/0.4015, allocations: 1.485 MB / 0.5761 GB, free: 4.434 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002027/0.4035, allocations: 0.799 MB / 0.5769 GB, free: 3.605 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.186e-05/0.4036, allocations: 78.28 kB / 0.5769 GB, free: 3.531 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002215/0.4038, allocations: 107.8 kB / 0.577 GB, free: 3.426 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007107/0.4109, allocations: 4.626 MB / 0.5815 GB, free: 14.39 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.504e-05/0.411, allocations: 19.81 kB / 0.5816 GB, free: 14.38 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000179/0.4111, allocations: 55.91 kB / 0.5816 GB, free: 14.32 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001947/0.4131, allocations: 1.103 MB / 0.5827 GB, free: 13.22 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006705/0.4198, allocations: 3.992 MB / 0.5866 GB, free: 9.227 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02187/0.4417, allocations: 17.33 MB / 0.6035 GB, free: 7.258 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001324/0.443, allocations: 0.6796 MB / 0.6042 GB, free: 6.551 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004559/0.4435, allocations: 308 kB / 0.6045 GB, free: 6.242 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.293e-05/0.4435, allocations: 7.984 kB / 0.6045 GB, free: 6.234 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.224e-05/0.4435, allocations: 42.56 kB / 0.6045 GB, free: 6.184 MB / 446.1 MB Notification: Performance of pre-optimization done (n=60): time 3.036e-06/0.4435, allocations: 0 / 0.6045 GB, free: 6.184 MB / 446.1 MB Notification: Performance of matching and sorting (n=60): time 0.001702/0.4452, allocations: 1.028 MB / 0.6055 GB, free: 5.156 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.172e-05/0.4453, allocations: 107.1 kB / 0.6056 GB, free: 5.027 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002855/0.4482, allocations: 2.074 MB / 0.6077 GB, free: 2.945 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 4.519e-05/0.4482, allocations: 33.7 kB / 0.6077 GB, free: 2.906 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001376/0.4496, allocations: 1.722 MB / 0.6094 GB, free: 1.164 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000268/0.4499, allocations: 270.1 kB / 0.6096 GB, free: 0.8984 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008927/0.4507, allocations: 0.679 MB / 0.6103 GB, free: 216 kB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001867/0.4509, allocations: 330 kB / 0.6106 GB, free: 15.88 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001419/0.4523, allocations: 0.9043 MB / 0.6115 GB, free: 14.97 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003707/0.4561, allocations: 3.159 MB / 0.6146 GB, free: 10.67 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005586/0.4616, allocations: 4.449 MB / 0.6189 GB, free: 5.082 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.693e-05/0.4617, allocations: 28 kB / 0.6189 GB, free: 5.055 MB / 462.1 MB Notification: Performance of matching and sorting (n=434) (initialization): time 0.007183/0.4689, allocations: 3.832 MB / 0.6227 GB, free: 1.219 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.509e-05/0.4689, allocations: 40 kB / 0.6227 GB, free: 1.18 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.921e-05/0.469, allocations: 80 kB / 0.6228 GB, free: 1.102 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001285/0.4692, allocations: 108.8 kB / 0.6229 GB, free: 0.9961 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002053/0.4712, allocations: 0.7524 MB / 0.6236 GB, free: 248 kB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001449/0.4714, allocations: 159.4 kB / 0.6238 GB, free: 88 kB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0023/0.4737, allocations: 484.7 kB / 0.6243 GB, free: 15.61 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002852/0.474, allocations: 212 kB / 0.6245 GB, free: 15.4 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.001643/0.4756, allocations: 1.101 MB / 0.6255 GB, free: 14.29 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002595/0.4759, allocations: 151 kB / 0.6257 GB, free: 14.14 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003217/0.4762, allocations: 186.4 kB / 0.6259 GB, free: 13.96 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.875e-05/0.4762, allocations: 8 kB / 0.6259 GB, free: 13.95 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.135e-06/0.4762, allocations: 0 / 0.6259 GB, free: 13.95 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.27e-06/0.4762, allocations: 7.938 kB / 0.6259 GB, free: 13.94 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003145/0.4794, allocations: 1.572 MB / 0.6274 GB, free: 12.33 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.98e-06/0.4794, allocations: 0 / 0.6274 GB, free: 12.33 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000292/0.4797, allocations: 67.89 kB / 0.6275 GB, free: 12.27 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.38e-06/0.4797, allocations: 0 / 0.6275 GB, free: 12.27 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.169e-05/0.4797, allocations: 8 kB / 0.6275 GB, free: 12.26 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.376e-06/0.4797, allocations: 7.938 kB / 0.6275 GB, free: 12.25 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.857e-06/0.4797, allocations: 3.938 kB / 0.6275 GB, free: 12.25 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001228/0.4809, allocations: 1.013 MB / 0.6285 GB, free: 11.21 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002913/0.4812, allocations: 142.8 kB / 0.6286 GB, free: 11.07 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001379/0.4814, allocations: 8 kB / 0.6286 GB, free: 11.06 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004692/0.4818, allocations: 27.97 kB / 0.6286 GB, free: 11.04 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.822e-05/0.4819, allocations: 31.83 kB / 0.6287 GB, free: 11 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.166e-05/0.482, allocations: 16 kB / 0.6287 GB, free: 10.99 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.001809/0.4838, allocations: 1.182 MB / 0.6298 GB, free: 9.812 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4838, allocations: 0 / 0.6298 GB, free: 9.812 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.002556/0.4863, allocations: 0.5105 MB / 0.6303 GB, free: 9.301 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.0003315/0.4866, allocations: 131 kB / 0.6305 GB, free: 9.164 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.003644/0.4903, allocations: 1.961 MB / 0.6324 GB, free: 7.223 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 4.989e-06/0.4903, allocations: 0 / 0.6324 GB, free: 7.223 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004486/0.4907, allocations: 311.7 kB / 0.6327 GB, free: 6.918 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001042/0.4918, allocations: 157.1 kB / 0.6328 GB, free: 6.766 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007264/0.4991, allocations: 3.727 MB / 0.6365 GB, free: 2.988 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002164/0.5012, allocations: 1.205 MB / 0.6377 GB, free: 1.746 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.002685/0.5039, allocations: 1.092 MB / 0.6387 GB, free: 0.6484 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003396/0.5042, allocations: 103.4 kB / 0.6388 GB, free: 0.5469 MB / 478.1 MB Notification: Performance of SimCode: time 1.233e-06/0.5042, allocations: 0 / 0.6388 GB, free: 0.5469 MB / 478.1 MB Notification: Performance of Templates: time 0.02835/0.5326, allocations: 13.15 MB / 0.6517 GB, free: 3.621 MB / 494.1 MB " [Timeout remaining time 659] 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=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.VoluminousWheel.pipe 2>&1) [Timeout 480] 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.781467724591494]