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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001602/0.001602, allocations: 112.2 kB / 21.19 MB, free: 0.7617 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001811/0.001811, allocations: 209.9 kB / 24.49 MB, free: 4.145 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.471/1.471, allocations: 230.6 MB / 258.3 MB, free: 7.965 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2245/0.2245, allocations: 44.91 MB / 359.6 MB, free: 6.266 MB / 286.1 MB " [Timeout remaining time 180] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/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.0.0_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.0.0_ModelicaTest.MultiBody.Visualizers.Torus") [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002111/0.002111, allocations: 63.91 kB / 0.4943 GB, free: 10.22 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3404/0.3425, allocations: 65.47 MB / 0.5582 GB, free: 7.672 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Torus): time 0.01383/0.3564, allocations: 11.31 MB / 0.5693 GB, free: 12.34 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.006406/0.3628, allocations: 2.849 MB / 0.5721 GB, free: 9.48 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001502/0.3643, allocations: 59.81 kB / 0.5721 GB, free: 9.422 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002988/0.3673, allocations: 1.358 MB / 0.5734 GB, free: 8.059 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003121/0.3704, allocations: 1.257 MB / 0.5747 GB, free: 6.797 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003911/0.3708, allocations: 79.91 kB / 0.5748 GB, free: 6.719 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.003973/0.3747, allocations: 2.722 MB / 0.5774 GB, free: 3.992 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002907/0.3776, allocations: 1.679 MB / 0.579 GB, free: 2.277 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002105/0.3797, allocations: 1.062 MB / 0.5801 GB, free: 1.211 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002609/0.3824, allocations: 1.6 MB / 0.5816 GB, free: 15.61 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006896/0.383, allocations: 208 kB / 0.5818 GB, free: 15.4 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001485/0.3845, allocations: 0.511 MB / 0.5823 GB, free: 14.89 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001812/0.3863, allocations: 1.425 MB / 0.5837 GB, free: 13.46 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002252/0.3886, allocations: 1.7 MB / 0.5854 GB, free: 11.75 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007231/0.3958, allocations: 5.464 MB / 0.5907 GB, free: 6.266 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.603e-06/0.3958, allocations: 0 / 0.5907 GB, free: 6.266 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.904e-06/0.3958, allocations: 0 / 0.5907 GB, free: 6.266 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0001714/0.396, allocations: 0 / 0.5907 GB, free: 6.266 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.007008/0.403, allocations: 3.601 MB / 0.5943 GB, free: 2.613 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.765e-05/0.4031, allocations: 12.03 kB / 0.5943 GB, free: 2.602 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01028/0.4133, allocations: 2.962 MB / 0.5972 GB, free: 15.63 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004224/0.4176, allocations: 1.48 MB / 0.5986 GB, free: 14.12 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001758/0.4177, allocations: 172.6 kB / 0.5988 GB, free: 13.95 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006723/0.4184, allocations: 224 kB / 0.599 GB, free: 13.73 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01627/0.4347, allocations: 9.472 MB / 0.6082 GB, free: 3.879 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.791e-05/0.4348, allocations: 15.88 kB / 0.6082 GB, free: 3.863 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003502/0.4351, allocations: 103.8 kB / 0.6083 GB, free: 3.762 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004278/0.4394, allocations: 2.377 MB / 0.6107 GB, free: 1.383 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01711/0.4565, allocations: 8.66 MB / 0.6191 GB, free: 8.703 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0437/0.5002, allocations: 29.06 MB / 0.6475 GB, free: 10.83 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004845/0.505, allocations: 2.04 MB / 0.6495 GB, free: 8.781 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001389/0.5064, allocations: 0.8984 MB / 0.6504 GB, free: 7.879 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009278/0.5157, allocations: 3.954 MB / 0.6542 GB, free: 3.895 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.188e-05/0.5157, allocations: 47.22 kB / 0.6543 GB, free: 3.836 MB / 494.1 MB Notification: Performance of pre-optimization done (n=126): time 4.097e-06/0.5157, allocations: 0 / 0.6543 GB, free: 3.836 MB / 494.1 MB Notification: Performance of matching and sorting (n=126): time 0.006254/0.522, allocations: 2.737 MB / 0.6569 GB, free: 1.094 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.091e-05/0.522, allocations: 60.06 kB / 0.657 GB, free: 1.023 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003755/0.5258, allocations: 2.569 MB / 0.6595 GB, free: 14.43 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001138/0.5259, allocations: 45.69 kB / 0.6596 GB, free: 14.38 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.002402/0.5283, allocations: 2.755 MB / 0.6622 GB, free: 11.59 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005822/0.5289, allocations: 0.5079 MB / 0.6627 GB, free: 11.08 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00119/0.5301, allocations: 0.913 MB / 0.6636 GB, free: 10.16 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0002166/0.5303, allocations: 361.8 kB / 0.664 GB, free: 9.797 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002243/0.5326, allocations: 1.355 MB / 0.6653 GB, free: 8.434 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004654/0.5372, allocations: 4.11 MB / 0.6693 GB, free: 2.934 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007526/0.5447, allocations: 5.968 MB / 0.6751 GB, free: 11.59 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.611e-05/0.5448, allocations: 28 kB / 0.6752 GB, free: 11.56 MB / 0.5137 GB Notification: Performance of matching and sorting (n=588) (initialization): time 0.009441/0.5542, allocations: 5.295 MB / 0.6803 GB, free: 6.266 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 7.076e-05/0.5543, allocations: 48 kB / 0.6804 GB, free: 6.219 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001065/0.5544, allocations: 96.91 kB / 0.6805 GB, free: 6.125 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000142/0.5546, allocations: 132 kB / 0.6806 GB, free: 5.996 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002921/0.5575, allocations: 0.9747 MB / 0.6816 GB, free: 5.02 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001775/0.5577, allocations: 195.2 kB / 0.6817 GB, free: 4.828 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002793/0.5605, allocations: 0.6127 MB / 0.6823 GB, free: 4.211 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004444/0.5609, allocations: 283.9 kB / 0.6826 GB, free: 3.934 MB / 0.5137 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.002909/0.5638, allocations: 1.895 MB / 0.6845 GB, free: 2.023 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003593/0.5642, allocations: 222.5 kB / 0.6847 GB, free: 1.805 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005613/0.5647, allocations: 275.3 kB / 0.6849 GB, free: 1.531 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.08e-05/0.5648, allocations: 16 kB / 0.685 GB, free: 1.516 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.113e-06/0.5648, allocations: 0 / 0.685 GB, free: 1.516 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.917e-06/0.5648, allocations: 7.984 kB / 0.685 GB, free: 1.508 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01027/0.575, allocations: 5.59 MB / 0.6904 GB, free: 11.8 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.869e-06/0.5751, allocations: 4 kB / 0.6904 GB, free: 11.8 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005961/0.5757, allocations: 135.8 kB / 0.6906 GB, free: 11.66 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.424e-05/0.5757, allocations: 8 kB / 0.6906 GB, free: 11.66 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.947e-05/0.5757, allocations: 23.98 kB / 0.6906 GB, free: 11.63 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.929e-06/0.5757, allocations: 8 kB / 0.6906 GB, free: 11.62 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.947e-06/0.5757, allocations: 11.92 kB / 0.6906 GB, free: 11.61 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002403/0.5781, allocations: 1.798 MB / 0.6924 GB, free: 9.738 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004864/0.5786, allocations: 222.2 kB / 0.6926 GB, free: 9.52 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002155/0.5788, allocations: 19.98 kB / 0.6926 GB, free: 9.5 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005757/0.5794, allocations: 39.97 kB / 0.6926 GB, free: 9.461 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001263/0.5796, allocations: 72.19 kB / 0.6927 GB, free: 9.391 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.111e-05/0.5796, allocations: 40 kB / 0.6927 GB, free: 9.352 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.002377/0.582, allocations: 1.56 MB / 0.6943 GB, free: 7.777 MB / 0.5294 GB Notification: Performance of sort global known variables: time 9e-08/0.582, allocations: 0 / 0.6943 GB, free: 7.777 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.003585/0.5856, allocations: 1 MB / 0.6952 GB, free: 6.773 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.0003498/0.5859, allocations: 146.9 kB / 0.6954 GB, free: 6.621 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.004924/0.5909, allocations: 3.015 MB / 0.6983 GB, free: 3.633 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 4.9e-06/0.5909, allocations: 4.125 kB / 0.6983 GB, free: 3.629 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0009621/0.5918, allocations: 0.6902 MB / 0.699 GB, free: 2.941 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001271/0.5931, allocations: 249.9 kB / 0.6992 GB, free: 2.703 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01322/0.6063, allocations: 7.698 MB / 0.7068 GB, free: 10.91 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003742/0.6101, allocations: 2.966 MB / 0.7097 GB, free: 7.906 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006381/0.6107, allocations: 195.4 kB / 0.7098 GB, free: 7.715 MB / 0.545 GB Notification: Performance of SimCode: time 8.92e-07/0.6107, allocations: 0 / 0.7098 GB, free: 7.715 MB / 0.545 GB Notification: Performance of Templates: time 0.2837/0.8944, allocations: 42.49 MB / 0.7513 GB, free: 148.5 MB / 0.5606 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Torus.makefile [Timeout 660] (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) [Timeout 480] 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) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 11.271594010060653]