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/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/ModelicaServices 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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) 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/Complex 4.0.0+maint.om/package.mo): time 0.001089/0.001089, allocations: 186.9 kB / 17.97 MB, free: 3.797 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.41/1.41, allocations: 222.9 MB / 241.6 MB, free: 10.98 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001062/0.001062, allocations: 103.4 kB / 291.9 MB, free: 10.94 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.328/0.328, allocations: 44.13 MB / 386.1 MB, free: 37.9 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001171/0.001171, allocations: 63.84 kB / 457.7 MB, free: 2.301 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3611/0.3623, allocations: 60.79 MB / 0.5064 GB, free: 38.33 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Torus): time 0.02351/0.3859, allocations: 28.7 MB / 0.5344 GB, free: 17.84 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.01207/0.398, allocations: 5.615 MB / 0.5399 GB, free: 14.12 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006463/0.4045, allocations: 113.3 kB / 0.54 GB, free: 14.11 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003002/0.4076, allocations: 1.277 MB / 0.5412 GB, free: 13.54 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002974/0.4106, allocations: 1.157 MB / 0.5424 GB, free: 13.05 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004907/0.4112, allocations: 74.03 kB / 0.5424 GB, free: 13.02 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.004213/0.4154, allocations: 4.06 MB / 0.5464 GB, free: 11.76 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002861/0.4183, allocations: 1.841 MB / 0.5482 GB, free: 11.06 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002004/0.4203, allocations: 0.9252 MB / 0.5491 GB, free: 10.71 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002433/0.4227, allocations: 1.524 MB / 0.5506 GB, free: 10.2 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0008975/0.4237, allocations: 152.2 kB / 0.5507 GB, free: 10.2 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001743/0.4254, allocations: 461.1 kB / 0.5512 GB, free: 10.09 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001971/0.4274, allocations: 1.374 MB / 0.5525 GB, free: 9.629 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.004137/0.4316, allocations: 1.672 MB / 0.5542 GB, free: 8.414 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.007043/0.4386, allocations: 5.151 MB / 0.5592 GB, free: 6.547 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.076e-05/0.4387, allocations: 1.438 kB / 0.5592 GB, free: 6.547 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.884e-06/0.4387, allocations: 0 / 0.5592 GB, free: 6.547 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0002243/0.4389, allocations: 0 / 0.5592 GB, free: 6.547 MB / 378.7 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.007408/0.4463, allocations: 3.615 MB / 0.5627 GB, free: 4.156 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.148e-05/0.4464, allocations: 9.5 kB / 0.5627 GB, free: 4.156 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009562/0.456, allocations: 2.936 MB / 0.5656 GB, free: 2.621 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003767/0.4598, allocations: 1.527 MB / 0.5671 GB, free: 1.594 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001457/0.4599, allocations: 172.8 kB / 0.5673 GB, free: 1.508 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004833/0.4604, allocations: 226.4 kB / 0.5675 GB, free: 1.309 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0153/0.4757, allocations: 9.468 MB / 0.5767 GB, free: 7.453 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.339e-05/0.4759, allocations: 19.81 kB / 0.5767 GB, free: 7.434 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007501/0.4766, allocations: 107.8 kB / 0.5768 GB, free: 7.328 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003984/0.4806, allocations: 2.377 MB / 0.5792 GB, free: 4.949 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0164/0.4971, allocations: 8.67 MB / 0.5876 GB, free: 12.27 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04468/0.5418, allocations: 29.29 MB / 0.6162 GB, free: 14.18 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004944/0.5468, allocations: 3.052 MB / 0.6192 GB, free: 10.91 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001538/0.5483, allocations: 0.9897 MB / 0.6202 GB, free: 9.914 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0102/0.5586, allocations: 4.843 MB / 0.6249 GB, free: 4.82 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.932e-05/0.5587, allocations: 43.2 kB / 0.625 GB, free: 4.77 MB / 442.7 MB Notification: Performance of pre-optimization done (n=126): time 5.15e-06/0.5587, allocations: 0 / 0.625 GB, free: 4.77 MB / 442.7 MB Notification: Performance of matching and sorting (n=126): time 0.006/0.5647, allocations: 2.728 MB / 0.6276 GB, free: 2.035 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.081e-05/0.5648, allocations: 60.06 kB / 0.6277 GB, free: 1.965 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005663/0.5704, allocations: 2.569 MB / 0.6302 GB, free: 15.37 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001743/0.5706, allocations: 53.62 kB / 0.6302 GB, free: 15.31 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002274/0.5729, allocations: 2.637 MB / 0.6328 GB, free: 12.63 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007741/0.5737, allocations: 0.4899 MB / 0.6333 GB, free: 12.13 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002718/0.5765, allocations: 0.9045 MB / 0.6342 GB, free: 11.21 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001966/0.5767, allocations: 357.9 kB / 0.6345 GB, free: 10.86 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002403/0.5791, allocations: 1.352 MB / 0.6358 GB, free: 9.5 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003892/0.583, allocations: 4.122 MB / 0.6399 GB, free: 3.988 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006473/0.5895, allocations: 5.964 MB / 0.6457 GB, free: 12.64 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.399e-05/0.5896, allocations: 28 kB / 0.6457 GB, free: 12.62 MB / 474.7 MB Notification: Performance of matching and sorting (n=588) (initialization): time 0.009719/0.5993, allocations: 5.283 MB / 0.6509 GB, free: 7.328 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000123/0.5995, allocations: 48.25 kB / 0.6509 GB, free: 7.281 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001801/0.5997, allocations: 100 kB / 0.651 GB, free: 7.184 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000143/0.5999, allocations: 128 kB / 0.6511 GB, free: 7.059 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002955/0.6028, allocations: 0.9786 MB / 0.6521 GB, free: 6.078 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001826/0.603, allocations: 195.2 kB / 0.6523 GB, free: 5.887 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003258/0.6063, allocations: 0.5914 MB / 0.6528 GB, free: 5.289 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006178/0.6069, allocations: 280 kB / 0.6531 GB, free: 5.016 MB / 474.7 MB 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.00412/0.6111, allocations: 1.899 MB / 0.655 GB, free: 3.102 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005402/0.6116, allocations: 209.2 kB / 0.6552 GB, free: 2.895 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007583/0.6124, allocations: 275.4 kB / 0.6554 GB, free: 2.621 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.506e-05/0.6124, allocations: 16 kB / 0.6554 GB, free: 2.605 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.363e-05/0.6125, allocations: 3.938 kB / 0.6555 GB, free: 2.602 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.049e-05/0.6125, allocations: 3.984 kB / 0.6555 GB, free: 2.598 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0125/0.625, allocations: 5.618 MB / 0.6609 GB, free: 12.85 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.661e-05/0.625, allocations: 7.984 kB / 0.6609 GB, free: 12.84 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006243/0.6257, allocations: 135.8 kB / 0.6611 GB, free: 12.71 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.228e-05/0.6257, allocations: 4 kB / 0.6611 GB, free: 12.71 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.894e-05/0.6258, allocations: 20 kB / 0.6611 GB, free: 12.69 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.104e-05/0.6258, allocations: 12.55 kB / 0.6611 GB, free: 12.68 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.364e-06/0.6258, allocations: 11.94 kB / 0.6611 GB, free: 12.66 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004134/0.6299, allocations: 3.529 MB / 0.6646 GB, free: 9.023 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007229/0.6307, allocations: 286 kB / 0.6648 GB, free: 8.723 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004891/0.6312, allocations: 23.92 kB / 0.6649 GB, free: 8.699 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009094/0.6321, allocations: 39.95 kB / 0.6649 GB, free: 8.66 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001442/0.6323, allocations: 64.38 kB / 0.665 GB, free: 8.598 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.306e-05/0.6324, allocations: 39.98 kB / 0.665 GB, free: 8.559 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.003036/0.6354, allocations: 1.568 MB / 0.6665 GB, free: 6.977 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.6354, allocations: 0 / 0.6665 GB, free: 6.977 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.004876/0.6403, allocations: 1.007 MB / 0.6675 GB, free: 5.965 MB / 490.7 MB 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.000465/0.6408, allocations: 147.6 kB / 0.6677 GB, free: 5.812 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.005135/0.6459, allocations: 3.131 MB / 0.6707 GB, free: 2.703 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 6.532e-06/0.646, allocations: 2 kB / 0.6707 GB, free: 2.703 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009402/0.6469, allocations: 0.7424 MB / 0.6714 GB, free: 1.961 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001918/0.6488, allocations: 235.9 kB / 0.6717 GB, free: 1.73 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01854/0.6674, allocations: 9.974 MB / 0.6814 GB, free: 7.664 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004976/0.6724, allocations: 3.005 MB / 0.6843 GB, free: 4.629 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.003836/0.6763, allocations: 1.484 MB / 0.6858 GB, free: 3.137 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005045/0.6768, allocations: 159.4 kB / 0.6859 GB, free: 2.98 MB / 0.4948 GB Notification: Performance of SimCode: time 7.21e-07/0.6768, allocations: 0 / 0.6859 GB, free: 2.98 MB / 0.4948 GB Notification: Performance of Templates: time 0.2603/0.9371, allocations: 18.46 MB / 0.704 GB, free: 142.4 MB / 0.4948 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/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Visualizers/Torus/Torus.csv","../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Torus.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches