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.002109/0.002109, allocations: 117.2 kB / 18.45 MB, free: 4.461 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.002899/0.002899, allocations: 210.6 kB / 21.4 MB, free: 1.516 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.473/1.473, allocations: 227.4 MB / 251.6 MB, free: 292 kB / 190.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.2309/0.2309, allocations: 46.16 MB / 351.1 MB, free: 14.33 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.002294/0.002294, allocations: 84.64 kB / 490.2 MB, free: 28.13 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1403/0.1426, allocations: 62.45 MB / 0.5397 GB, free: 4.273 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Torus): time 0.01449/0.1572, allocations: 11.25 MB / 0.5507 GB, free: 8.965 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.007257/0.1645, allocations: 2.815 MB / 0.5534 GB, free: 6.137 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002032/0.1666, allocations: 55.88 kB / 0.5535 GB, free: 6.082 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003104/0.1697, allocations: 1.331 MB / 0.5548 GB, free: 4.746 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003681/0.1735, allocations: 1.214 MB / 0.5559 GB, free: 3.527 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004078/0.1739, allocations: 71.86 kB / 0.556 GB, free: 3.457 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.004034/0.1779, allocations: 2.722 MB / 0.5587 GB, free: 0.7305 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002689/0.1806, allocations: 1.844 MB / 0.5605 GB, free: 14.86 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001911/0.1826, allocations: 1.047 MB / 0.5615 GB, free: 13.8 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002133/0.1847, allocations: 1.444 MB / 0.5629 GB, free: 12.36 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000531/0.1852, allocations: 208 kB / 0.5631 GB, free: 12.15 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001339/0.1866, allocations: 499.3 kB / 0.5636 GB, free: 11.66 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00144/0.188, allocations: 1.379 MB / 0.5649 GB, free: 10.28 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00184/0.1899, allocations: 1.7 MB / 0.5666 GB, free: 8.57 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006531/0.1964, allocations: 5.456 MB / 0.5719 GB, free: 3.09 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.773e-06/0.1965, allocations: 0 / 0.5719 GB, free: 3.09 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.674e-06/0.1965, allocations: 4 kB / 0.5719 GB, free: 3.086 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0001282/0.1966, allocations: 0 / 0.5719 GB, free: 3.086 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.007599/0.2042, allocations: 3.672 MB / 0.5755 GB, free: 15.34 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.821e-05/0.2043, allocations: 12.03 kB / 0.5755 GB, free: 15.33 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01/0.2143, allocations: 2.962 MB / 0.5784 GB, free: 12.36 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00379/0.2181, allocations: 1.534 MB / 0.5799 GB, free: 10.79 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000199/0.2184, allocations: 176.6 kB / 0.5801 GB, free: 10.61 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006856/0.2191, allocations: 224 kB / 0.5803 GB, free: 10.39 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01849/0.2376, allocations: 9.476 MB / 0.5895 GB, free: 0.5312 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.877e-05/0.2377, allocations: 19.81 kB / 0.5896 GB, free: 0.5117 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004298/0.2382, allocations: 103.8 kB / 0.5897 GB, free: 420 kB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004737/0.2429, allocations: 2.373 MB / 0.592 GB, free: 14.03 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01989/0.2628, allocations: 8.66 MB / 0.6004 GB, free: 5.359 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.369/0.6319, allocations: 29.16 MB / 0.6289 GB, free: 37.88 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00466/0.6366, allocations: 3.044 MB / 0.6319 GB, free: 36.14 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001303/0.6379, allocations: 0.98 MB / 0.6328 GB, free: 35.82 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007714/0.6456, allocations: 4.853 MB / 0.6376 GB, free: 33.41 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.98e-05/0.6457, allocations: 37.97 kB / 0.6376 GB, free: 33.37 MB / 462.1 MB Notification: Performance of pre-optimization done (n=126): time 4.498e-06/0.6457, allocations: 0 / 0.6376 GB, free: 33.37 MB / 462.1 MB Notification: Performance of matching and sorting (n=126): time 0.005889/0.6516, allocations: 2.746 MB / 0.6403 GB, free: 32.64 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.576e-05/0.6517, allocations: 63.84 kB / 0.6404 GB, free: 32.57 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003259/0.6549, allocations: 2.574 MB / 0.6429 GB, free: 31.27 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 5.918e-05/0.655, allocations: 37.22 kB / 0.6429 GB, free: 31.23 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001155/0.6562, allocations: 2.759 MB / 0.6456 GB, free: 29.13 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002912/0.6565, allocations: 0.5083 MB / 0.6461 GB, free: 28.71 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008541/0.6573, allocations: 0.9073 MB / 0.647 GB, free: 28.2 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 8.452e-05/0.6574, allocations: 361 kB / 0.6473 GB, free: 27.86 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001407/0.6588, allocations: 1.351 MB / 0.6486 GB, free: 27.24 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002249/0.6611, allocations: 4.121 MB / 0.6527 GB, free: 22.72 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004208/0.6653, allocations: 5.96 MB / 0.6585 GB, free: 17.16 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.15e-05/0.6654, allocations: 30.56 kB / 0.6585 GB, free: 17.16 MB / 462.1 MB Notification: Performance of matching and sorting (n=588) (initialization): time 0.006238/0.6716, allocations: 5.303 MB / 0.6637 GB, free: 12.2 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.073e-05/0.6717, allocations: 49.72 kB / 0.6637 GB, free: 12.15 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.793e-05/0.6718, allocations: 96 kB / 0.6638 GB, free: 12.05 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.431e-05/0.6718, allocations: 128 kB / 0.664 GB, free: 11.93 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002181/0.674, allocations: 0.9747 MB / 0.6649 GB, free: 10.95 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.791e-05/0.6741, allocations: 199.2 kB / 0.6651 GB, free: 10.76 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002367/0.6765, allocations: 0.6127 MB / 0.6657 GB, free: 10.14 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002361/0.6768, allocations: 276 kB / 0.666 GB, free: 9.871 MB / 462.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.002213/0.679, allocations: 1.891 MB / 0.6678 GB, free: 7.969 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000229/0.6792, allocations: 226.4 kB / 0.668 GB, free: 7.746 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003959/0.6796, allocations: 271.3 kB / 0.6683 GB, free: 7.477 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.356e-05/0.6797, allocations: 16 kB / 0.6683 GB, free: 7.461 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.487e-05/0.6797, allocations: 3.938 kB / 0.6683 GB, free: 7.457 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.774e-06/0.6797, allocations: 7.078 kB / 0.6683 GB, free: 7.453 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006562/0.6863, allocations: 5.617 MB / 0.6738 GB, free: 1.734 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.126e-06/0.6863, allocations: 4 kB / 0.6738 GB, free: 1.73 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004978/0.6868, allocations: 135.8 kB / 0.6739 GB, free: 1.598 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.042e-05/0.6868, allocations: 8 kB / 0.6739 GB, free: 1.59 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.354e-05/0.6869, allocations: 28.38 kB / 0.674 GB, free: 1.566 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.067e-06/0.6869, allocations: 11.94 kB / 0.674 GB, free: 1.555 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.449e-06/0.6869, allocations: 12 kB / 0.674 GB, free: 1.543 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00174/0.6886, allocations: 1.801 MB / 0.6757 GB, free: 15.66 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004696/0.6891, allocations: 291.3 kB / 0.676 GB, free: 15.36 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002061/0.6893, allocations: 23.98 kB / 0.676 GB, free: 15.34 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000534/0.6899, allocations: 35.8 kB / 0.6761 GB, free: 15.3 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001359/0.69, allocations: 68.36 kB / 0.6761 GB, free: 15.24 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.7e-05/0.6901, allocations: 36 kB / 0.6762 GB, free: 15.2 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.002309/0.6925, allocations: 1.564 MB / 0.6777 GB, free: 13.62 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.71e-07/0.6925, allocations: 0 / 0.6777 GB, free: 13.62 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.003678/0.6961, allocations: 0.9992 MB / 0.6787 GB, free: 12.62 MB / 478.1 MB 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.0003562/0.6965, allocations: 148 kB / 0.6788 GB, free: 12.47 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.005192/0.7017, allocations: 3.157 MB / 0.6819 GB, free: 9.348 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 6.402e-06/0.7017, allocations: 0 / 0.6819 GB, free: 9.348 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001027/0.7028, allocations: 0.7359 MB / 0.6826 GB, free: 8.613 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001488/0.7043, allocations: 252.9 kB / 0.6829 GB, free: 8.379 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01572/0.72, allocations: 7.271 MB / 0.69 GB, free: 1.02 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00419/0.7242, allocations: 2.965 MB / 0.6929 GB, free: 14.02 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.00339/0.7277, allocations: 1.485 MB / 0.6943 GB, free: 12.53 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004068/0.7281, allocations: 155.4 kB / 0.6945 GB, free: 12.38 MB / 494.1 MB Notification: Performance of SimCode: time 1.193e-06/0.7281, allocations: 0 / 0.6945 GB, free: 12.38 MB / 494.1 MB Notification: Performance of Templates: time 0.03954/0.7677, allocations: 16.45 MB / 0.7105 GB, free: 12.04 MB / 0.4981 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Visualizers/Torus/Torus.csv","/var/lib/jenkins/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: 6.3431235905736685]