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.0009614/0.0009614, allocations: 84.73 kB / 21.5 MB, free: 2.988 MB / 18.57 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.00167/0.00167, allocations: 165.5 kB / 24.91 MB, free: 8.758 MB / 18.57 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.048/1.048, allocations: 177 MB / 205.2 MB, free: 5.414 MB / 186.7 MB " [Timeout remaining time 179] 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.2771/0.2771, allocations: 34.87 MB / 296.6 MB, free: 436 kB / 266.7 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 1.613e-06/1.613e-06, allocations: 0 / 325.9 MB, free: 7.117 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.137e-05/2.298e-05, allocations: 4.391 kB / 325.9 MB, free: 7.113 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Torus): time 0.009304/0.009327, allocations: 10.58 MB / 336.5 MB, free: 12.48 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.005358/0.01468, allocations: 2.886 MB / 339.4 MB, free: 9.586 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001251/0.01594, allocations: 63.81 kB / 339.5 MB, free: 9.523 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002054/0.01799, allocations: 1.374 MB / 340.8 MB, free: 8.145 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001935/0.01992, allocations: 1.299 MB / 342.1 MB, free: 6.84 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002172/0.02014, allocations: 91.75 kB / 342.2 MB, free: 6.75 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.002279/0.02242, allocations: 2.772 MB / 345 MB, free: 3.973 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002075/0.02449, allocations: 1.793 MB / 346.8 MB, free: 2.129 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002317/0.02681, allocations: 1.551 MB / 348.3 MB, free: 0.5742 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001845/0.02866, allocations: 1.426 MB / 349.8 MB, free: 15.14 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004392/0.0291, allocations: 211.9 kB / 350 MB, free: 14.94 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008212/0.02992, allocations: 483.4 kB / 350.5 MB, free: 14.46 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0009306/0.03085, allocations: 1.48 MB / 351.9 MB, free: 12.98 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007541/0.0316, allocations: 0.86 MB / 352.8 MB, free: 12.12 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003546/0.03515, allocations: 3.357 MB / 356.2 MB, free: 8.746 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.592e-06/0.03515, allocations: 0 / 356.2 MB, free: 8.746 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.493e-06/0.03516, allocations: 4 kB / 356.2 MB, free: 8.742 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0001217/0.03528, allocations: 3.938 kB / 356.2 MB, free: 8.738 MB / 330.7 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.004/0.03928, allocations: 3.397 MB / 359.6 MB, free: 5.297 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.217e-05/0.03933, allocations: 12.02 kB / 359.6 MB, free: 5.285 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00445/0.04378, allocations: 1.28 MB / 360.8 MB, free: 4.004 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001892/0.04567, allocations: 1.153 MB / 362 MB, free: 2.82 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.752e-05/0.04576, allocations: 172.7 kB / 362.2 MB, free: 2.648 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002897/0.04605, allocations: 228.2 kB / 362.4 MB, free: 2.426 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004729/0.05078, allocations: 4.005 MB / 366.4 MB, free: 14.04 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.013e-05/0.05082, allocations: 19.81 kB / 366.4 MB, free: 14.02 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002004/0.05102, allocations: 107.8 kB / 366.5 MB, free: 13.91 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00204/0.05306, allocations: 2.088 MB / 368.6 MB, free: 11.82 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003961/0.05702, allocations: 2.237 MB / 370.8 MB, free: 9.57 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02148/0.0785, allocations: 21.81 MB / 392.7 MB, free: 2.965 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002212/0.08071, allocations: 1.017 MB / 393.7 MB, free: 1.938 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002938/0.081, allocations: 212.8 kB / 393.9 MB, free: 1.727 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003854/0.08486, allocations: 2.692 MB / 396.6 MB, free: 15.01 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.283e-05/0.08489, allocations: 47.16 kB / 396.6 MB, free: 14.96 MB / 378.7 MB Notification: Performance of pre-optimization done (n=126): time 3.487e-06/0.08489, allocations: 0 / 396.6 MB, free: 14.96 MB / 378.7 MB Notification: Performance of matching and sorting (n=126): time 0.002626/0.08752, allocations: 1.245 MB / 397.9 MB, free: 13.71 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.028e-05/0.08755, allocations: 64.05 kB / 397.9 MB, free: 13.63 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00155/0.0891, allocations: 1.908 MB / 399.8 MB, free: 11.69 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 4.776e-05/0.08915, allocations: 41.69 kB / 399.9 MB, free: 11.64 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001117/0.09026, allocations: 2.678 MB / 402.6 MB, free: 8.934 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002753/0.09054, allocations: 0.4962 MB / 403.1 MB, free: 8.434 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006235/0.09116, allocations: 0.8384 MB / 403.9 MB, free: 7.582 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 9.324e-05/0.09126, allocations: 345.9 kB / 404.2 MB, free: 7.238 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006908/0.09195, allocations: 324.6 kB / 404.5 MB, free: 6.914 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001592/0.09354, allocations: 3.107 MB / 407.7 MB, free: 2.418 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003121/0.09666, allocations: 4.057 MB / 411.7 MB, free: 12.99 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.023e-05/0.09671, allocations: 28 kB / 411.7 MB, free: 12.96 MB / 394.7 MB Notification: Performance of matching and sorting (n=588) (initialization): time 0.003085/0.09979, allocations: 2.888 MB / 414.6 MB, free: 10.07 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.864e-05/0.09984, allocations: 49 kB / 414.7 MB, free: 10.02 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.707e-05/0.09992, allocations: 96 kB / 414.8 MB, free: 9.926 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.631e-05/0.1, allocations: 136 kB / 414.9 MB, free: 9.793 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001549/0.1016, allocations: 0.9865 MB / 415.9 MB, free: 8.805 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002683/0.1018, allocations: 195.2 kB / 416.1 MB, free: 8.613 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001464/0.1033, allocations: 0.5816 MB / 416.7 MB, free: 8.027 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002043/0.1035, allocations: 236 kB / 416.9 MB, free: 7.797 MB / 394.7 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.0009391/0.1044, allocations: 480.8 kB / 417.4 MB, free: 7.312 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001526/0.1046, allocations: 131.8 kB / 417.5 MB, free: 7.184 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001866/0.1048, allocations: 222.3 kB / 417.7 MB, free: 6.965 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.242e-05/0.1048, allocations: 19.98 kB / 417.7 MB, free: 6.945 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.003e-06/0.1048, allocations: 0 / 417.7 MB, free: 6.945 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.706e-06/0.1048, allocations: 7.969 kB / 417.7 MB, free: 6.938 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002973/0.1078, allocations: 2.48 MB / 420.2 MB, free: 4.363 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.551e-06/0.1078, allocations: 8 kB / 420.2 MB, free: 4.355 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002832/0.1081, allocations: 119.8 kB / 420.3 MB, free: 4.238 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.355e-06/0.1081, allocations: 15.88 kB / 420.3 MB, free: 4.223 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.431e-05/0.1081, allocations: 19.98 kB / 420.4 MB, free: 4.203 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.705e-06/0.1081, allocations: 11.94 kB / 420.4 MB, free: 4.191 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.268e-06/0.1081, allocations: 4 kB / 420.4 MB, free: 4.188 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006216/0.1087, allocations: 0.7572 MB / 421.1 MB, free: 3.363 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001608/0.1089, allocations: 198.3 kB / 421.3 MB, free: 3.168 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001045/0.109, allocations: 23.94 kB / 421.4 MB, free: 3.145 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002434/0.1093, allocations: 19.98 kB / 421.4 MB, free: 3.125 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.835e-05/0.1093, allocations: 64.28 kB / 421.4 MB, free: 3.062 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.817e-05/0.1094, allocations: 35.98 kB / 421.5 MB, free: 3.027 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0005857/0.11, allocations: 0.7211 MB / 422.2 MB, free: 2.285 MB / 394.7 MB Notification: Performance of sort global known variables: time 2.4e-07/0.11, allocations: 0 / 422.2 MB, free: 2.285 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.00239/0.1124, allocations: 1.012 MB / 423.2 MB, free: 1.27 MB / 394.7 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.0002598/0.1126, allocations: 132.1 kB / 423.3 MB, free: 1.133 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001784/0.1144, allocations: 1.643 MB / 425 MB, free: 15.5 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 9.374e-05/0.1145, allocations: 55.94 kB / 425 MB, free: 15.44 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000233/0.1147, allocations: 226.9 kB / 425.3 MB, free: 15.21 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005565/0.1153, allocations: 183.3 kB / 425.4 MB, free: 15.03 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008029/0.1233, allocations: 6.356 MB / 431.8 MB, free: 8.559 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008817/0.1242, allocations: 1.031 MB / 432.8 MB, free: 7.504 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0008099/0.125, allocations: 337.1 kB / 433.2 MB, free: 7.176 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003871/0.1254, allocations: 335.3 kB / 433.5 MB, free: 6.848 MB / 410.7 MB Notification: Performance of SimCode: time 2.284e-06/0.1254, allocations: 0 / 433.5 MB, free: 6.848 MB / 410.7 MB Notification: Performance of Templates: time 0.0258/0.1512, allocations: 13.64 MB / 447.1 MB, free: 9.43 MB / 426.7 MB " [Timeout remaining time 660] 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=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Torus.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Torus_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Visualizers/Torus/Torus.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.6330874459818006]