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.00101/0.00101, allocations: 96.44 kB / 16.99 MB, free: 5.938 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001472/0.001472, allocations: 204.4 kB / 17.9 MB, free: 5.594 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.378/1.378, allocations: 227.2 MB / 245.9 MB, free: 12.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2316/0.2316, allocations: 45.93 MB / 344 MB, free: 12.36 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000287/0.000287, allocations: 8 kB / 417.9 MB, free: 20.93 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1456/0.1459, allocations: 63.46 MB / 481.4 MB, free: 5.453 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Torus): time 0.0263/0.1723, allocations: 24.54 MB / 0.4941 GB, free: 12.84 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01358/0.1859, allocations: 5.627 MB / 0.4996 GB, free: 7.199 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005483/0.1915, allocations: 111.8 kB / 0.4997 GB, free: 7.09 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004727/0.1962, allocations: 1.268 MB / 0.5009 GB, free: 5.816 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0139/0.2101, allocations: 3.631 MB / 0.5044 GB, free: 2.176 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001394/0.2116, allocations: 83.86 kB / 0.5045 GB, free: 2.094 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.004084/0.2157, allocations: 1.502 MB / 0.506 GB, free: 0.5938 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.3006/0.5163, allocations: 2.129 MB / 0.5081 GB, free: 11.16 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001931/0.5182, allocations: 0.7398 MB / 0.5088 GB, free: 11.16 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001995/0.5202, allocations: 0.9823 MB / 0.5098 GB, free: 11.15 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005622/0.5208, allocations: 117.2 kB / 0.5099 GB, free: 11.15 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001174/0.522, allocations: 377.7 kB / 0.5102 GB, free: 11.15 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001457/0.5235, allocations: 1.188 MB / 0.5114 GB, free: 11.15 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00104/0.5245, allocations: 0.6891 MB / 0.5121 GB, free: 11.12 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00677/0.5313, allocations: 4.171 MB / 0.5161 GB, free: 10.81 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.5313, allocations: 0 / 0.5161 GB, free: 10.81 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.036e-06/0.5313, allocations: 0 / 0.5161 GB, free: 10.81 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002179/0.5316, allocations: 1.375 kB / 0.5161 GB, free: 10.81 MB / 382.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.00676/0.5383, allocations: 2.972 MB / 0.519 GB, free: 9.219 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.453e-05/0.5384, allocations: 9.625 kB / 0.519 GB, free: 9.219 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01198/0.5504, allocations: 3.576 MB / 0.5225 GB, free: 8.664 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00448/0.5549, allocations: 1.51 MB / 0.524 GB, free: 8.086 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001988/0.5551, allocations: 172.3 kB / 0.5242 GB, free: 8.078 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007876/0.5559, allocations: 221.6 kB / 0.5244 GB, free: 8.078 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01501/0.5709, allocations: 9.499 MB / 0.5337 GB, free: 5.758 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.657e-05/0.571, allocations: 18.16 kB / 0.5337 GB, free: 5.758 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003657/0.5714, allocations: 106.2 kB / 0.5338 GB, free: 5.758 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003247/0.5747, allocations: 2.376 MB / 0.5361 GB, free: 5.227 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01442/0.5891, allocations: 8.683 MB / 0.5446 GB, free: 1.043 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04729/0.6364, allocations: 29.35 MB / 0.5732 GB, free: 6.105 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005555/0.642, allocations: 3.054 MB / 0.5762 GB, free: 2.828 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01036/0.6524, allocations: 4.867 MB / 0.581 GB, free: 13.75 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.168e-05/0.6525, allocations: 48.39 kB / 0.581 GB, free: 13.7 MB / 430.1 MB Notification: Performance of pre-optimization done (n=126): time 5.39e-06/0.6525, allocations: 0 / 0.581 GB, free: 13.7 MB / 430.1 MB Notification: Performance of matching and sorting (n=126): time 0.007116/0.6596, allocations: 3.248 MB / 0.5842 GB, free: 10.33 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.099e-05/0.6597, allocations: 60.06 kB / 0.5843 GB, free: 10.26 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006216/0.6659, allocations: 2.547 MB / 0.5867 GB, free: 7.688 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001185/0.666, allocations: 37.7 kB / 0.5868 GB, free: 7.645 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002649/0.6687, allocations: 2.645 MB / 0.5894 GB, free: 5.008 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008686/0.6696, allocations: 497 kB / 0.5898 GB, free: 4.527 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003748/0.67, allocations: 89.53 kB / 0.5899 GB, free: 4.441 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0006437/0.6706, allocations: 0.5476 MB / 0.5905 GB, free: 3.883 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002792/0.6734, allocations: 1.336 MB / 0.5918 GB, free: 2.539 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004827/0.6783, allocations: 4.089 MB / 0.5958 GB, free: 13.11 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00402/0.6823, allocations: 2.352 MB / 0.5981 GB, free: 10.84 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001156/0.6824, allocations: 28 kB / 0.5981 GB, free: 10.82 MB / 446.1 MB Notification: Performance of matching and sorting (n=588) (initialization): time 0.009148/0.6916, allocations: 5.256 MB / 0.6032 GB, free: 5.656 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.114e-05/0.6917, allocations: 48 kB / 0.6033 GB, free: 5.609 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001225/0.6918, allocations: 96 kB / 0.6033 GB, free: 5.516 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001494/0.692, allocations: 144 kB / 0.6035 GB, free: 5.375 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003224/0.6952, allocations: 0.9747 MB / 0.6044 GB, free: 4.398 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002213/0.6955, allocations: 195.3 kB / 0.6046 GB, free: 4.207 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003473/0.6989, allocations: 0.6052 MB / 0.6052 GB, free: 3.602 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005893/0.6995, allocations: 279.2 kB / 0.6055 GB, free: 3.332 MB / 446.1 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003863/0.7034, allocations: 1.891 MB / 0.6073 GB, free: 1.426 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003977/0.7038, allocations: 217.1 kB / 0.6075 GB, free: 1.211 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005252/0.7044, allocations: 275.4 kB / 0.6078 GB, free: 0.9375 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.893e-05/0.7044, allocations: 15.44 kB / 0.6078 GB, free: 0.9258 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.091e-05/0.7044, allocations: 4 kB / 0.6078 GB, free: 0.9219 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.347e-06/0.7044, allocations: 3.984 kB / 0.6078 GB, free: 0.918 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009849/0.7143, allocations: 5.596 MB / 0.6133 GB, free: 11.22 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.736e-06/0.7143, allocations: 4 kB / 0.6133 GB, free: 11.21 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005862/0.7149, allocations: 144.3 kB / 0.6134 GB, free: 11.07 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.636e-05/0.7149, allocations: 8 kB / 0.6134 GB, free: 11.07 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.226e-05/0.715, allocations: 27.95 kB / 0.6135 GB, free: 11.04 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.03e-05/0.715, allocations: 8 kB / 0.6135 GB, free: 11.03 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.796e-06/0.715, allocations: 17.47 kB / 0.6135 GB, free: 11.02 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00265/0.7177, allocations: 2.107 MB / 0.6155 GB, free: 8.711 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007162/0.7184, allocations: 309.9 kB / 0.6158 GB, free: 8.387 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002103/0.7186, allocations: 23.47 kB / 0.6159 GB, free: 8.367 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005778/0.7192, allocations: 39.95 kB / 0.6159 GB, free: 8.328 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001139/0.7194, allocations: 64.39 kB / 0.616 GB, free: 8.266 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.035e-05/0.7194, allocations: 36.62 kB / 0.616 GB, free: 8.23 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.00256/0.722, allocations: 1.549 MB / 0.6175 GB, free: 6.668 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.722, allocations: 0 / 0.6175 GB, free: 6.668 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.004023/0.726, allocations: 1.001 MB / 0.6185 GB, free: 5.668 MB / 462.1 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004254/0.7265, allocations: 139.5 kB / 0.6186 GB, free: 5.527 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.005716/0.7322, allocations: 3.118 MB / 0.6217 GB, free: 2.438 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 5.11e-06/0.7322, allocations: 0 / 0.6217 GB, free: 2.438 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009236/0.7332, allocations: 0.739 MB / 0.6224 GB, free: 1.695 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00105/0.7342, allocations: 232.8 kB / 0.6226 GB, free: 1.473 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01737/0.7516, allocations: 8.787 MB / 0.6312 GB, free: 8.613 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003566/0.7552, allocations: 3.038 MB / 0.6342 GB, free: 5.547 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.00345/0.7587, allocations: 1.488 MB / 0.6356 GB, free: 4.051 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003734/0.7591, allocations: 155.4 kB / 0.6358 GB, free: 3.902 MB / 478.1 MB Notification: Performance of SimCode: time 1.533e-06/0.7591, allocations: 0 / 0.6358 GB, free: 3.902 MB / 478.1 MB Notification: Performance of Templates: time 0.03702/0.7961, allocations: 17.49 MB / 0.6528 GB, free: 2.559 MB / 494.1 MB 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","../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Torus.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches