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 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00185/0.00185, allocations: 110.4 kB / 21.17 MB, free: 0.7852 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002173/0.002173, allocations: 217.4 kB / 24.47 MB, free: 4.359 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.516/1.516, allocations: 230.2 MB / 257.8 MB, free: 8.512 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2453/0.2453, allocations: 46.88 MB / 361.1 MB, free: 4.656 MB / 286.1 MB " [Timeout remaining time 180] 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=5002,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=5002,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] "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.002314/0.002314, allocations: 75.88 kB / 0.4967 GB, free: 7.84 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3387/0.341, allocations: 65.99 MB / 0.5612 GB, free: 5.043 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Torus): time 0.013/0.354, allocations: 11.31 MB / 0.5722 GB, free: 9.68 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.005861/0.3599, allocations: 2.841 MB / 0.575 GB, free: 6.828 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009677/0.3609, allocations: 55.94 kB / 0.5751 GB, free: 6.773 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002629/0.3635, allocations: 1.358 MB / 0.5764 GB, free: 5.41 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002434/0.3659, allocations: 1.241 MB / 0.5776 GB, free: 4.164 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003055/0.3662, allocations: 87.83 kB / 0.5777 GB, free: 4.078 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.003042/0.3693, allocations: 2.714 MB / 0.5803 GB, free: 1.355 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001765/0.3711, allocations: 1.454 MB / 0.5817 GB, free: 15.87 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001222/0.3723, allocations: 1.035 MB / 0.5828 GB, free: 14.83 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00197/0.3742, allocations: 1.615 MB / 0.5843 GB, free: 13.21 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003388/0.3746, allocations: 208 kB / 0.5845 GB, free: 13 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009307/0.3755, allocations: 0.5071 MB / 0.585 GB, free: 12.5 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001299/0.3768, allocations: 1.429 MB / 0.5864 GB, free: 11.06 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001622/0.3784, allocations: 1.696 MB / 0.5881 GB, free: 9.355 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006205/0.3846, allocations: 5.46 MB / 0.5934 GB, free: 3.871 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.201e-06/0.3846, allocations: 0 / 0.5934 GB, free: 3.871 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.934e-06/0.3846, allocations: 0 / 0.5934 GB, free: 3.871 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0001379/0.3848, allocations: 0 / 0.5934 GB, free: 3.871 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.006736/0.3915, allocations: 3.676 MB / 0.597 GB, free: 128 kB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.483e-05/0.3916, allocations: 8.031 kB / 0.597 GB, free: 120 kB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01091/0.4025, allocations: 2.965 MB / 0.5999 GB, free: 13.14 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004578/0.4071, allocations: 1.538 MB / 0.6014 GB, free: 11.56 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001978/0.4073, allocations: 172.6 kB / 0.6016 GB, free: 11.39 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008189/0.4081, allocations: 221 kB / 0.6018 GB, free: 11.18 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0151/0.4232, allocations: 9.468 MB / 0.611 GB, free: 1.324 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.217e-05/0.4232, allocations: 19.81 kB / 0.6111 GB, free: 1.305 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003399/0.4236, allocations: 111.8 kB / 0.6112 GB, free: 1.195 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004039/0.4276, allocations: 2.369 MB / 0.6135 GB, free: 14.82 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01651/0.4441, allocations: 8.668 MB / 0.6219 GB, free: 6.133 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04888/0.493, allocations: 29.16 MB / 0.6504 GB, free: 8.176 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00518/0.4982, allocations: 2.944 MB / 0.6533 GB, free: 5.008 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001408/0.4996, allocations: 0.8945 MB / 0.6542 GB, free: 4.109 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009637/0.5092, allocations: 4.858 MB / 0.6589 GB, free: 15 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.408e-05/0.5093, allocations: 35.22 kB / 0.6589 GB, free: 14.95 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=126): time 3.486e-06/0.5093, allocations: 0 / 0.6589 GB, free: 14.95 MB / 0.4981 GB Notification: Performance of matching and sorting (n=126): time 0.006404/0.5157, allocations: 2.753 MB / 0.6616 GB, free: 12.2 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.576e-05/0.5157, allocations: 60.06 kB / 0.6617 GB, free: 12.12 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004388/0.5201, allocations: 2.566 MB / 0.6642 GB, free: 9.531 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 7.044e-05/0.5202, allocations: 37.7 kB / 0.6642 GB, free: 9.488 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.002259/0.5225, allocations: 2.767 MB / 0.6669 GB, free: 6.695 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005403/0.523, allocations: 0.5117 MB / 0.6674 GB, free: 6.18 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001277/0.5243, allocations: 0.9052 MB / 0.6683 GB, free: 5.262 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001908/0.5245, allocations: 357.9 kB / 0.6687 GB, free: 4.906 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002256/0.5267, allocations: 1.352 MB / 0.67 GB, free: 3.547 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004953/0.5317, allocations: 4.118 MB / 0.674 GB, free: 14.04 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008287/0.54, allocations: 5.968 MB / 0.6798 GB, free: 6.695 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001192/0.5401, allocations: 28 kB / 0.6798 GB, free: 6.668 MB / 0.5137 GB Notification: Performance of matching and sorting (n=588) (initialization): time 0.01168/0.5518, allocations: 5.292 MB / 0.685 GB, free: 1.371 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001173/0.5519, allocations: 50.34 kB / 0.6851 GB, free: 1.324 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001785/0.552, allocations: 104.1 kB / 0.6852 GB, free: 1.223 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001837/0.5522, allocations: 128 kB / 0.6853 GB, free: 1.098 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003169/0.5554, allocations: 0.9786 MB / 0.6862 GB, free: 120 kB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001841/0.5556, allocations: 195.2 kB / 0.6864 GB, free: 15.92 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003058/0.5586, allocations: 0.6126 MB / 0.687 GB, free: 15.31 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005485/0.5592, allocations: 284 kB / 0.6873 GB, free: 15.03 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.003409/0.5626, allocations: 1.899 MB / 0.6892 GB, free: 13.12 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004164/0.563, allocations: 222.5 kB / 0.6894 GB, free: 12.9 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006121/0.5636, allocations: 271.3 kB / 0.6896 GB, free: 12.63 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.532e-05/0.5637, allocations: 16 kB / 0.6896 GB, free: 12.62 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.148e-05/0.5637, allocations: 0 / 0.6896 GB, free: 12.62 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.179e-05/0.5637, allocations: 3.984 kB / 0.6896 GB, free: 12.61 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01037/0.5741, allocations: 5.615 MB / 0.6951 GB, free: 6.875 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.088e-05/0.5741, allocations: 4 kB / 0.6951 GB, free: 6.871 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005862/0.5747, allocations: 139.8 kB / 0.6953 GB, free: 6.734 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.394e-05/0.5747, allocations: 8 kB / 0.6953 GB, free: 6.727 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.992e-05/0.5747, allocations: 24 kB / 0.6953 GB, free: 6.703 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.407e-05/0.5747, allocations: 11.94 kB / 0.6953 GB, free: 6.691 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.33e-06/0.5747, allocations: 4 kB / 0.6953 GB, free: 6.688 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002496/0.5772, allocations: 1.801 MB / 0.6971 GB, free: 4.812 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005637/0.5778, allocations: 291.3 kB / 0.6973 GB, free: 4.508 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002191/0.578, allocations: 27.97 kB / 0.6974 GB, free: 4.48 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005748/0.5786, allocations: 35.95 kB / 0.6974 GB, free: 4.445 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001282/0.5787, allocations: 60.38 kB / 0.6975 GB, free: 4.387 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.383e-05/0.5788, allocations: 44 kB / 0.6975 GB, free: 4.344 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.002437/0.5812, allocations: 1.556 MB / 0.699 GB, free: 2.773 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.01e-07/0.5812, allocations: 0 / 0.699 GB, free: 2.773 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.003817/0.5851, allocations: 1.004 MB / 0.7 GB, free: 1.766 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.0003733/0.5854, allocations: 150.9 kB / 0.7001 GB, free: 1.609 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.004906/0.5903, allocations: 3.019 MB / 0.7031 GB, free: 14.61 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 4.659e-06/0.5903, allocations: 3.828 kB / 0.7031 GB, free: 14.61 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0009206/0.5913, allocations: 0.6882 MB / 0.7038 GB, free: 13.93 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00127/0.5925, allocations: 266.1 kB / 0.704 GB, free: 13.67 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01305/0.6056, allocations: 7.274 MB / 0.7111 GB, free: 6.301 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004529/0.6101, allocations: 2.962 MB / 0.714 GB, free: 3.305 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0034/0.6135, allocations: 1.48 MB / 0.7155 GB, free: 1.816 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000408/0.6139, allocations: 159.4 kB / 0.7156 GB, free: 1.66 MB / 0.545 GB Notification: Performance of SimCode: time 1.282e-06/0.6139, allocations: 0 / 0.7156 GB, free: 1.66 MB / 0.545 GB Notification: Performance of Templates: time 0.3193/0.9333, allocations: 17.72 MB / 0.7329 GB, free: 155.9 MB / 0.5606 GB " [Timeout remaining time 659] 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 -s cvode -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/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Visualizers/Torus/Torus.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Visualizers.Torus.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 6.653366665355861]