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.001188/0.001188, allocations: 112.4 kB / 18.45 MB, free: 4.598 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001264/0.001264, allocations: 208 kB / 19.41 MB, free: 3.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.234/1.234, allocations: 227.4 MB / 247.6 MB, free: 10.44 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1868/0.1868, allocations: 46.11 MB / 345 MB, free: 11.47 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001281/0.001282, allocations: 75.88 kB / 482 MB, free: 4.07 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2717/0.273, allocations: 62.44 MB / 0.5316 GB, free: 13.81 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Torus): time 0.01038/0.2834, allocations: 11.25 MB / 0.5426 GB, free: 4.977 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.006069/0.2895, allocations: 2.813 MB / 0.5454 GB, free: 2.793 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001377/0.2909, allocations: 51.78 kB / 0.5454 GB, free: 2.789 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002427/0.2933, allocations: 1.325 MB / 0.5467 GB, free: 1.883 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002566/0.296, allocations: 1.248 MB / 0.5479 GB, free: 1.008 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002958/0.2963, allocations: 82.47 kB / 0.548 GB, free: 0.9492 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.002712/0.299, allocations: 2.724 MB / 0.5507 GB, free: 14.31 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001828/0.3008, allocations: 1.85 MB / 0.5525 GB, free: 12.43 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00125/0.3021, allocations: 1.035 MB / 0.5535 GB, free: 11.39 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001606/0.3037, allocations: 1.448 MB / 0.5549 GB, free: 9.938 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003763/0.3041, allocations: 212 kB / 0.5551 GB, free: 9.73 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000908/0.305, allocations: 0.4915 MB / 0.5556 GB, free: 9.238 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001015/0.306, allocations: 1.391 MB / 0.5569 GB, free: 7.844 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001329/0.3074, allocations: 1.696 MB / 0.5586 GB, free: 6.137 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004374/0.3118, allocations: 5.44 MB / 0.5639 GB, free: 0.6758 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.28e-06/0.3118, allocations: 0 / 0.5639 GB, free: 0.6758 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.3118, allocations: 0 / 0.5639 GB, free: 0.6758 MB / 414.1 MB Notification: Performance of Transformations before backend: time 8.344e-05/0.3119, allocations: 0 / 0.5639 GB, free: 0.6758 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.00456/0.3165, allocations: 3.566 MB / 0.5674 GB, free: 13.05 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.783e-05/0.3165, allocations: 12.03 kB / 0.5674 GB, free: 13.04 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008427/0.3249, allocations: 2.94 MB / 0.5703 GB, free: 10.09 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002552/0.3275, allocations: 1.537 MB / 0.5718 GB, free: 8.5 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001087/0.3276, allocations: 168.7 kB / 0.5719 GB, free: 8.332 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004308/0.3281, allocations: 224 kB / 0.5722 GB, free: 8.113 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01157/0.3397, allocations: 9.476 MB / 0.5814 GB, free: 14.25 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.971e-05/0.3397, allocations: 15.88 kB / 0.5814 GB, free: 14.24 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002927/0.34, allocations: 107.8 kB / 0.5815 GB, free: 14.13 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003063/0.3431, allocations: 2.373 MB / 0.5838 GB, free: 11.75 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01367/0.3568, allocations: 8.668 MB / 0.5923 GB, free: 3.078 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03379/0.3906, allocations: 29.08 MB / 0.6207 GB, free: 5.188 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00435/0.395, allocations: 3.053 MB / 0.6237 GB, free: 1.906 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001169/0.3962, allocations: 0.9844 MB / 0.6247 GB, free: 0.9219 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007278/0.4035, allocations: 4.837 MB / 0.6294 GB, free: 11.83 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.469e-05/0.4035, allocations: 39.22 kB / 0.6294 GB, free: 11.78 MB / 494.1 MB Notification: Performance of pre-optimization done (n=126): time 3.196e-06/0.4036, allocations: 0 / 0.6294 GB, free: 11.78 MB / 494.1 MB Notification: Performance of matching and sorting (n=126): time 0.005275/0.4088, allocations: 2.736 MB / 0.6321 GB, free: 9.039 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.3e-05/0.4089, allocations: 67.94 kB / 0.6322 GB, free: 8.961 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00291/0.4118, allocations: 2.557 MB / 0.6347 GB, free: 6.375 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 5.818e-05/0.4119, allocations: 37.7 kB / 0.6347 GB, free: 6.332 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00139/0.4133, allocations: 2.645 MB / 0.6373 GB, free: 3.648 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003548/0.4136, allocations: 0.4977 MB / 0.6378 GB, free: 3.145 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009133/0.4146, allocations: 0.8967 MB / 0.6386 GB, free: 2.234 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001277/0.4147, allocations: 357.9 kB / 0.639 GB, free: 1.879 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001612/0.4163, allocations: 1.355 MB / 0.6403 GB, free: 0.5156 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003111/0.4194, allocations: 4.122 MB / 0.6443 GB, free: 11 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00539/0.4248, allocations: 5.968 MB / 0.6501 GB, free: 3.66 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.801e-05/0.4249, allocations: 28 kB / 0.6502 GB, free: 3.633 MB / 0.4981 GB Notification: Performance of matching and sorting (n=588) (initialization): time 0.007029/0.4319, allocations: 5.275 MB / 0.6553 GB, free: 14.35 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 5.432e-05/0.432, allocations: 48 kB / 0.6554 GB, free: 14.3 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.13e-05/0.4321, allocations: 104.1 kB / 0.6555 GB, free: 14.2 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001108/0.4322, allocations: 128 kB / 0.6556 GB, free: 14.08 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002376/0.4346, allocations: 0.9825 MB / 0.6566 GB, free: 13.09 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00012/0.4347, allocations: 191.2 kB / 0.6567 GB, free: 12.91 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002243/0.437, allocations: 0.5952 MB / 0.6573 GB, free: 12.3 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002871/0.4373, allocations: 284 kB / 0.6576 GB, free: 12.03 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.002238/0.4395, allocations: 1.891 MB / 0.6594 GB, free: 10.12 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002442/0.4398, allocations: 209.2 kB / 0.6596 GB, free: 9.914 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00039/0.4402, allocations: 271.3 kB / 0.6599 GB, free: 9.645 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.388e-05/0.4402, allocations: 16 kB / 0.6599 GB, free: 9.629 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.839e-06/0.4402, allocations: 0 / 0.6599 GB, free: 9.629 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.184e-06/0.4402, allocations: 3.984 kB / 0.6599 GB, free: 9.625 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007346/0.4476, allocations: 5.61 MB / 0.6654 GB, free: 3.891 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.095e-06/0.4476, allocations: 4 kB / 0.6654 GB, free: 3.887 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005075/0.4481, allocations: 143.8 kB / 0.6655 GB, free: 3.746 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.668e-06/0.4482, allocations: 8 kB / 0.6655 GB, free: 3.738 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.49e-05/0.4482, allocations: 20 kB / 0.6656 GB, free: 3.719 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.206e-06/0.4482, allocations: 4 kB / 0.6656 GB, free: 3.715 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.05e-06/0.4482, allocations: 11.94 kB / 0.6656 GB, free: 3.703 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001856/0.4501, allocations: 1.792 MB / 0.6673 GB, free: 1.836 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003727/0.4505, allocations: 286 kB / 0.6676 GB, free: 1.535 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001663/0.4507, allocations: 23.98 kB / 0.6676 GB, free: 1.512 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005054/0.4512, allocations: 35.95 kB / 0.6677 GB, free: 1.477 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001105/0.4513, allocations: 60.38 kB / 0.6677 GB, free: 1.418 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.85e-05/0.4514, allocations: 40 kB / 0.6677 GB, free: 1.379 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.001963/0.4533, allocations: 1.56 MB / 0.6693 GB, free: 15.8 MB / 0.5294 GB Notification: Performance of sort global known variables: time 3.91e-07/0.4533, allocations: 3.938 kB / 0.6693 GB, free: 15.8 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.00316/0.4565, allocations: 0.9874 MB / 0.6702 GB, free: 14.81 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.0003072/0.4568, allocations: 147 kB / 0.6704 GB, free: 14.66 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.004173/0.461, allocations: 3.167 MB / 0.6735 GB, free: 11.52 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 6.602e-06/0.461, allocations: 0 / 0.6735 GB, free: 11.52 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0007967/0.4618, allocations: 0.7351 MB / 0.6742 GB, free: 10.78 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001133/0.463, allocations: 258 kB / 0.6744 GB, free: 10.53 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01087/0.4739, allocations: 7.58 MB / 0.6818 GB, free: 2.859 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002852/0.4768, allocations: 2.966 MB / 0.6847 GB, free: 15.86 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005494/0.4773, allocations: 195.4 kB / 0.6849 GB, free: 15.67 MB / 0.545 GB Notification: Performance of SimCode: time 6.41e-07/0.4773, allocations: 4 kB / 0.6849 GB, free: 15.67 MB / 0.545 GB Notification: Performance of Templates: time 0.2681/0.7454, allocations: 42.29 MB / 0.7262 GB, free: 152.4 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/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_trunk_ModelicaTest.MultiBody.Visualizers.Torus.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches