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.001601/0.001601, allocations: 114.4 kB / 17.78 MB, free: 5.266 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.002021/0.002021, allocations: 187.8 kB / 18.71 MB, free: 4.344 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.345/1.345, allocations: 222.9 MB / 242.4 MB, free: 15.15 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.2035/0.2035, allocations: 44.18 MB / 336.7 MB, free: 2.668 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001124/0.001124, allocations: 67.89 kB / 470.5 MB, free: 13.17 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3775/0.3787, allocations: 60.81 MB / 0.5189 GB, free: 3.59 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Torus): time 0.01264/0.3914, allocations: 11.29 MB / 0.5299 GB, free: 11.57 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.007232/0.3986, allocations: 2.789 MB / 0.5326 GB, free: 9.504 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001657/0.4003, allocations: 53.69 kB / 0.5327 GB, free: 9.5 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002729/0.4031, allocations: 1.309 MB / 0.534 GB, free: 8.605 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002725/0.4059, allocations: 1.22 MB / 0.5352 GB, free: 7.75 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003054/0.4062, allocations: 87.58 kB / 0.5352 GB, free: 7.684 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.003356/0.4096, allocations: 2.747 MB / 0.5379 GB, free: 6.164 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002357/0.412, allocations: 1.848 MB / 0.5397 GB, free: 5.031 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001841/0.4138, allocations: 1.055 MB / 0.5408 GB, free: 4.434 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002198/0.416, allocations: 1.448 MB / 0.5422 GB, free: 3.59 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005023/0.4165, allocations: 212.3 kB / 0.5424 GB, free: 3.586 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001017/0.4176, allocations: 0.4908 MB / 0.5428 GB, free: 3.398 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001183/0.4188, allocations: 1.424 MB / 0.5442 GB, free: 2.023 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00133/0.4201, allocations: 1.711 MB / 0.5459 GB, free: 308 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004752/0.4249, allocations: 5.489 MB / 0.5513 GB, free: 10.79 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.254e-06/0.4249, allocations: 0 / 0.5513 GB, free: 10.79 MB / 414.1 MB Notification: Performance of FrontEnd: time 4.298e-06/0.4249, allocations: 0 / 0.5513 GB, free: 10.79 MB / 414.1 MB Notification: Performance of Transformations before backend: time 9.464e-05/0.425, allocations: 3.938 kB / 0.5513 GB, free: 10.79 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.00503/0.43, allocations: 3.608 MB / 0.5548 GB, free: 7.117 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.349e-05/0.4301, allocations: 12.03 kB / 0.5548 GB, free: 7.105 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00922/0.4393, allocations: 2.94 MB / 0.5577 GB, free: 4.156 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003226/0.4426, allocations: 1.53 MB / 0.5592 GB, free: 2.582 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001303/0.4427, allocations: 172.6 kB / 0.5593 GB, free: 2.41 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004012/0.4432, allocations: 228 kB / 0.5596 GB, free: 2.188 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01353/0.4567, allocations: 9.472 MB / 0.5688 GB, free: 8.332 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.668e-05/0.4568, allocations: 19.81 kB / 0.5688 GB, free: 8.312 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003146/0.4571, allocations: 107.8 kB / 0.5689 GB, free: 8.207 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00359/0.4607, allocations: 2.369 MB / 0.5712 GB, free: 5.836 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01464/0.4754, allocations: 8.664 MB / 0.5797 GB, free: 13.16 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03896/0.5144, allocations: 29.1 MB / 0.6081 GB, free: 15.26 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005661/0.5201, allocations: 3.048 MB / 0.6111 GB, free: 11.98 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001519/0.5217, allocations: 0.9765 MB / 0.612 GB, free: 11 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009544/0.5312, allocations: 4.841 MB / 0.6168 GB, free: 5.906 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.405e-05/0.5313, allocations: 39.22 kB / 0.6168 GB, free: 5.859 MB / 478.1 MB Notification: Performance of pre-optimization done (n=126): time 5.26e-06/0.5313, allocations: 0 / 0.6168 GB, free: 5.859 MB / 478.1 MB Notification: Performance of matching and sorting (n=126): time 0.006311/0.5376, allocations: 2.74 MB / 0.6195 GB, free: 3.113 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.359e-05/0.5377, allocations: 60.06 kB / 0.6195 GB, free: 3.043 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004364/0.5421, allocations: 2.569 MB / 0.6221 GB, free: 456 kB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001053/0.5422, allocations: 45.69 kB / 0.6221 GB, free: 404 kB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001941/0.5442, allocations: 2.645 MB / 0.6247 GB, free: 13.71 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005762/0.5447, allocations: 497.7 kB / 0.6252 GB, free: 13.22 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001354/0.5461, allocations: 0.9005 MB / 0.626 GB, free: 12.3 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001734/0.5463, allocations: 365.8 kB / 0.6264 GB, free: 11.94 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001966/0.5483, allocations: 1.352 MB / 0.6277 GB, free: 10.58 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003895/0.5522, allocations: 4.118 MB / 0.6317 GB, free: 5.074 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006643/0.5588, allocations: 5.96 MB / 0.6375 GB, free: 13.73 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.636e-05/0.559, allocations: 28 kB / 0.6376 GB, free: 13.71 MB / 0.4981 GB Notification: Performance of matching and sorting (n=588) (initialization): time 0.008956/0.5679, allocations: 5.291 MB / 0.6427 GB, free: 8.41 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001174/0.5681, allocations: 48 kB / 0.6428 GB, free: 8.363 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002048/0.5683, allocations: 100 kB / 0.6429 GB, free: 8.266 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001802/0.5685, allocations: 131.9 kB / 0.643 GB, free: 8.137 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003026/0.5715, allocations: 0.9747 MB / 0.644 GB, free: 7.16 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000176/0.5717, allocations: 191.3 kB / 0.6441 GB, free: 6.973 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003055/0.5748, allocations: 0.603 MB / 0.6447 GB, free: 6.363 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004954/0.5753, allocations: 272 kB / 0.645 GB, free: 6.098 MB / 0.4981 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.003623/0.5789, allocations: 1.899 MB / 0.6468 GB, free: 4.188 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000537/0.5795, allocations: 213.2 kB / 0.647 GB, free: 3.977 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007528/0.5802, allocations: 271.4 kB / 0.6473 GB, free: 3.707 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.186e-05/0.5803, allocations: 16 kB / 0.6473 GB, free: 3.691 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.416e-05/0.5803, allocations: 0 / 0.6473 GB, free: 3.691 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.235e-05/0.5803, allocations: 3.984 kB / 0.6473 GB, free: 3.688 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01244/0.5928, allocations: 5.614 MB / 0.6528 GB, free: 13.95 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.338e-05/0.5929, allocations: 4 kB / 0.6528 GB, free: 13.95 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005993/0.5935, allocations: 139.8 kB / 0.6529 GB, free: 13.81 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.573e-05/0.5935, allocations: 8 kB / 0.653 GB, free: 13.8 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.895e-05/0.5936, allocations: 23.91 kB / 0.653 GB, free: 13.78 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.29e-05/0.5936, allocations: 16.5 kB / 0.653 GB, free: 13.77 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.571e-06/0.5936, allocations: 8 kB / 0.653 GB, free: 13.76 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002266/0.5959, allocations: 1.788 MB / 0.6547 GB, free: 11.89 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006686/0.5966, allocations: 286 kB / 0.655 GB, free: 11.59 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004863/0.5971, allocations: 19.98 kB / 0.655 GB, free: 11.57 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008839/0.5979, allocations: 39.95 kB / 0.6551 GB, free: 11.54 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001435/0.5981, allocations: 64.36 kB / 0.6551 GB, free: 11.47 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001017/0.5982, allocations: 44 kB / 0.6552 GB, free: 11.43 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.002941/0.6012, allocations: 1.56 MB / 0.6567 GB, free: 9.855 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1e-07/0.6012, allocations: 0 / 0.6567 GB, free: 9.855 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.003952/0.6051, allocations: 1.003 MB / 0.6577 GB, free: 8.848 MB / 0.5137 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.0003865/0.6055, allocations: 151 kB / 0.6578 GB, free: 8.691 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.005211/0.6108, allocations: 3.162 MB / 0.6609 GB, free: 5.555 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 5.46e-06/0.6108, allocations: 0 / 0.6609 GB, free: 5.555 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0009591/0.6117, allocations: 0.7398 MB / 0.6616 GB, free: 4.812 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002145/0.6139, allocations: 258.6 kB / 0.6619 GB, free: 4.562 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01342/0.6273, allocations: 7.157 MB / 0.6689 GB, free: 13.32 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00444/0.6318, allocations: 2.966 MB / 0.6718 GB, free: 10.33 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.003457/0.6353, allocations: 1.481 MB / 0.6732 GB, free: 8.84 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004744/0.6358, allocations: 163.4 kB / 0.6734 GB, free: 8.68 MB / 0.5294 GB Notification: Performance of SimCode: time 1.192e-06/0.6358, allocations: 0 / 0.6734 GB, free: 8.68 MB / 0.5294 GB Notification: Performance of Templates: time 0.0374/0.6732, allocations: 16.02 MB / 0.689 GB, free: 8.73 MB / 0.545 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/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