Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Torus.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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_4.0.0_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_4.0.0_ModelicaTest.MultiBody.Visualizers.Torus") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001273/0.001273, allocations: 113.9 kB / 18.46 MB, free: 4.617 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001138/0.001138, allocations: 186.1 kB / 19.39 MB, free: 3.695 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.395/1.395, allocations: 222.9 MB / 243.1 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2155/0.2155, allocations: 44.19 MB / 337.4 MB, free: 2.688 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001431/0.001431, allocations: 68.08 kB / 471.2 MB, free: 13.21 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.369/0.3705, allocations: 60.82 MB / 0.5196 GB, free: 3.609 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Torus): time 0.01143/0.3819, allocations: 11.29 MB / 0.5306 GB, free: 11.59 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00747/0.3895, allocations: 2.79 MB / 0.5333 GB, free: 9.512 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002102/0.3916, allocations: 52.5 kB / 0.5333 GB, free: 9.508 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002775/0.3944, allocations: 1.31 MB / 0.5346 GB, free: 8.613 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003024/0.3975, allocations: 1.26 MB / 0.5359 GB, free: 7.727 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004043/0.3979, allocations: 83.31 kB / 0.5359 GB, free: 7.668 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.003542/0.4014, allocations: 2.751 MB / 0.5386 GB, free: 6.145 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002752/0.4042, allocations: 1.851 MB / 0.5404 GB, free: 5.008 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001971/0.4062, allocations: 1.048 MB / 0.5415 GB, free: 4.418 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002459/0.4087, allocations: 1.452 MB / 0.5429 GB, free: 3.57 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007293/0.4094, allocations: 212.7 kB / 0.5431 GB, free: 3.566 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001584/0.411, allocations: 0.4941 MB / 0.5436 GB, free: 3.375 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001737/0.4128, allocations: 1.421 MB / 0.5449 GB, free: 1.988 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002626/0.4154, allocations: 1.711 MB / 0.5466 GB, free: 272 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007004/0.4224, allocations: 5.489 MB / 0.552 GB, free: 10.76 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.38e-06/0.4224, allocations: 4 kB / 0.552 GB, free: 10.75 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.452e-06/0.4224, allocations: 0 / 0.552 GB, free: 10.75 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0002217/0.4227, allocations: 0 / 0.552 GB, free: 10.75 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.006514/0.4292, allocations: 3.612 MB / 0.5555 GB, free: 7.078 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.932e-05/0.4293, allocations: 8.031 kB / 0.5555 GB, free: 7.07 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009628/0.4389, allocations: 2.94 MB / 0.5584 GB, free: 4.121 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003634/0.4425, allocations: 1.534 MB / 0.5599 GB, free: 2.543 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001772/0.4427, allocations: 176.7 kB / 0.5601 GB, free: 2.367 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007951/0.4436, allocations: 224 kB / 0.5603 GB, free: 2.148 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0166/0.4602, allocations: 9.472 MB / 0.5695 GB, free: 8.293 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.784e-05/0.4603, allocations: 19.81 kB / 0.5695 GB, free: 8.273 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007198/0.461, allocations: 107.8 kB / 0.5696 GB, free: 8.168 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003871/0.4649, allocations: 2.369 MB / 0.572 GB, free: 5.797 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01737/0.4823, allocations: 8.664 MB / 0.5804 GB, free: 13.12 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0439/0.5262, allocations: 29.09 MB / 0.6088 GB, free: 15.23 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005199/0.5314, allocations: 3.048 MB / 0.6118 GB, free: 11.95 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00141/0.5329, allocations: 0.9844 MB / 0.6128 GB, free: 10.96 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00934/0.5422, allocations: 4.83 MB / 0.6175 GB, free: 5.879 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.399e-05/0.5423, allocations: 43.2 kB / 0.6175 GB, free: 5.828 MB / 478.1 MB Notification: Performance of pre-optimization done (n=126): time 4.608e-06/0.5423, allocations: 4 kB / 0.6175 GB, free: 5.824 MB / 478.1 MB Notification: Performance of matching and sorting (n=126): time 0.006459/0.5488, allocations: 2.74 MB / 0.6202 GB, free: 3.078 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.891e-05/0.5488, allocations: 60.06 kB / 0.6203 GB, free: 3.008 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004264/0.5531, allocations: 2.565 MB / 0.6228 GB, free: 424 kB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 6.77e-05/0.5532, allocations: 37.7 kB / 0.6228 GB, free: 380 kB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002002/0.5552, allocations: 2.649 MB / 0.6254 GB, free: 13.68 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000509/0.5557, allocations: 493.8 kB / 0.6259 GB, free: 13.19 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00123/0.557, allocations: 0.9044 MB / 0.6267 GB, free: 12.27 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001748/0.5571, allocations: 365.8 kB / 0.6271 GB, free: 11.91 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002103/0.5593, allocations: 1.355 MB / 0.6284 GB, free: 10.55 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003902/0.5632, allocations: 4.118 MB / 0.6324 GB, free: 5.039 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006425/0.5696, allocations: 5.96 MB / 0.6382 GB, free: 13.7 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.818e-05/0.5697, allocations: 28 kB / 0.6383 GB, free: 13.67 MB / 0.4981 GB Notification: Performance of matching and sorting (n=588) (initialization): time 0.008424/0.5781, allocations: 5.283 MB / 0.6434 GB, free: 8.383 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 8.027e-05/0.5782, allocations: 48 kB / 0.6435 GB, free: 8.336 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001713/0.5784, allocations: 96 kB / 0.6436 GB, free: 8.242 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001462/0.5786, allocations: 139.9 kB / 0.6437 GB, free: 8.105 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002856/0.5814, allocations: 0.9708 MB / 0.6447 GB, free: 7.133 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001776/0.5816, allocations: 195.2 kB / 0.6448 GB, free: 6.941 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002998/0.5846, allocations: 0.6033 MB / 0.6454 GB, free: 6.332 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004447/0.5851, allocations: 284 kB / 0.6457 GB, free: 6.055 MB / 0.4981 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.003233/0.5883, allocations: 1.895 MB / 0.6475 GB, free: 4.148 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003596/0.5887, allocations: 213.2 kB / 0.6478 GB, free: 3.938 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005801/0.5893, allocations: 267.4 kB / 0.648 GB, free: 3.672 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.051e-05/0.5893, allocations: 3.984 kB / 0.648 GB, free: 3.668 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.536e-06/0.5893, allocations: 0 / 0.648 GB, free: 3.668 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005427/0.5898, allocations: 286 kB / 0.6483 GB, free: 3.367 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003336/0.5902, allocations: 20 kB / 0.6483 GB, free: 3.348 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006799/0.5909, allocations: 43.88 kB / 0.6483 GB, free: 3.305 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001342/0.591, allocations: 44.59 kB / 0.6484 GB, free: 3.262 MB / 0.4981 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002485/0.5935, allocations: 1.476 MB / 0.6498 GB, free: 1.777 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002417/0.5959, allocations: 1.724 MB / 0.6515 GB, free: 36 kB / 0.4981 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0008753/0.5968, allocations: 0.6575 MB / 0.6522 GB, free: 15.38 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.002559/0.5994, allocations: 1.564 MB / 0.6537 GB, free: 13.8 MB / 0.5137 GB Notification: Performance of Backend: time 7.91e-07/0.5994, allocations: 0 / 0.6537 GB, free: 13.8 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.00508/0.6045, allocations: 2.621 MB / 0.6562 GB, free: 11.2 MB / 0.5137 GB Notification: Performance of SimCode: time 0.01442/0.6189, allocations: 7.415 MB / 0.6635 GB, free: 3.727 MB / 0.5137 GB Notification: Performance of Templates: time 0.05143/0.6704, allocations: 24.85 MB / 0.6878 GB, free: 10.96 MB / 0.545 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Torus.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Torus.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Torus.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Torus.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Torus.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Torus -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Torus.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Torus_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Visualizers/Torus/Torus.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Torus.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches