Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Torus.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) 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/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 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.Torus,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|torus1.surface.nu|torus1.surface.nv|torus2.surface.nu|torus2.surface.nv",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Torus") translateModel(ModelicaTest.MultiBody.Visualizers.Torus,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|torus1.surface.nu|torus1.surface.nv|torus2.surface.nu|torus2.surface.nv",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Torus") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001431/0.001431, allocations: 122.8 kB / 17.79 MB, free: 5.262 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001725/0.001725, allocations: 197.2 kB / 18.73 MB, free: 4.32 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.475/1.475, allocations: 227.4 MB / 246.9 MB, free: 10.6 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2199/0.2199, allocations: 46.1 MB / 344.3 MB, free: 11.55 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00263/0.00263, allocations: 75.88 kB / 481.3 MB, free: 4.125 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4177/0.4203, allocations: 62.44 MB / 0.531 GB, free: 13.63 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Torus): time 0.01527/0.4357, allocations: 11.25 MB / 0.542 GB, free: 4.801 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.007762/0.4435, allocations: 2.809 MB / 0.5447 GB, free: 2.621 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002394/0.4459, allocations: 56.91 kB / 0.5448 GB, free: 2.613 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002876/0.4488, allocations: 1.332 MB / 0.5461 GB, free: 1.699 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003521/0.4524, allocations: 1.241 MB / 0.5473 GB, free: 0.832 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005171/0.4529, allocations: 86.72 kB / 0.5474 GB, free: 0.7695 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.003976/0.4569, allocations: 2.714 MB / 0.55 GB, free: 14.23 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002288/0.4592, allocations: 1.848 MB / 0.5518 GB, free: 12.36 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001685/0.4609, allocations: 1.047 MB / 0.5528 GB, free: 11.3 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002071/0.463, allocations: 1.444 MB / 0.5542 GB, free: 9.855 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004178/0.4634, allocations: 208 kB / 0.5544 GB, free: 9.652 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001043/0.4645, allocations: 0.4915 MB / 0.5549 GB, free: 9.16 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001214/0.4657, allocations: 1.398 MB / 0.5563 GB, free: 7.758 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001456/0.4672, allocations: 1.692 MB / 0.5579 GB, free: 6.055 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005026/0.4722, allocations: 5.431 MB / 0.5632 GB, free: 0.6055 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.45e-06/0.4723, allocations: 4 kB / 0.5633 GB, free: 0.6016 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.124e-06/0.4723, allocations: 0 / 0.5633 GB, free: 0.6016 MB / 414.1 MB Notification: Performance of Transformations before backend: time 7.102e-05/0.4723, allocations: 0 / 0.5633 GB, free: 0.6016 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: 1443 * Number of variables: 1443 Notification: Performance of Generate backend data structure: time 0.004875/0.4772, allocations: 3.574 MB / 0.5667 GB, free: 12.96 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.071e-05/0.4773, allocations: 12.03 kB / 0.5668 GB, free: 12.95 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00942/0.4867, allocations: 2.936 MB / 0.5696 GB, free: 10.01 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00308/0.4898, allocations: 1.534 MB / 0.5711 GB, free: 8.426 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001338/0.49, allocations: 176.6 kB / 0.5713 GB, free: 8.25 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004219/0.4904, allocations: 224 kB / 0.5715 GB, free: 8.031 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01335/0.5038, allocations: 9.468 MB / 0.5807 GB, free: 14.18 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.143e-05/0.5039, allocations: 19.81 kB / 0.5808 GB, free: 14.16 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002906/0.5042, allocations: 107.8 kB / 0.5809 GB, free: 14.05 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003447/0.5076, allocations: 2.377 MB / 0.5832 GB, free: 11.67 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0156/0.5232, allocations: 8.668 MB / 0.5917 GB, free: 2.996 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04069/0.564, allocations: 29.08 MB / 0.6201 GB, free: 5.105 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005227/0.5692, allocations: 3.056 MB / 0.623 GB, free: 1.82 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001354/0.5706, allocations: 0.9837 MB / 0.624 GB, free: 0.8398 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00849/0.5791, allocations: 4.826 MB / 0.6287 GB, free: 11.76 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.664e-05/0.5792, allocations: 47.22 kB / 0.6288 GB, free: 11.7 MB / 494.1 MB Notification: Performance of pre-optimization done (n=126): time 5.059e-06/0.5792, allocations: 7.938 kB / 0.6288 GB, free: 11.7 MB / 494.1 MB Notification: Performance of matching and sorting (n=126): time 0.006379/0.5856, allocations: 2.732 MB / 0.6314 GB, free: 8.957 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.868e-05/0.5857, allocations: 64 kB / 0.6315 GB, free: 8.883 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004076/0.5898, allocations: 2.561 MB / 0.634 GB, free: 6.293 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 7.832e-05/0.5899, allocations: 41.7 kB / 0.634 GB, free: 6.246 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001995/0.5919, allocations: 2.637 MB / 0.6366 GB, free: 3.57 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004806/0.5924, allocations: 0.4898 MB / 0.6371 GB, free: 3.074 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001162/0.5936, allocations: 0.9006 MB / 0.638 GB, free: 2.16 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001475/0.5937, allocations: 365.9 kB / 0.6383 GB, free: 1.797 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001954/0.5957, allocations: 1.355 MB / 0.6396 GB, free: 444 kB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003794/0.5995, allocations: 4.122 MB / 0.6437 GB, free: 10.92 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006287/0.6058, allocations: 5.96 MB / 0.6495 GB, free: 3.586 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.513e-05/0.6059, allocations: 28 kB / 0.6495 GB, free: 3.559 MB / 0.4981 GB Notification: Performance of matching and sorting (n=588) (initialization): time 0.007993/0.6139, allocations: 5.279 MB / 0.6547 GB, free: 14.27 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 8.69e-05/0.614, allocations: 44 kB / 0.6547 GB, free: 14.23 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000136/0.6141, allocations: 100 kB / 0.6548 GB, free: 14.13 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000156/0.6143, allocations: 132 kB / 0.6549 GB, free: 14 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002952/0.6172, allocations: 0.9708 MB / 0.6559 GB, free: 13.03 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00024/0.6175, allocations: 191.8 kB / 0.6561 GB, free: 12.84 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003022/0.6205, allocations: 0.6107 MB / 0.6567 GB, free: 12.23 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003847/0.6209, allocations: 272 kB / 0.6569 GB, free: 11.96 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 446 * Number of states: 0 () * Number of discrete variables: 21 (fixedFrame1.color_x[3],fixedFrame1.color_x[2],fixedFrame1.color_x[1],fixedFrame.color_x[3],fixedFrame.color_x[2],fixedFrame.color_x[1],fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[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],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (540): * Single equations (assignments): 534 * Array equations: 6 * 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.003057/0.624, allocations: 1.895 MB / 0.6588 GB, free: 10.05 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003836/0.6244, allocations: 217.2 kB / 0.659 GB, free: 9.836 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005485/0.6249, allocations: 271.3 kB / 0.6592 GB, free: 9.566 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.13e-05/0.625, allocations: 19.98 kB / 0.6593 GB, free: 9.547 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.077e-06/0.625, allocations: 4 kB / 0.6593 GB, free: 9.543 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.243e-06/0.625, allocations: 3.984 kB / 0.6593 GB, free: 9.539 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01042/0.6354, allocations: 5.599 MB / 0.6647 GB, free: 3.816 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.418e-06/0.6355, allocations: 4.562 kB / 0.6647 GB, free: 3.812 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005571/0.636, allocations: 143.8 kB / 0.6649 GB, free: 3.672 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.444e-05/0.6361, allocations: 4 kB / 0.6649 GB, free: 3.668 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.197e-05/0.6361, allocations: 20 kB / 0.6649 GB, free: 3.648 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.23e-05/0.6361, allocations: 11.94 kB / 0.6649 GB, free: 3.637 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.552e-06/0.6362, allocations: 7.984 kB / 0.6649 GB, free: 3.629 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002274/0.6384, allocations: 1.796 MB / 0.6667 GB, free: 1.758 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000475/0.6389, allocations: 286 kB / 0.6669 GB, free: 1.457 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003138/0.6392, allocations: 16 kB / 0.667 GB, free: 1.441 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006613/0.6399, allocations: 47.95 kB / 0.667 GB, free: 1.395 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001286/0.64, allocations: 56.38 kB / 0.6671 GB, free: 1.34 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.9e-05/0.6401, allocations: 51.91 kB / 0.6671 GB, free: 1.289 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.002235/0.6424, allocations: 1.552 MB / 0.6686 GB, free: 15.72 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.61e-07/0.6424, allocations: 4 kB / 0.6686 GB, free: 15.72 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.003612/0.646, allocations: 0.9836 MB / 0.6696 GB, free: 14.73 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * 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 (78): * Single equations (assignments): 72 * Array equations: 6 * 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.0003921/0.6464, allocations: 147 kB / 0.6697 GB, free: 14.58 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.004665/0.6511, allocations: 3.155 MB / 0.6728 GB, free: 11.45 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 5.249e-06/0.6511, allocations: 4.938 kB / 0.6728 GB, free: 11.45 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0008371/0.652, allocations: 0.7376 MB / 0.6735 GB, free: 10.71 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001147/0.6531, allocations: 263.8 kB / 0.6738 GB, free: 10.45 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01174/0.6649, allocations: 7.157 MB / 0.6808 GB, free: 3.211 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003685/0.6686, allocations: 2.962 MB / 0.6837 GB, free: 224 kB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.003263/0.6718, allocations: 1.488 MB / 0.6851 GB, free: 14.72 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004592/0.6723, allocations: 151.4 kB / 0.6853 GB, free: 14.57 MB / 0.545 GB Notification: Performance of SimCode: time 6.01e-07/0.6723, allocations: 4 kB / 0.6853 GB, free: 14.57 MB / 0.545 GB Notification: Performance of Templates: time 0.03784/0.7102, allocations: 16.44 MB / 0.7013 GB, free: 14.2 MB / 0.5606 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Torus.makefile (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Torus.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Torus.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Torus.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Torus.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Torus -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Torus.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Torus_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Visualizers/Torus/Torus.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Torus.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches