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.001627/0.001627, allocations: 116.8 kB / 19.18 MB, free: 3.762 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.00142/0.00142, allocations: 210.6 kB / 22.13 MB, free: 0.8125 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.533/1.533, allocations: 230.2 MB / 255.2 MB, free: 15.24 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.2339/0.2339, allocations: 46.89 MB / 358.1 MB, free: 10.52 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.002326/0.002326, allocations: 75.88 kB / 0.4923 GB, free: 8.055 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1446/0.1469, allocations: 66 MB / 0.5568 GB, free: 5.93 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Torus): time 0.01404/0.161, allocations: 11.28 MB / 0.5678 GB, free: 10.58 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.006848/0.1678, allocations: 2.839 MB / 0.5706 GB, free: 7.73 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001759/0.1696, allocations: 51.94 kB / 0.5706 GB, free: 7.68 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003084/0.1727, allocations: 1.339 MB / 0.5719 GB, free: 6.336 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003094/0.1758, allocations: 1.261 MB / 0.5732 GB, free: 5.07 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003222/0.1761, allocations: 75.84 kB / 0.5732 GB, free: 4.996 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.003556/0.1796, allocations: 2.73 MB / 0.5759 GB, free: 2.262 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002146/0.1818, allocations: 1.622 MB / 0.5775 GB, free: 0.6094 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001572/0.1834, allocations: 1.039 MB / 0.5785 GB, free: 15.57 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002239/0.1856, allocations: 1.608 MB / 0.5801 GB, free: 13.95 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004414/0.186, allocations: 208 kB / 0.5803 GB, free: 13.75 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001161/0.1872, allocations: 0.5032 MB / 0.5808 GB, free: 13.25 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001453/0.1887, allocations: 1.421 MB / 0.5822 GB, free: 11.82 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002091/0.1907, allocations: 1.696 MB / 0.5838 GB, free: 10.11 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0066/0.1973, allocations: 5.464 MB / 0.5891 GB, free: 4.625 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.003e-06/0.1974, allocations: 0 / 0.5891 GB, free: 4.625 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.384e-06/0.1974, allocations: 4 kB / 0.5891 GB, free: 4.621 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0001335/0.1975, allocations: 0 / 0.5891 GB, free: 4.621 MB / 446.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.006547/0.204, allocations: 3.668 MB / 0.5927 GB, free: 0.8828 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.157e-05/0.2041, allocations: 16.03 kB / 0.5927 GB, free: 0.8672 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.2672/0.4713, allocations: 2.954 MB / 0.5956 GB, free: 33.61 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003211/0.4745, allocations: 1.538 MB / 0.5971 GB, free: 33.27 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001523/0.4747, allocations: 173.5 kB / 0.5973 GB, free: 33.27 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006477/0.4753, allocations: 221.5 kB / 0.5975 GB, free: 33.27 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01444/0.4897, allocations: 9.474 MB / 0.6068 GB, free: 30 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.582e-05/0.4898, allocations: 14.28 kB / 0.6068 GB, free: 30 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003466/0.4901, allocations: 117.5 kB / 0.6069 GB, free: 29.96 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0039/0.494, allocations: 2.372 MB / 0.6092 GB, free: 29.54 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01541/0.5095, allocations: 8.665 MB / 0.6177 GB, free: 26.48 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03267/0.5421, allocations: 29.16 MB / 0.6461 GB, free: 13.11 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005355/0.5475, allocations: 2.94 MB / 0.649 GB, free: 9.938 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001667/0.5492, allocations: 0.9137 MB / 0.6499 GB, free: 9.023 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00912/0.5583, allocations: 4.846 MB / 0.6546 GB, free: 3.988 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.6e-05/0.5583, allocations: 43.22 kB / 0.6547 GB, free: 3.938 MB / 462.1 MB Notification: Performance of pre-optimization done (n=126): time 3.677e-06/0.5583, allocations: 0 / 0.6547 GB, free: 3.938 MB / 462.1 MB Notification: Performance of matching and sorting (n=126): time 0.006231/0.5646, allocations: 2.741 MB / 0.6574 GB, free: 1.191 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.809e-05/0.5646, allocations: 64.06 kB / 0.6574 GB, free: 1.117 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003586/0.5682, allocations: 2.569 MB / 0.6599 GB, free: 14.52 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 8.254e-05/0.5683, allocations: 45.69 kB / 0.66 GB, free: 14.47 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001999/0.5703, allocations: 2.755 MB / 0.6627 GB, free: 11.69 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005014/0.5708, allocations: 0.5001 MB / 0.6631 GB, free: 11.18 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001141/0.5719, allocations: 0.9091 MB / 0.664 GB, free: 10.26 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001849/0.5721, allocations: 357.9 kB / 0.6644 GB, free: 9.906 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001986/0.5741, allocations: 1.359 MB / 0.6657 GB, free: 8.539 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004215/0.5783, allocations: 4.118 MB / 0.6697 GB, free: 3.031 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007007/0.5853, allocations: 5.96 MB / 0.6755 GB, free: 11.69 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.216e-05/0.5854, allocations: 32 kB / 0.6756 GB, free: 11.66 MB / 494.1 MB Notification: Performance of matching and sorting (n=588) (initialization): time 0.008915/0.5943, allocations: 5.301 MB / 0.6808 GB, free: 6.359 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.913e-05/0.5943, allocations: 44 kB / 0.6808 GB, free: 6.316 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001069/0.5945, allocations: 100 kB / 0.6809 GB, free: 6.219 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001376/0.5946, allocations: 128 kB / 0.681 GB, free: 6.094 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002774/0.5974, allocations: 0.9747 MB / 0.682 GB, free: 5.117 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001639/0.5975, allocations: 191.2 kB / 0.6821 GB, free: 4.93 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002685/0.6002, allocations: 0.6207 MB / 0.6828 GB, free: 4.305 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003552/0.6006, allocations: 276 kB / 0.683 GB, free: 4.035 MB / 494.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.002852/0.6034, allocations: 1.891 MB / 0.6849 GB, free: 2.129 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003486/0.6038, allocations: 226.5 kB / 0.6851 GB, free: 1.906 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005362/0.6043, allocations: 275.3 kB / 0.6853 GB, free: 1.633 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.213e-05/0.6043, allocations: 16 kB / 0.6854 GB, free: 1.617 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.067e-06/0.6043, allocations: 3.938 kB / 0.6854 GB, free: 1.613 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.667e-06/0.6044, allocations: 3.984 kB / 0.6854 GB, free: 1.609 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009057/0.6134, allocations: 5.614 MB / 0.6908 GB, free: 11.87 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.295e-05/0.6134, allocations: 4 kB / 0.6909 GB, free: 11.87 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006165/0.614, allocations: 135.8 kB / 0.691 GB, free: 11.73 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.024e-05/0.6141, allocations: 8.562 kB / 0.691 GB, free: 11.73 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.132e-05/0.6141, allocations: 24 kB / 0.691 GB, free: 11.7 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.161e-05/0.6141, allocations: 8 kB / 0.691 GB, free: 11.7 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.541e-05/0.6141, allocations: 11.59 kB / 0.691 GB, free: 11.69 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002448/0.6166, allocations: 1.809 MB / 0.6928 GB, free: 9.805 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004931/0.6171, allocations: 295.3 kB / 0.6931 GB, free: 9.496 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001964/0.6173, allocations: 19.98 kB / 0.6931 GB, free: 9.477 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005986/0.6179, allocations: 43.95 kB / 0.6931 GB, free: 9.434 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001473/0.618, allocations: 64.36 kB / 0.6932 GB, free: 9.371 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.409e-05/0.6181, allocations: 44 kB / 0.6932 GB, free: 9.328 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.002417/0.6205, allocations: 1.556 MB / 0.6948 GB, free: 7.758 MB / 0.4981 GB Notification: Performance of sort global known variables: time 6e-08/0.6205, allocations: 0 / 0.6948 GB, free: 7.758 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.003657/0.6242, allocations: 1 MB / 0.6957 GB, free: 6.754 MB / 0.4981 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.0003791/0.6246, allocations: 146.9 kB / 0.6959 GB, free: 6.602 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.005023/0.6296, allocations: 3.012 MB / 0.6988 GB, free: 3.621 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 5.751e-06/0.6296, allocations: 0 / 0.6988 GB, free: 3.621 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0009455/0.6305, allocations: 0.6995 MB / 0.6995 GB, free: 2.922 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001316/0.6319, allocations: 242.2 kB / 0.6997 GB, free: 2.688 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01371/0.6456, allocations: 7.682 MB / 0.7072 GB, free: 10.9 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003618/0.6492, allocations: 2.975 MB / 0.7101 GB, free: 7.898 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007001/0.6499, allocations: 191.4 kB / 0.7103 GB, free: 7.711 MB / 0.5137 GB Notification: Performance of SimCode: time 1.142e-06/0.6499, allocations: 0 / 0.7103 GB, free: 7.711 MB / 0.5137 GB Notification: Performance of Templates: time 0.06817/0.718, allocations: 42.5 MB / 0.7518 GB, free: 13.36 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 -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: 11.305649108951911]