Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_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.001458/0.001458, allocations: 109.1 kB / 21.19 MB, free: 0.7617 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.001635/0.001635, allocations: 217 kB / 24.5 MB, free: 4.133 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.336/1.336, allocations: 230.5 MB / 258.1 MB, free: 8.012 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2103/0.2103, allocations: 46.93 MB / 361.5 MB, free: 4.199 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/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_trunk_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_trunk_ModelicaTest.MultiBody.Visualizers.Torus") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002252/0.002252, allocations: 80.16 kB / 0.4974 GB, free: 7.289 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2614/0.2637, allocations: 66.07 MB / 0.5619 GB, free: 4.422 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Torus): time 0.01198/0.2757, allocations: 11.31 MB / 0.573 GB, free: 9.051 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.005047/0.2807, allocations: 2.849 MB / 0.5758 GB, free: 6.195 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00109/0.2818, allocations: 59.81 kB / 0.5758 GB, free: 6.137 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002538/0.2843, allocations: 1.35 MB / 0.5771 GB, free: 4.781 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002732/0.2871, allocations: 1.257 MB / 0.5784 GB, free: 3.52 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000324/0.2874, allocations: 79.86 kB / 0.5784 GB, free: 3.441 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.003469/0.2909, allocations: 2.727 MB / 0.5811 GB, free: 0.7109 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002322/0.2932, allocations: 1.675 MB / 0.5827 GB, free: 15 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001541/0.2947, allocations: 1.059 MB / 0.5838 GB, free: 13.94 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002119/0.2968, allocations: 1.604 MB / 0.5853 GB, free: 12.33 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003369/0.2972, allocations: 208 kB / 0.5855 GB, free: 12.12 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008885/0.2981, allocations: 0.511 MB / 0.586 GB, free: 11.61 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00117/0.2992, allocations: 1.429 MB / 0.5874 GB, free: 10.18 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001398/0.3006, allocations: 1.696 MB / 0.5891 GB, free: 8.473 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005047/0.3057, allocations: 5.456 MB / 0.5944 GB, free: 2.992 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.701e-06/0.3057, allocations: 4 kB / 0.5944 GB, free: 2.988 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.352e-06/0.3057, allocations: 0 / 0.5944 GB, free: 2.988 MB / 430.1 MB Notification: Performance of Transformations before backend: time 5.94e-05/0.3057, allocations: 0 / 0.5944 GB, free: 2.988 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.004548/0.3103, allocations: 3.601 MB / 0.5979 GB, free: 15.33 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.589e-05/0.3103, allocations: 12.03 kB / 0.598 GB, free: 15.32 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008755/0.3191, allocations: 2.966 MB / 0.6009 GB, free: 12.35 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002891/0.322, allocations: 1.48 MB / 0.6023 GB, free: 10.84 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001257/0.3221, allocations: 168.7 kB / 0.6025 GB, free: 10.67 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003827/0.3225, allocations: 224 kB / 0.6027 GB, free: 10.45 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0117/0.3342, allocations: 9.472 MB / 0.6119 GB, free: 0.5938 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.268e-05/0.3342, allocations: 23.81 kB / 0.6119 GB, free: 0.5703 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002854/0.3345, allocations: 107.8 kB / 0.612 GB, free: 476 kB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003352/0.3379, allocations: 2.369 MB / 0.6144 GB, free: 14.09 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01338/0.3513, allocations: 8.668 MB / 0.6228 GB, free: 5.41 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03549/0.3868, allocations: 29.06 MB / 0.6512 GB, free: 7.531 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004009/0.3908, allocations: 2.037 MB / 0.6532 GB, free: 5.492 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001195/0.392, allocations: 0.8984 MB / 0.6541 GB, free: 4.594 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007267/0.3992, allocations: 3.954 MB / 0.6579 GB, free: 0.6094 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.69e-05/0.3993, allocations: 47.22 kB / 0.658 GB, free: 0.5508 MB / 494.1 MB Notification: Performance of pre-optimization done (n=126): time 2.454e-06/0.3993, allocations: 0 / 0.658 GB, free: 0.5508 MB / 494.1 MB Notification: Performance of matching and sorting (n=126): time 0.005552/0.4048, allocations: 2.749 MB / 0.6607 GB, free: 13.8 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.579e-05/0.4049, allocations: 64.06 kB / 0.6607 GB, free: 13.72 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003067/0.4079, allocations: 2.566 MB / 0.6632 GB, free: 11.13 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 6.175e-05/0.408, allocations: 41.7 kB / 0.6633 GB, free: 11.08 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.001835/0.4098, allocations: 2.759 MB / 0.666 GB, free: 8.297 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004245/0.4103, allocations: 0.5078 MB / 0.6665 GB, free: 7.785 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001018/0.4113, allocations: 0.9091 MB / 0.6673 GB, free: 6.863 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0002059/0.4115, allocations: 357.9 kB / 0.6677 GB, free: 6.508 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001823/0.4133, allocations: 1.352 MB / 0.669 GB, free: 5.148 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003934/0.4172, allocations: 4.118 MB / 0.673 GB, free: 15.64 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006374/0.4236, allocations: 5.964 MB / 0.6789 GB, free: 8.305 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.349e-05/0.4237, allocations: 28 kB / 0.6789 GB, free: 8.277 MB / 0.5137 GB Notification: Performance of matching and sorting (n=588) (initialization): time 0.007551/0.4312, allocations: 5.296 MB / 0.6841 GB, free: 2.977 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 6.58e-05/0.4313, allocations: 50.19 kB / 0.6841 GB, free: 2.93 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.221e-05/0.4314, allocations: 96 kB / 0.6842 GB, free: 2.836 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001272/0.4315, allocations: 132 kB / 0.6843 GB, free: 2.707 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002511/0.434, allocations: 0.9747 MB / 0.6853 GB, free: 1.73 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001502/0.4341, allocations: 191.2 kB / 0.6855 GB, free: 1.543 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002243/0.4364, allocations: 0.6127 MB / 0.6861 GB, free: 0.9258 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000322/0.4367, allocations: 280 kB / 0.6863 GB, free: 0.6523 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.002422/0.4391, allocations: 1.901 MB / 0.6882 GB, free: 14.74 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002639/0.4394, allocations: 226.4 kB / 0.6884 GB, free: 14.52 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004547/0.4399, allocations: 275.3 kB / 0.6887 GB, free: 14.25 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.502e-05/0.4399, allocations: 15.94 kB / 0.6887 GB, free: 14.23 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.345e-06/0.4399, allocations: 0 / 0.6887 GB, free: 14.23 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.724e-06/0.4399, allocations: 7.984 kB / 0.6887 GB, free: 14.22 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008064/0.448, allocations: 5.59 MB / 0.6941 GB, free: 8.512 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.365e-06/0.448, allocations: 4 kB / 0.6941 GB, free: 8.508 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005482/0.4485, allocations: 131.8 kB / 0.6943 GB, free: 8.379 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.083e-05/0.4485, allocations: 8 kB / 0.6943 GB, free: 8.371 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.602e-05/0.4486, allocations: 24 kB / 0.6943 GB, free: 8.348 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.384e-05/0.4486, allocations: 20.42 kB / 0.6943 GB, free: 8.328 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.728e-06/0.4486, allocations: 8 kB / 0.6943 GB, free: 8.32 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002088/0.4507, allocations: 1.79 MB / 0.6961 GB, free: 6.453 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003562/0.451, allocations: 222.2 kB / 0.6963 GB, free: 6.234 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002218/0.4513, allocations: 20 kB / 0.6963 GB, free: 6.215 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000514/0.4518, allocations: 43.94 kB / 0.6963 GB, free: 6.172 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001175/0.4519, allocations: 72.28 kB / 0.6964 GB, free: 6.102 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.874e-05/0.452, allocations: 36 kB / 0.6964 GB, free: 6.066 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.001956/0.4539, allocations: 1.556 MB / 0.698 GB, free: 4.496 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.11e-07/0.4539, allocations: 0 / 0.698 GB, free: 4.496 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.003091/0.457, allocations: 1.004 MB / 0.6989 GB, free: 3.488 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.0003085/0.4573, allocations: 142.9 kB / 0.6991 GB, free: 3.34 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.004251/0.4616, allocations: 3.029 MB / 0.702 GB, free: 340 kB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 3.286e-06/0.4616, allocations: 0 / 0.702 GB, free: 340 kB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0008299/0.4624, allocations: 0.681 MB / 0.7027 GB, free: 15.65 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001013/0.4634, allocations: 244.7 kB / 0.7029 GB, free: 15.41 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01199/0.4754, allocations: 7.694 MB / 0.7105 GB, free: 7.629 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003343/0.4788, allocations: 2.981 MB / 0.7134 GB, free: 4.613 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005431/0.4793, allocations: 195.4 kB / 0.7135 GB, free: 4.422 MB / 0.545 GB Notification: Performance of SimCode: time 4.91e-07/0.4793, allocations: 0 / 0.7135 GB, free: 4.422 MB / 0.545 GB Notification: Performance of Templates: time 0.2745/0.7538, allocations: 42.48 MB / 0.755 GB, free: 143.3 MB / 0.5606 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Torus.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Torus.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Torus.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Torus.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Torus.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Torus -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Torus.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_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_trunk_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: 9.994606544962153]