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.001979/0.00198, allocations: 104.7 kB / 17.63 MB, free: 5.344 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.001755/0.001755, allocations: 192 kB / 18.56 MB, free: 4.434 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.343/1.343, allocations: 222.9 MB / 242.2 MB, free: 15.16 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.1966/0.1966, allocations: 44.19 MB / 336.6 MB, free: 2.742 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001147/0.001147, allocations: 59.84 kB / 408.4 MB, free: 27.22 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.109/0.1102, allocations: 60.83 MB / 469.2 MB, free: 14.36 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Torus): time 0.01112/0.1213, allocations: 11.28 MB / 480.5 MB, free: 3.016 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00606/0.1274, allocations: 2.788 MB / 483.3 MB, free: 224 kB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001259/0.1287, allocations: 51.94 kB / 483.4 MB, free: 172 kB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00252/0.1312, allocations: 1.308 MB / 484.7 MB, free: 14.86 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002558/0.1339, allocations: 1.225 MB / 485.9 MB, free: 13.62 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003509/0.1342, allocations: 79.84 kB / 486 MB, free: 13.55 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.003448/0.1377, allocations: 2.748 MB / 488.7 MB, free: 10.79 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002246/0.1399, allocations: 1.856 MB / 490.6 MB, free: 8.898 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001333/0.1413, allocations: 1.051 MB / 491.6 MB, free: 7.844 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001707/0.143, allocations: 1.456 MB / 493.1 MB, free: 6.383 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003617/0.1434, allocations: 208 kB / 493.3 MB, free: 6.18 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009722/0.1444, allocations: 491.4 kB / 493.8 MB, free: 5.699 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001092/0.1455, allocations: 1.402 MB / 495.2 MB, free: 4.293 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001637/0.1471, allocations: 1.719 MB / 496.9 MB, free: 2.562 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004771/0.1519, allocations: 5.213 MB / 0.4903 GB, free: 13.33 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.109e-06/0.1519, allocations: 0 / 0.4903 GB, free: 13.33 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.1519, allocations: 3.938 kB / 0.4903 GB, free: 13.33 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.313e-05/0.152, allocations: 0 / 0.4903 GB, free: 13.33 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.004871/0.1569, allocations: 3.601 MB / 0.4939 GB, free: 9.664 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.729e-05/0.1569, allocations: 12.03 kB / 0.4939 GB, free: 9.652 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009367/0.1663, allocations: 2.932 MB / 0.4967 GB, free: 6.711 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00276/0.1691, allocations: 1.522 MB / 0.4982 GB, free: 5.145 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001276/0.1692, allocations: 176.6 kB / 0.4984 GB, free: 4.969 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005025/0.1697, allocations: 228 kB / 0.4986 GB, free: 4.746 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2252/0.395, allocations: 9.473 MB / 0.5079 GB, free: 44.14 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.927e-05/0.3951, allocations: 21.97 kB / 0.5079 GB, free: 44.13 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003595/0.3954, allocations: 109.7 kB / 0.508 GB, free: 44.09 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004401/0.3998, allocations: 2.376 MB / 0.5103 GB, free: 43.68 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01993/0.4198, allocations: 8.662 MB / 0.5188 GB, free: 41.03 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03294/0.4528, allocations: 29.3 MB / 0.5474 GB, free: 14.65 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003933/0.4567, allocations: 3.054 MB / 0.5504 GB, free: 11.37 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000969/0.4577, allocations: 0.9872 MB / 0.5513 GB, free: 10.38 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006387/0.4641, allocations: 4.833 MB / 0.556 GB, free: 5.293 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.843e-05/0.4642, allocations: 47.22 kB / 0.5561 GB, free: 5.238 MB / 382.1 MB Notification: Performance of pre-optimization done (n=126): time 3.887e-06/0.4642, allocations: 0 / 0.5561 GB, free: 5.238 MB / 382.1 MB Notification: Performance of matching and sorting (n=126): time 0.004812/0.469, allocations: 2.728 MB / 0.5588 GB, free: 2.504 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.681e-05/0.469, allocations: 64.06 kB / 0.5588 GB, free: 2.43 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002784/0.4718, allocations: 2.569 MB / 0.5613 GB, free: 15.83 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 6.705e-05/0.4719, allocations: 37.7 kB / 0.5614 GB, free: 15.79 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001659/0.4736, allocations: 2.645 MB / 0.5639 GB, free: 13.1 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004692/0.4741, allocations: 0.4977 MB / 0.5644 GB, free: 12.6 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001084/0.4752, allocations: 0.8967 MB / 0.5653 GB, free: 11.69 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001469/0.4753, allocations: 365.9 kB / 0.5657 GB, free: 11.32 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001736/0.4771, allocations: 1.352 MB / 0.567 GB, free: 9.965 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003782/0.4808, allocations: 4.118 MB / 0.571 GB, free: 4.457 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006185/0.487, allocations: 5.968 MB / 0.5768 GB, free: 13.11 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.338e-05/0.4871, allocations: 28 kB / 0.5768 GB, free: 13.09 MB / 414.1 MB Notification: Performance of matching and sorting (n=588) (initialization): time 0.007836/0.495, allocations: 5.274 MB / 0.582 GB, free: 7.805 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.121e-05/0.4951, allocations: 51.28 kB / 0.582 GB, free: 7.758 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001002/0.4952, allocations: 96.91 kB / 0.5821 GB, free: 7.664 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001128/0.4953, allocations: 128 kB / 0.5823 GB, free: 7.539 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002512/0.4978, allocations: 0.9903 MB / 0.5832 GB, free: 6.547 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001268/0.498, allocations: 187.3 kB / 0.5834 GB, free: 6.363 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002623/0.5006, allocations: 0.603 MB / 0.584 GB, free: 5.754 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003145/0.5009, allocations: 280 kB / 0.5843 GB, free: 5.48 MB / 414.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002887/0.5038, allocations: 1.895 MB / 0.5861 GB, free: 3.574 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003772/0.5042, allocations: 209.2 kB / 0.5863 GB, free: 3.367 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004641/0.5047, allocations: 279.4 kB / 0.5866 GB, free: 3.09 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.442e-05/0.5047, allocations: 15.98 kB / 0.5866 GB, free: 3.074 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.624e-05/0.5047, allocations: 4 kB / 0.5866 GB, free: 3.07 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.448e-06/0.5047, allocations: 3.984 kB / 0.5866 GB, free: 3.066 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007851/0.5126, allocations: 5.615 MB / 0.5921 GB, free: 13.33 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.596e-06/0.5126, allocations: 4 kB / 0.5921 GB, free: 13.32 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005623/0.5132, allocations: 131.8 kB / 0.5922 GB, free: 13.2 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.075e-05/0.5132, allocations: 8 kB / 0.5922 GB, free: 13.19 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.735e-05/0.5133, allocations: 25.12 kB / 0.5922 GB, free: 13.16 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.118e-05/0.5133, allocations: 15.92 kB / 0.5923 GB, free: 13.15 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.608e-06/0.5133, allocations: 4 kB / 0.5923 GB, free: 13.14 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002001/0.5153, allocations: 1.792 MB / 0.594 GB, free: 11.28 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004701/0.5158, allocations: 286 kB / 0.5943 GB, free: 10.98 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002036/0.516, allocations: 20 kB / 0.5943 GB, free: 10.96 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005601/0.5166, allocations: 39.95 kB / 0.5943 GB, free: 10.92 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001189/0.5167, allocations: 60.38 kB / 0.5944 GB, free: 10.86 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.417e-05/0.5168, allocations: 43.97 kB / 0.5944 GB, free: 10.82 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.002101/0.5189, allocations: 1.56 MB / 0.596 GB, free: 9.242 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5189, allocations: 0 / 0.596 GB, free: 9.242 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.003669/0.5226, allocations: 1.004 MB / 0.5969 GB, free: 8.238 MB / 430.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 (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.0003768/0.523, allocations: 157.5 kB / 0.5971 GB, free: 8.078 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.005954/0.5289, allocations: 3.955 MB / 0.601 GB, free: 4.16 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 6.512e-06/0.529, allocations: 4.125 kB / 0.601 GB, free: 4.156 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008724/0.5298, allocations: 0.7374 MB / 0.6017 GB, free: 3.418 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001279/0.5311, allocations: 256.7 kB / 0.6019 GB, free: 3.172 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01215/0.5433, allocations: 7.262 MB / 0.609 GB, free: 11.83 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002996/0.5463, allocations: 2.958 MB / 0.6119 GB, free: 8.844 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0032/0.5496, allocations: 1.492 MB / 0.6134 GB, free: 7.344 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003419/0.5499, allocations: 151.4 kB / 0.6135 GB, free: 7.195 MB / 446.1 MB Notification: Performance of SimCode: time 8.42e-07/0.5499, allocations: 0 / 0.6135 GB, free: 7.195 MB / 446.1 MB Notification: Performance of Templates: time 0.03503/0.585, allocations: 18.51 MB / 0.6316 GB, free: 4.754 MB / 462.1 MB 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/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Visualizers/Torus/Torus.csv","/var/lib/jenkins/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