Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Visualizers.Torus.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 90] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/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=500,variableFilter="time|torus1.surface.nu|torus1.surface.nv|torus2.surface.nu|torus2.surface.nv",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Visualizers.Torus") translateModel(ModelicaTest.MultiBody.Visualizers.Torus,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500,variableFilter="time|torus1.surface.nu|torus1.surface.nv|torus2.surface.nu|torus2.surface.nv",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Visualizers.Torus") [Timeout 660] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001485/0.001485, allocations: 112.6 kB / 18.78 MB, free: 3.562 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001495/0.001495, allocations: 215.9 kB / 19.8 MB, free: 2.559 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.474/1.474, allocations: 230.2 MB / 250.8 MB, free: 8.762 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2391/0.2391, allocations: 46.89 MB / 351.8 MB, free: 7.309 MB / 286.1 MB Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.003016/0.003016, allocations: 75.88 kB / 496.5 MB, free: 11.32 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3501/0.3531, allocations: 65.98 MB / 0.5493 GB, free: 5.148 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Torus): time 0.01308/0.3662, allocations: 11.3 MB / 0.5603 GB, free: 10.16 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.00678/0.373, allocations: 2.827 MB / 0.5631 GB, free: 7.324 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002053/0.375, allocations: 51.94 kB / 0.5631 GB, free: 7.273 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003255/0.3783, allocations: 1.347 MB / 0.5644 GB, free: 5.922 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004321/0.3826, allocations: 1.245 MB / 0.5656 GB, free: 4.672 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005183/0.3831, allocations: 83.84 kB / 0.5657 GB, free: 4.59 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.004019/0.3871, allocations: 2.728 MB / 0.5684 GB, free: 1.859 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002038/0.3892, allocations: 1.622 MB / 0.57 GB, free: 208 kB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00157/0.3907, allocations: 1.035 MB / 0.571 GB, free: 15.16 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002196/0.3929, allocations: 1.608 MB / 0.5726 GB, free: 13.55 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004292/0.3934, allocations: 208 kB / 0.5727 GB, free: 13.34 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001163/0.3945, allocations: 0.5109 MB / 0.5732 GB, free: 12.84 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001545/0.3961, allocations: 1.421 MB / 0.5746 GB, free: 11.41 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001651/0.3977, allocations: 1.696 MB / 0.5763 GB, free: 9.703 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006376/0.4041, allocations: 5.461 MB / 0.5816 GB, free: 4.223 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.432e-06/0.4041, allocations: 0 / 0.5816 GB, free: 4.223 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.294e-06/0.4041, allocations: 0 / 0.5816 GB, free: 4.223 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0001539/0.4042, allocations: 0 / 0.5816 GB, free: 4.223 MB / 430.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.008116/0.4124, allocations: 3.672 MB / 0.5852 GB, free: 492 kB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.473e-05/0.4124, allocations: 12.03 kB / 0.5852 GB, free: 480 kB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009441/0.4219, allocations: 2.966 MB / 0.5881 GB, free: 13.5 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003555/0.4254, allocations: 1.542 MB / 0.5896 GB, free: 11.91 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001678/0.4256, allocations: 172.6 kB / 0.5898 GB, free: 11.74 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005571/0.4261, allocations: 220 kB / 0.59 GB, free: 11.52 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01623/0.4424, allocations: 9.476 MB / 0.5993 GB, free: 1.664 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.159e-05/0.4424, allocations: 19.81 kB / 0.5993 GB, free: 1.645 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003312/0.4428, allocations: 111.8 kB / 0.5994 GB, free: 1.535 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003797/0.4465, allocations: 2.369 MB / 0.6017 GB, free: 15.16 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01827/0.4648, allocations: 8.674 MB / 0.6102 GB, free: 6.473 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04336/0.5082, allocations: 29.15 MB / 0.6386 GB, free: 8.52 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005266/0.5134, allocations: 2.945 MB / 0.6415 GB, free: 5.348 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001473/0.5149, allocations: 0.8945 MB / 0.6424 GB, free: 4.453 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009076/0.524, allocations: 4.846 MB / 0.6471 GB, free: 15.35 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.582e-05/0.5241, allocations: 39.22 kB / 0.6472 GB, free: 15.3 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=126): time 3.346e-06/0.5241, allocations: 0 / 0.6472 GB, free: 15.3 MB / 0.4981 GB Notification: Performance of matching and sorting (n=126): time 0.006281/0.5303, allocations: 2.745 MB / 0.6498 GB, free: 12.55 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.852e-05/0.5304, allocations: 64 kB / 0.6499 GB, free: 12.48 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004043/0.5344, allocations: 2.569 MB / 0.6524 GB, free: 9.883 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 8.89e-05/0.5345, allocations: 41.7 kB / 0.6524 GB, free: 9.836 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.00267/0.5372, allocations: 2.755 MB / 0.6551 GB, free: 7.055 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006339/0.5378, allocations: 0.5157 MB / 0.6556 GB, free: 6.535 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001264/0.5391, allocations: 0.9052 MB / 0.6565 GB, free: 5.617 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001939/0.5393, allocations: 357.9 kB / 0.6569 GB, free: 5.262 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001959/0.5412, allocations: 1.355 MB / 0.6582 GB, free: 3.898 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004585/0.5458, allocations: 4.118 MB / 0.6622 GB, free: 14.39 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007831/0.5537, allocations: 5.964 MB / 0.668 GB, free: 7.051 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.861e-05/0.5537, allocations: 28 kB / 0.6681 GB, free: 7.023 MB / 0.5137 GB Notification: Performance of matching and sorting (n=588) (initialization): time 0.00859/0.5623, allocations: 5.296 MB / 0.6732 GB, free: 1.723 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 6.739e-05/0.5624, allocations: 48.06 kB / 0.6733 GB, free: 1.676 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001059/0.5625, allocations: 100 kB / 0.6734 GB, free: 1.578 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001498/0.5626, allocations: 132 kB / 0.6735 GB, free: 1.449 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002747/0.5654, allocations: 0.9747 MB / 0.6745 GB, free: 484 kB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001815/0.5656, allocations: 195.2 kB / 0.6746 GB, free: 288 kB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002544/0.5681, allocations: 0.6166 MB / 0.6752 GB, free: 15.66 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003235/0.5684, allocations: 279.9 kB / 0.6755 GB, free: 15.39 MB / 0.5294 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.002682/0.5711, allocations: 1.899 MB / 0.6774 GB, free: 13.48 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003046/0.5714, allocations: 226.4 kB / 0.6776 GB, free: 13.25 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004256/0.5718, allocations: 271.2 kB / 0.6778 GB, free: 12.98 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.184e-05/0.5719, allocations: 19.98 kB / 0.6779 GB, free: 12.96 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.548e-06/0.5719, allocations: 0 / 0.6779 GB, free: 12.96 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.005e-06/0.5719, allocations: 3.984 kB / 0.6779 GB, free: 12.96 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008887/0.5808, allocations: 5.614 MB / 0.6833 GB, free: 7.219 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.689e-06/0.5808, allocations: 4 kB / 0.6833 GB, free: 7.215 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005651/0.5813, allocations: 135.8 kB / 0.6835 GB, free: 7.082 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.249e-05/0.5814, allocations: 8 kB / 0.6835 GB, free: 7.074 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.47e-05/0.5814, allocations: 27.98 kB / 0.6835 GB, free: 7.047 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.109e-05/0.5814, allocations: 7.938 kB / 0.6835 GB, free: 7.039 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.214e-06/0.5814, allocations: 8.531 kB / 0.6835 GB, free: 7.031 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00245/0.5839, allocations: 1.805 MB / 0.6853 GB, free: 5.152 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005881/0.5845, allocations: 287.3 kB / 0.6856 GB, free: 4.852 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002078/0.5847, allocations: 24 kB / 0.6856 GB, free: 4.828 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005576/0.5853, allocations: 35.95 kB / 0.6856 GB, free: 4.793 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001535/0.5854, allocations: 64.38 kB / 0.6857 GB, free: 4.73 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.867e-05/0.5855, allocations: 39.98 kB / 0.6857 GB, free: 4.691 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.002482/0.588, allocations: 1.556 MB / 0.6872 GB, free: 3.121 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.01e-07/0.588, allocations: 0 / 0.6872 GB, free: 3.121 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.004137/0.5921, allocations: 1.008 MB / 0.6882 GB, free: 2.109 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.0003627/0.5925, allocations: 150.9 kB / 0.6884 GB, free: 1.953 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.005121/0.5976, allocations: 3.018 MB / 0.6913 GB, free: 14.96 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 4.448e-06/0.5976, allocations: 4 kB / 0.6913 GB, free: 14.96 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.001052/0.5986, allocations: 0.6842 MB / 0.692 GB, free: 14.27 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001452/0.6001, allocations: 255.6 kB / 0.6922 GB, free: 14.02 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01469/0.6148, allocations: 7.274 MB / 0.6993 GB, free: 6.66 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003631/0.6184, allocations: 2.966 MB / 0.7022 GB, free: 3.664 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.003318/0.6217, allocations: 1.484 MB / 0.7037 GB, free: 2.172 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003997/0.6221, allocations: 155.4 kB / 0.7038 GB, free: 2.02 MB / 0.545 GB Notification: Performance of SimCode: time 1.814e-06/0.6221, allocations: 0 / 0.7038 GB, free: 2.02 MB / 0.545 GB Notification: Performance of Templates: time 0.04245/0.6646, allocations: 17 MB / 0.7204 GB, free: 1.07 MB / 0.5606 GB make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Visualizers.Torus.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Visualizers.Torus.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Visualizers.Torus.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Visualizers.Torus.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Visualizers.Torus.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Visualizers.Torus -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Visualizers.Torus.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Visualizers.Torus_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Visualizers/Torus/Torus.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Visualizers.Torus.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] Reference file matches