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.001392/0.001392, allocations: 110.1 kB / 18.3 MB, free: 4.879 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.001218/0.001218, allocations: 195.3 kB / 19.23 MB, free: 3.957 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.35/1.35, allocations: 222.9 MB / 242.9 MB, free: 15.21 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.2032/0.2032, allocations: 44.18 MB / 337.3 MB, free: 2.773 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001278/0.001278, allocations: 61.09 kB / 409.1 MB, free: 27.25 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1117/0.113, allocations: 60.83 MB / 469.9 MB, free: 14.38 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Torus): time 0.01331/0.1264, allocations: 11.27 MB / 481.2 MB, free: 3.051 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005998/0.1324, allocations: 2.796 MB / 484 MB, free: 252 kB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001707/0.1342, allocations: 55.88 kB / 484.1 MB, free: 196 kB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002837/0.1371, allocations: 1.304 MB / 485.4 MB, free: 14.88 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002804/0.1399, allocations: 1.225 MB / 486.6 MB, free: 13.65 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003704/0.1403, allocations: 75.89 kB / 486.7 MB, free: 13.58 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.003298/0.1436, allocations: 2.753 MB / 489.4 MB, free: 10.82 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00234/0.146, allocations: 1.852 MB / 491.3 MB, free: 8.926 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001683/0.1477, allocations: 1.051 MB / 492.3 MB, free: 7.871 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00202/0.1498, allocations: 1.452 MB / 493.8 MB, free: 6.414 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005832/0.1504, allocations: 208 kB / 494 MB, free: 6.211 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001247/0.1516, allocations: 491.3 kB / 494.4 MB, free: 5.73 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001435/0.1531, allocations: 1.41 MB / 495.9 MB, free: 4.316 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002049/0.1551, allocations: 1.708 MB / 497.6 MB, free: 2.598 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005593/0.1607, allocations: 5.213 MB / 0.491 GB, free: 13.37 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.352e-06/0.1608, allocations: 4 kB / 0.491 GB, free: 13.36 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.1608, allocations: 0 / 0.491 GB, free: 13.36 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001524/0.161, allocations: 7.938 kB / 0.491 GB, free: 13.36 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.006257/0.1672, allocations: 3.601 MB / 0.4945 GB, free: 9.691 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.008e-05/0.1673, allocations: 12.03 kB / 0.4945 GB, free: 9.68 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01066/0.178, allocations: 2.936 MB / 0.4974 GB, free: 6.734 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003896/0.1819, allocations: 1.534 MB / 0.4989 GB, free: 5.156 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001635/0.1821, allocations: 168.7 kB / 0.4991 GB, free: 4.988 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009244/0.183, allocations: 224 kB / 0.4993 GB, free: 4.77 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2091/0.3922, allocations: 9.474 MB / 0.5085 GB, free: 44.21 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.784e-05/0.3923, allocations: 19.31 kB / 0.5085 GB, free: 44.2 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000338/0.3926, allocations: 108.3 kB / 0.5086 GB, free: 44.16 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00383/0.3965, allocations: 2.369 MB / 0.511 GB, free: 43.75 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01656/0.4131, allocations: 8.666 MB / 0.5194 GB, free: 41.1 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03317/0.4463, allocations: 29.31 MB / 0.548 GB, free: 14.72 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004104/0.4504, allocations: 3.054 MB / 0.551 GB, free: 11.43 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001101/0.4516, allocations: 0.9688 MB / 0.552 GB, free: 10.46 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007087/0.4587, allocations: 4.848 MB / 0.5567 GB, free: 5.359 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.194e-05/0.4587, allocations: 35.22 kB / 0.5567 GB, free: 5.316 MB / 382.1 MB Notification: Performance of pre-optimization done (n=126): time 3.957e-06/0.4587, allocations: 0 / 0.5567 GB, free: 5.316 MB / 382.1 MB Notification: Performance of matching and sorting (n=126): time 0.005443/0.4642, allocations: 2.744 MB / 0.5594 GB, free: 2.566 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.113e-05/0.4643, allocations: 60 kB / 0.5595 GB, free: 2.496 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003531/0.4678, allocations: 2.569 MB / 0.562 GB, free: 15.9 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001567/0.468, allocations: 37.7 kB / 0.562 GB, free: 15.86 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002035/0.47, allocations: 2.649 MB / 0.5646 GB, free: 13.17 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007388/0.4708, allocations: 0.4898 MB / 0.5651 GB, free: 12.67 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001678/0.4725, allocations: 0.8967 MB / 0.566 GB, free: 11.76 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002194/0.4727, allocations: 365.9 kB / 0.5663 GB, free: 11.4 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002143/0.4749, allocations: 1.359 MB / 0.5676 GB, free: 10.03 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004263/0.4792, allocations: 4.118 MB / 0.5717 GB, free: 4.523 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007072/0.4863, allocations: 5.96 MB / 0.5775 GB, free: 13.19 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001197/0.4864, allocations: 28 kB / 0.5775 GB, free: 13.16 MB / 414.1 MB Notification: Performance of matching and sorting (n=588) (initialization): time 0.009945/0.4964, allocations: 5.283 MB / 0.5827 GB, free: 7.871 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001167/0.4966, allocations: 48 kB / 0.5827 GB, free: 7.824 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001521/0.4967, allocations: 96 kB / 0.5828 GB, free: 7.73 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001585/0.4969, allocations: 128 kB / 0.5829 GB, free: 7.605 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003097/0.5, allocations: 0.9786 MB / 0.5839 GB, free: 6.625 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001741/0.5002, allocations: 191.2 kB / 0.5841 GB, free: 6.438 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003324/0.5035, allocations: 0.6034 MB / 0.5846 GB, free: 5.828 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006816/0.5042, allocations: 283.7 kB / 0.5849 GB, free: 5.555 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.003249/0.5075, allocations: 1.891 MB / 0.5868 GB, free: 3.652 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000398/0.5079, allocations: 209.2 kB / 0.587 GB, free: 3.445 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006227/0.5085, allocations: 283 kB / 0.5872 GB, free: 3.168 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.703e-05/0.5086, allocations: 16 kB / 0.5873 GB, free: 3.152 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.023e-05/0.5086, allocations: 0 / 0.5873 GB, free: 3.152 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.207e-05/0.5086, allocations: 7.984 kB / 0.5873 GB, free: 3.145 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01029/0.5189, allocations: 5.61 MB / 0.5927 GB, free: 13.41 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.29e-05/0.519, allocations: 4 kB / 0.5927 GB, free: 13.41 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000602/0.5196, allocations: 140.3 kB / 0.5929 GB, free: 13.27 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.481e-05/0.5196, allocations: 8 kB / 0.5929 GB, free: 13.27 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.661e-05/0.5197, allocations: 20 kB / 0.5929 GB, free: 13.25 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.243e-05/0.5197, allocations: 11.94 kB / 0.5929 GB, free: 13.23 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.891e-06/0.5197, allocations: 7.984 kB / 0.5929 GB, free: 13.23 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002258/0.522, allocations: 1.784 MB / 0.5947 GB, free: 11.36 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005393/0.5226, allocations: 293.9 kB / 0.5949 GB, free: 11.05 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000346/0.5229, allocations: 23.98 kB / 0.595 GB, free: 11.03 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007125/0.5236, allocations: 39.95 kB / 0.595 GB, free: 10.99 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000143/0.5238, allocations: 56.44 kB / 0.5951 GB, free: 10.94 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.098e-05/0.5239, allocations: 43.94 kB / 0.5951 GB, free: 10.89 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.00259/0.5265, allocations: 1.56 MB / 0.5966 GB, free: 9.32 MB / 430.1 MB Notification: Performance of sort global known variables: time 5.11e-07/0.5265, allocations: 3.938 kB / 0.5966 GB, free: 9.316 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.003794/0.5303, allocations: 1.01 MB / 0.5976 GB, free: 8.305 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.0003871/0.5307, allocations: 148.4 kB / 0.5978 GB, free: 8.156 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.006422/0.5371, allocations: 3.955 MB / 0.6016 GB, free: 4.238 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.113e-05/0.5372, allocations: 4 kB / 0.6016 GB, free: 4.234 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001021/0.5382, allocations: 0.7425 MB / 0.6023 GB, free: 3.492 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001919/0.5402, allocations: 248.4 kB / 0.6026 GB, free: 3.254 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01442/0.5546, allocations: 7.679 MB / 0.6101 GB, free: 11.48 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004247/0.5589, allocations: 2.973 MB / 0.613 GB, free: 8.484 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006519/0.5596, allocations: 195.4 kB / 0.6132 GB, free: 8.293 MB / 446.1 MB Notification: Performance of SimCode: time 1.403e-06/0.5596, allocations: 0 / 0.6132 GB, free: 8.293 MB / 446.1 MB Notification: Performance of Templates: time 0.06473/0.6243, allocations: 41.97 MB / 0.6542 GB, free: 14.47 MB / 494.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/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_4.0.0_ModelicaTest.MultiBody.Visualizers.Torus.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches