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.001609/0.001609, allocations: 117.8 kB / 17.79 MB, free: 5.301 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002079/0.002079, allocations: 199.8 kB / 18.73 MB, free: 4.363 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.456/1.456, allocations: 227.4 MB / 246.9 MB, free: 10.5 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2414/0.2414, allocations: 46.1 MB / 344.3 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001368/0.001368, allocations: 71.88 kB / 481.3 MB, free: 4.082 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.347/0.3484, allocations: 62.43 MB / 0.531 GB, free: 13.81 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Torus): time 0.01224/0.3607, allocations: 11.24 MB / 0.5419 GB, free: 4.992 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0069/0.3676, allocations: 2.816 MB / 0.5447 GB, free: 2.805 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001845/0.3695, allocations: 52.84 kB / 0.5447 GB, free: 2.801 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002713/0.3723, allocations: 1.329 MB / 0.546 GB, free: 1.891 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002869/0.3752, allocations: 1.209 MB / 0.5472 GB, free: 1.043 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003081/0.3755, allocations: 79.98 kB / 0.5473 GB, free: 0.9883 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.003073/0.3786, allocations: 2.728 MB / 0.55 GB, free: 14.38 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001959/0.3806, allocations: 1.842 MB / 0.5518 GB, free: 12.5 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001103/0.3817, allocations: 1.043 MB / 0.5528 GB, free: 11.46 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001553/0.3833, allocations: 1.444 MB / 0.5542 GB, free: 10.01 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003532/0.3836, allocations: 208 kB / 0.5544 GB, free: 9.805 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009471/0.3846, allocations: 0.4955 MB / 0.5549 GB, free: 9.309 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001049/0.3856, allocations: 1.395 MB / 0.5562 GB, free: 7.91 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001318/0.387, allocations: 1.696 MB / 0.5579 GB, free: 6.203 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004723/0.3917, allocations: 5.433 MB / 0.5632 GB, free: 0.75 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.12e-06/0.3917, allocations: 0 / 0.5632 GB, free: 0.75 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.803e-06/0.3917, allocations: 0 / 0.5632 GB, free: 0.75 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0001148/0.3919, allocations: 4 kB / 0.5632 GB, free: 0.7461 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.004821/0.3967, allocations: 3.57 MB / 0.5667 GB, free: 13.11 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.576e-05/0.3967, allocations: 8.031 kB / 0.5667 GB, free: 13.11 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009959/0.4067, allocations: 2.936 MB / 0.5696 GB, free: 10.16 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003153/0.4099, allocations: 1.534 MB / 0.5711 GB, free: 8.578 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001546/0.4101, allocations: 172.6 kB / 0.5712 GB, free: 8.406 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006857/0.4108, allocations: 228 kB / 0.5714 GB, free: 8.184 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01393/0.4247, allocations: 9.476 MB / 0.5807 GB, free: 14.32 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.403e-05/0.4248, allocations: 19.81 kB / 0.5807 GB, free: 14.3 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003358/0.4252, allocations: 107.8 kB / 0.5808 GB, free: 14.2 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003619/0.4288, allocations: 2.377 MB / 0.5831 GB, free: 11.82 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01553/0.4443, allocations: 8.668 MB / 0.5916 GB, free: 3.141 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04268/0.4871, allocations: 29.08 MB / 0.62 GB, free: 5.246 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004976/0.4921, allocations: 3.053 MB / 0.623 GB, free: 1.965 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001359/0.4935, allocations: 0.9798 MB / 0.6239 GB, free: 0.9883 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009251/0.5027, allocations: 4.838 MB / 0.6287 GB, free: 11.89 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.995e-05/0.5028, allocations: 55.09 kB / 0.6287 GB, free: 11.83 MB / 494.1 MB Notification: Performance of pre-optimization done (n=126): time 4.138e-06/0.5028, allocations: 0 / 0.6287 GB, free: 11.83 MB / 494.1 MB Notification: Performance of matching and sorting (n=126): time 0.00585/0.5087, allocations: 2.728 MB / 0.6314 GB, free: 9.098 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.703e-05/0.5087, allocations: 64.06 kB / 0.6314 GB, free: 9.023 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003537/0.5123, allocations: 2.557 MB / 0.6339 GB, free: 6.438 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 6.276e-05/0.5124, allocations: 41.7 kB / 0.634 GB, free: 6.391 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001553/0.5139, allocations: 2.637 MB / 0.6366 GB, free: 3.715 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004018/0.5143, allocations: 0.4937 MB / 0.637 GB, free: 3.215 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001037/0.5154, allocations: 0.9045 MB / 0.6379 GB, free: 2.297 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001503/0.5155, allocations: 361.8 kB / 0.6383 GB, free: 1.938 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001757/0.5173, allocations: 1.355 MB / 0.6396 GB, free: 0.5742 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003465/0.5208, allocations: 4.118 MB / 0.6436 GB, free: 11.07 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006208/0.527, allocations: 5.964 MB / 0.6494 GB, free: 3.727 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.602e-05/0.5271, allocations: 28 kB / 0.6495 GB, free: 3.699 MB / 0.4981 GB Notification: Performance of matching and sorting (n=588) (initialization): time 0.008204/0.5353, allocations: 5.274 MB / 0.6546 GB, free: 14.42 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 6.256e-05/0.5354, allocations: 48 kB / 0.6547 GB, free: 14.37 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.319e-05/0.5355, allocations: 100.9 kB / 0.6548 GB, free: 14.27 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001156/0.5356, allocations: 128 kB / 0.6549 GB, free: 14.15 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002523/0.5381, allocations: 0.9786 MB / 0.6558 GB, free: 13.17 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001421/0.5383, allocations: 187.3 kB / 0.656 GB, free: 12.98 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002752/0.5411, allocations: 0.603 MB / 0.6566 GB, free: 12.38 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004002/0.5415, allocations: 280 kB / 0.6569 GB, free: 12.1 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.00298/0.5445, allocations: 1.891 MB / 0.6587 GB, free: 10.2 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003386/0.5448, allocations: 221.2 kB / 0.6589 GB, free: 9.977 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004461/0.5453, allocations: 271.3 kB / 0.6592 GB, free: 9.707 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.569e-05/0.5453, allocations: 16 kB / 0.6592 GB, free: 9.691 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.029e-05/0.5453, allocations: 0 / 0.6592 GB, free: 9.691 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.476e-06/0.5453, allocations: 3.984 kB / 0.6592 GB, free: 9.688 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008982/0.5543, allocations: 5.611 MB / 0.6647 GB, free: 3.953 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.706e-06/0.5543, allocations: 4 kB / 0.6647 GB, free: 3.949 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005741/0.5549, allocations: 135.7 kB / 0.6648 GB, free: 3.816 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.278e-05/0.555, allocations: 8 kB / 0.6648 GB, free: 3.809 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.886e-05/0.555, allocations: 20 kB / 0.6648 GB, free: 3.789 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.343e-05/0.555, allocations: 11.98 kB / 0.6649 GB, free: 3.777 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.402e-06/0.555, allocations: 11.88 kB / 0.6649 GB, free: 3.766 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002237/0.5573, allocations: 1.784 MB / 0.6666 GB, free: 1.906 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005222/0.5578, allocations: 294 kB / 0.6669 GB, free: 1.598 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001921/0.558, allocations: 19.98 kB / 0.6669 GB, free: 1.578 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005514/0.5586, allocations: 43.95 kB / 0.667 GB, free: 1.535 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001244/0.5587, allocations: 60.31 kB / 0.667 GB, free: 1.477 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.615e-05/0.5588, allocations: 43.98 kB / 0.6671 GB, free: 1.434 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.002235/0.561, allocations: 1.556 MB / 0.6686 GB, free: 15.86 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.9e-07/0.561, allocations: 0 / 0.6686 GB, free: 15.86 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.004219/0.5653, allocations: 0.9952 MB / 0.6695 GB, free: 14.86 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.0003909/0.5657, allocations: 135 kB / 0.6697 GB, free: 14.72 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.004799/0.5705, allocations: 3.156 MB / 0.6728 GB, free: 11.59 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 5.571e-06/0.5705, allocations: 4.062 kB / 0.6728 GB, free: 11.59 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0009032/0.5715, allocations: 0.7374 MB / 0.6735 GB, free: 10.85 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001365/0.5729, allocations: 263.9 kB / 0.6737 GB, free: 10.6 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01127/0.5842, allocations: 7.157 MB / 0.6807 GB, free: 3.363 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003079/0.5873, allocations: 2.962 MB / 0.6836 GB, free: 380 kB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.003066/0.5904, allocations: 1.488 MB / 0.6851 GB, free: 14.87 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000388/0.5908, allocations: 159.4 kB / 0.6852 GB, free: 14.72 MB / 0.545 GB Notification: Performance of SimCode: time 1.422e-06/0.5908, allocations: 0 / 0.6852 GB, free: 14.72 MB / 0.545 GB Notification: Performance of Templates: time 0.03769/0.6285, allocations: 15.92 MB / 0.7008 GB, free: 14.86 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