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.006693/0.006693, allocations: 107.4 kB / 21.98 MB, free: 5.223 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.001747/0.001747, allocations: 216.6 kB / 25.29 MB, free: 3.203 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.46/1.46, allocations: 230.5 MB / 258.9 MB, free: 8.004 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.2382/0.2382, allocations: 46.93 MB / 362.3 MB, free: 4.18 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.002349/0.002349, allocations: 79.86 kB / 0.4982 GB, free: 7.258 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3238/0.3262, allocations: 66.08 MB / 0.5627 GB, free: 4.215 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Torus): time 0.01348/0.3397, allocations: 11.31 MB / 0.5738 GB, free: 8.848 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.006314/0.346, allocations: 2.854 MB / 0.5765 GB, free: 5.988 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001709/0.3477, allocations: 59.81 kB / 0.5766 GB, free: 5.93 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002941/0.3506, allocations: 1.35 MB / 0.5779 GB, free: 4.574 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00314/0.3538, allocations: 1.253 MB / 0.5791 GB, free: 3.316 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003777/0.3541, allocations: 83.84 kB / 0.5792 GB, free: 3.234 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.003993/0.3581, allocations: 2.724 MB / 0.5819 GB, free: 0.5078 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002592/0.3607, allocations: 1.675 MB / 0.5835 GB, free: 14.8 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001806/0.3625, allocations: 1.062 MB / 0.5846 GB, free: 13.73 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002542/0.3651, allocations: 1.6 MB / 0.5861 GB, free: 12.12 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005039/0.3656, allocations: 208 kB / 0.5863 GB, free: 11.92 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001146/0.3667, allocations: 0.5071 MB / 0.5868 GB, free: 11.41 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001568/0.3683, allocations: 1.437 MB / 0.5882 GB, free: 9.973 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001853/0.3701, allocations: 1.696 MB / 0.5899 GB, free: 8.266 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006327/0.3765, allocations: 5.455 MB / 0.5952 GB, free: 2.789 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.28e-06/0.3765, allocations: 4 kB / 0.5952 GB, free: 2.785 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.024e-06/0.3765, allocations: 3.938 kB / 0.5952 GB, free: 2.781 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0001335/0.3766, allocations: 4 kB / 0.5952 GB, free: 2.777 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.006253/0.3829, allocations: 3.597 MB / 0.5987 GB, free: 15.13 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.97e-05/0.3829, allocations: 8.031 kB / 0.5987 GB, free: 15.12 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009751/0.3927, allocations: 2.966 MB / 0.6016 GB, free: 12.15 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003406/0.3961, allocations: 1.472 MB / 0.6031 GB, free: 10.64 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001717/0.3962, allocations: 176.6 kB / 0.6032 GB, free: 10.47 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006989/0.3969, allocations: 228 kB / 0.6035 GB, free: 10.25 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01594/0.4129, allocations: 9.464 MB / 0.6127 GB, free: 404 kB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.746e-05/0.4129, allocations: 15.81 kB / 0.6127 GB, free: 388 kB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004162/0.4134, allocations: 111.8 kB / 0.6128 GB, free: 276 kB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003923/0.4173, allocations: 2.377 MB / 0.6151 GB, free: 13.89 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01687/0.4341, allocations: 8.664 MB / 0.6236 GB, free: 5.211 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04353/0.4777, allocations: 29.06 MB / 0.652 GB, free: 7.34 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004699/0.4824, allocations: 2.045 MB / 0.654 GB, free: 5.293 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001417/0.4838, allocations: 0.9023 MB / 0.6549 GB, free: 4.391 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008642/0.4924, allocations: 3.95 MB / 0.6587 GB, free: 420 kB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.097e-05/0.4925, allocations: 47.22 kB / 0.6588 GB, free: 360 kB / 494.1 MB Notification: Performance of pre-optimization done (n=126): time 3.947e-06/0.4925, allocations: 0 / 0.6588 GB, free: 360 kB / 494.1 MB Notification: Performance of matching and sorting (n=126): time 0.006396/0.4989, allocations: 2.745 MB / 0.6614 GB, free: 13.6 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.611e-05/0.4989, allocations: 60.06 kB / 0.6615 GB, free: 13.53 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003945/0.5029, allocations: 2.566 MB / 0.664 GB, free: 10.94 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.000115/0.503, allocations: 41.7 kB / 0.664 GB, free: 10.89 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.002226/0.5052, allocations: 2.759 MB / 0.6667 GB, free: 8.105 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.000618/0.5058, allocations: 0.5117 MB / 0.6672 GB, free: 7.59 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001233/0.5071, allocations: 0.9052 MB / 0.6681 GB, free: 6.672 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0002096/0.5073, allocations: 361.9 kB / 0.6685 GB, free: 6.312 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002102/0.5094, allocations: 1.359 MB / 0.6698 GB, free: 4.945 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004614/0.514, allocations: 4.114 MB / 0.6738 GB, free: 15.44 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007328/0.5213, allocations: 5.968 MB / 0.6796 GB, free: 8.102 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.621e-05/0.5214, allocations: 28 kB / 0.6797 GB, free: 8.074 MB / 0.5137 GB Notification: Performance of matching and sorting (n=588) (initialization): time 0.009423/0.5308, allocations: 5.295 MB / 0.6848 GB, free: 2.773 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 7.303e-05/0.5309, allocations: 48 kB / 0.6849 GB, free: 2.727 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001324/0.531, allocations: 99.98 kB / 0.685 GB, free: 2.629 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001385/0.5312, allocations: 128 kB / 0.6851 GB, free: 2.504 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002962/0.5341, allocations: 0.9708 MB / 0.686 GB, free: 1.531 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001726/0.5343, allocations: 195.2 kB / 0.6862 GB, free: 1.34 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002847/0.5371, allocations: 0.6209 MB / 0.6868 GB, free: 0.7148 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004576/0.5376, allocations: 276 kB / 0.6871 GB, free: 456 kB / 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.003131/0.5407, allocations: 1.895 MB / 0.689 GB, free: 14.54 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004494/0.5412, allocations: 226.5 kB / 0.6892 GB, free: 14.32 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006001/0.5418, allocations: 271.3 kB / 0.6894 GB, free: 14.05 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.894e-05/0.5418, allocations: 16 kB / 0.6894 GB, free: 14.03 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.752e-05/0.5418, allocations: 0 / 0.6894 GB, free: 14.03 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.224e-05/0.5418, allocations: 3.984 kB / 0.6894 GB, free: 14.03 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01027/0.5521, allocations: 5.586 MB / 0.6949 GB, free: 8.32 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.238e-06/0.5521, allocations: 7.938 kB / 0.6949 GB, free: 8.312 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006028/0.5527, allocations: 140.3 kB / 0.695 GB, free: 8.176 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.423e-05/0.5527, allocations: 8 kB / 0.695 GB, free: 8.168 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.096e-05/0.5528, allocations: 24 kB / 0.6951 GB, free: 8.145 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.219e-05/0.5528, allocations: 11.98 kB / 0.6951 GB, free: 8.133 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.703e-06/0.5528, allocations: 7.938 kB / 0.6951 GB, free: 8.125 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002442/0.5553, allocations: 1.797 MB / 0.6968 GB, free: 6.25 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004907/0.5558, allocations: 222.2 kB / 0.6971 GB, free: 6.031 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002138/0.556, allocations: 16 kB / 0.6971 GB, free: 6.016 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005696/0.5565, allocations: 39.95 kB / 0.6971 GB, free: 5.977 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001362/0.5567, allocations: 64.28 kB / 0.6972 GB, free: 5.914 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.108e-05/0.5568, allocations: 51.97 kB / 0.6972 GB, free: 5.863 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.002457/0.5592, allocations: 1.556 MB / 0.6987 GB, free: 4.293 MB / 0.5294 GB Notification: Performance of sort global known variables: time 9e-08/0.5592, allocations: 0 / 0.6987 GB, free: 4.293 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.00347/0.5627, allocations: 0.9927 MB / 0.6997 GB, free: 3.297 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.0003405/0.563, allocations: 146.9 kB / 0.6999 GB, free: 3.145 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.004844/0.5679, allocations: 3.023 MB / 0.7028 GB, free: 148 kB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 9.478e-06/0.5679, allocations: 4 kB / 0.7028 GB, free: 144 kB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0009502/0.5688, allocations: 0.6836 MB / 0.7035 GB, free: 15.46 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001282/0.5701, allocations: 255.9 kB / 0.7037 GB, free: 15.21 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0131/0.5832, allocations: 7.701 MB / 0.7112 GB, free: 7.414 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003633/0.5868, allocations: 2.966 MB / 0.7141 GB, free: 4.414 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006538/0.5875, allocations: 195.4 kB / 0.7143 GB, free: 4.223 MB / 0.545 GB Notification: Performance of SimCode: time 1.563e-06/0.5875, allocations: 0 / 0.7143 GB, free: 4.223 MB / 0.545 GB Notification: Performance of Templates: time 0.289/0.8765, allocations: 42.49 MB / 0.7558 GB, free: 143 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/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Visualizers/Torus/Torus.csv","/var/lib/jenkins1/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] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 11.18918833998032]