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.001638/0.001638, allocations: 79.73 kB / 21.25 MB, free: 396 kB / 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.001965/0.001965, allocations: 165.3 kB / 24.5 MB, free: 3.453 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.49/1.49, allocations: 177.1 MB / 204.7 MB, free: 9.02 MB / 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.2152/0.2152, allocations: 34.26 MB / 295.4 MB, free: 14.52 MB / 286.1 MB " [Timeout remaining time 179] 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.003378/0.003378, allocations: 87.86 kB / 443.1 MB, free: 6.562 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3477/0.3511, allocations: 66.05 MB / 0.4972 GB, free: 29.88 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Torus): time 0.008373/0.3594, allocations: 9.828 MB / 0.5068 GB, free: 23.48 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.005582/0.365, allocations: 2.693 MB / 0.5095 GB, free: 21.77 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001783/0.3668, allocations: 58.12 kB / 0.5095 GB, free: 21.76 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002178/0.369, allocations: 1.309 MB / 0.5108 GB, free: 21.22 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002174/0.3711, allocations: 1.255 MB / 0.512 GB, free: 20.66 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002387/0.3714, allocations: 80.72 kB / 0.5121 GB, free: 20.62 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.002793/0.3742, allocations: 2.71 MB / 0.5148 GB, free: 19.51 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001963/0.3761, allocations: 1.676 MB / 0.5164 GB, free: 18.73 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001489/0.3776, allocations: 1.061 MB / 0.5174 GB, free: 18.3 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001979/0.3796, allocations: 1.533 MB / 0.5189 GB, free: 17.8 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004278/0.38, allocations: 208.3 kB / 0.5191 GB, free: 17.8 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009906/0.381, allocations: 414.8 kB / 0.5195 GB, free: 17.73 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001242/0.3823, allocations: 1.431 MB / 0.5209 GB, free: 17.18 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001098/0.3834, allocations: 1.19 MB / 0.5221 GB, free: 16.41 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006061/0.3894, allocations: 5.483 MB / 0.5274 GB, free: 14.29 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.772e-06/0.3894, allocations: 1.656 kB / 0.5274 GB, free: 14.29 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.973e-06/0.3894, allocations: 0 / 0.5274 GB, free: 14.29 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0001668/0.3896, allocations: 0 / 0.5274 GB, free: 14.29 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.006032/0.3956, allocations: 3.61 MB / 0.531 GB, free: 12.05 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.021e-05/0.3957, allocations: 9.906 kB / 0.531 GB, free: 12.05 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009925/0.4056, allocations: 2.99 MB / 0.5339 GB, free: 10.84 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003487/0.4091, allocations: 1.491 MB / 0.5353 GB, free: 9.879 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001406/0.4092, allocations: 172.4 kB / 0.5355 GB, free: 9.793 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000528/0.4098, allocations: 229.8 kB / 0.5357 GB, free: 9.707 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01396/0.4237, allocations: 9.476 MB / 0.545 GB, free: 4.203 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001013/0.4238, allocations: 19.81 kB / 0.545 GB, free: 4.184 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007014/0.4245, allocations: 107.8 kB / 0.5451 GB, free: 4.078 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00311/0.4276, allocations: 2.373 MB / 0.5474 GB, free: 1.699 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01704/0.4447, allocations: 8.66 MB / 0.5559 GB, free: 9.023 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04431/0.489, allocations: 26.58 MB / 0.5818 GB, free: 13.65 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005183/0.4942, allocations: 2.114 MB / 0.5839 GB, free: 11.54 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001494/0.4957, allocations: 0.9028 MB / 0.5848 GB, free: 10.63 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009026/0.5047, allocations: 3.914 MB / 0.5886 GB, free: 6.684 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.502e-05/0.5047, allocations: 47.22 kB / 0.5887 GB, free: 6.629 MB / 494.1 MB Notification: Performance of pre-optimization done (n=126): time 6.582e-06/0.5047, allocations: 7.984 kB / 0.5887 GB, free: 6.621 MB / 494.1 MB Notification: Performance of matching and sorting (n=126): time 0.006518/0.5112, allocations: 2.862 MB / 0.5915 GB, free: 3.754 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.923e-05/0.5113, allocations: 60.06 kB / 0.5915 GB, free: 3.684 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004237/0.5155, allocations: 2.616 MB / 0.5941 GB, free: 1.031 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 6.671e-05/0.5156, allocations: 33.7 kB / 0.5941 GB, free: 0.9922 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002275/0.5179, allocations: 2.771 MB / 0.5968 GB, free: 14.19 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005417/0.5184, allocations: 0.5079 MB / 0.5973 GB, free: 13.68 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001377/0.5198, allocations: 0.9052 MB / 0.5982 GB, free: 12.76 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001941/0.52, allocations: 353.7 kB / 0.5985 GB, free: 12.41 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002177/0.5222, allocations: 1.355 MB / 0.5998 GB, free: 11.05 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004542/0.5267, allocations: 4.118 MB / 0.6039 GB, free: 5.539 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007239/0.5339, allocations: 5.96 MB / 0.6097 GB, free: 14.21 MB / 0.5138 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.38e-05/0.534, allocations: 28 kB / 0.6097 GB, free: 14.18 MB / 0.5138 GB Notification: Performance of matching and sorting (n=588) (initialization): time 0.00886/0.5429, allocations: 5.292 MB / 0.6149 GB, free: 8.875 MB / 0.5138 GB Notification: Performance of prepare postOptimizeDAE: time 7.972e-05/0.543, allocations: 48 kB / 0.6149 GB, free: 8.828 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001374/0.5431, allocations: 96 kB / 0.615 GB, free: 8.734 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001476/0.5433, allocations: 128 kB / 0.6151 GB, free: 8.609 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002923/0.5462, allocations: 0.9747 MB / 0.6161 GB, free: 7.633 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000175/0.5464, allocations: 195.3 kB / 0.6163 GB, free: 7.441 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002828/0.5492, allocations: 0.6016 MB / 0.6169 GB, free: 6.836 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004169/0.5496, allocations: 284 kB / 0.6171 GB, free: 6.559 MB / 0.5138 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.003166/0.5528, allocations: 1.891 MB / 0.619 GB, free: 4.652 MB / 0.5138 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003569/0.5531, allocations: 214.5 kB / 0.6192 GB, free: 4.441 MB / 0.5138 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004644/0.5536, allocations: 258.3 kB / 0.6194 GB, free: 4.188 MB / 0.5138 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.021e-05/0.5536, allocations: 19.94 kB / 0.6195 GB, free: 4.168 MB / 0.5138 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.306e-06/0.5536, allocations: 0 / 0.6195 GB, free: 4.168 MB / 0.5138 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.078e-05/0.5536, allocations: 3.984 kB / 0.6195 GB, free: 4.164 MB / 0.5138 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009019/0.5627, allocations: 4.316 MB / 0.6237 GB, free: 15.75 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.117e-05/0.5627, allocations: 4 kB / 0.6237 GB, free: 15.75 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006038/0.5633, allocations: 140.3 kB / 0.6238 GB, free: 15.61 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.269e-05/0.5633, allocations: 4 kB / 0.6238 GB, free: 15.61 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.148e-05/0.5634, allocations: 28 kB / 0.6238 GB, free: 15.58 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.803e-05/0.5634, allocations: 11.94 kB / 0.6239 GB, free: 15.57 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.06e-06/0.5634, allocations: 4 kB / 0.6239 GB, free: 15.57 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002628/0.566, allocations: 1.789 MB / 0.6256 GB, free: 13.7 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005586/0.5666, allocations: 214.2 kB / 0.6258 GB, free: 13.49 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003283/0.5669, allocations: 19.98 kB / 0.6258 GB, free: 13.47 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006848/0.5676, allocations: 35.95 kB / 0.6259 GB, free: 13.44 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001353/0.5677, allocations: 72.28 kB / 0.6259 GB, free: 13.37 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.169e-05/0.5678, allocations: 47.92 kB / 0.626 GB, free: 13.32 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.002537/0.5703, allocations: 1.467 MB / 0.6274 GB, free: 11.84 MB / 0.5294 GB Notification: Performance of sort global known variables: time 9e-08/0.5703, allocations: 0 / 0.6274 GB, free: 11.84 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.003926/0.5743, allocations: 1.012 MB / 0.6284 GB, free: 10.82 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.0004217/0.5747, allocations: 139 kB / 0.6285 GB, free: 10.68 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.005403/0.5801, allocations: 3.023 MB / 0.6315 GB, free: 7.676 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 7.645e-06/0.5801, allocations: 0 / 0.6315 GB, free: 7.676 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0009891/0.5811, allocations: 0.6863 MB / 0.6322 GB, free: 6.992 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001638/0.5827, allocations: 169.6 kB / 0.6323 GB, free: 6.824 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01421/0.5969, allocations: 7.263 MB / 0.6394 GB, free: 15.46 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004135/0.6011, allocations: 2.414 MB / 0.6418 GB, free: 13.01 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.003415/0.6045, allocations: 1.472 MB / 0.6432 GB, free: 11.54 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004563/0.6049, allocations: 152.5 kB / 0.6433 GB, free: 11.39 MB / 0.545 GB Notification: Performance of SimCode: time 1.343e-06/0.6049, allocations: 0 / 0.6433 GB, free: 11.39 MB / 0.545 GB Notification: Performance of Templates: time 0.03463/0.6396, allocations: 11.95 MB / 0.655 GB, free: 15.7 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 -s ida -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: 6.214792554965243]