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.001983/0.001983, allocations: 119.1 kB / 20.45 MB, free: 1.176 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.002836/0.002836, allocations: 207.4 kB / 23.72 MB, free: 4.391 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.577/1.577, allocations: 230.5 MB / 257.4 MB, free: 7.785 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.232/0.232, allocations: 46.96 MB / 360.8 MB, free: 3.902 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.002276/0.002276, allocations: 83.86 kB / 0.4966 GB, free: 7.039 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3485/0.3508, allocations: 66.09 MB / 0.5612 GB, free: 3.934 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Torus): time 0.01263/0.3634, allocations: 9.788 MB / 0.5707 GB, free: 10.09 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.00645/0.3699, allocations: 2.709 MB / 0.5734 GB, free: 7.379 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001561/0.3714, allocations: 63.81 kB / 0.5734 GB, free: 7.316 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002856/0.3743, allocations: 1.312 MB / 0.5747 GB, free: 6 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003175/0.3774, allocations: 1.253 MB / 0.5759 GB, free: 4.742 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004365/0.3779, allocations: 83.84 kB / 0.576 GB, free: 4.66 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.003698/0.3816, allocations: 2.712 MB / 0.5787 GB, free: 1.945 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002116/0.3837, allocations: 1.667 MB / 0.5803 GB, free: 248 kB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001649/0.3853, allocations: 1.063 MB / 0.5813 GB, free: 15.18 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002602/0.3879, allocations: 1.537 MB / 0.5828 GB, free: 13.63 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005898/0.3885, allocations: 208 kB / 0.583 GB, free: 13.43 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001153/0.3897, allocations: 411.5 kB / 0.5834 GB, free: 13.03 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001525/0.3912, allocations: 1.433 MB / 0.5848 GB, free: 11.59 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001444/0.3927, allocations: 1.195 MB / 0.586 GB, free: 10.39 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006839/0.3995, allocations: 5.48 MB / 0.5913 GB, free: 4.887 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.843e-06/0.3995, allocations: 0 / 0.5913 GB, free: 4.887 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.874e-06/0.3995, allocations: 0 / 0.5913 GB, free: 4.887 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0001518/0.3997, allocations: 3.938 kB / 0.5913 GB, free: 4.883 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.007036/0.4067, allocations: 3.597 MB / 0.5949 GB, free: 1.234 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.104e-05/0.4067, allocations: 8.031 kB / 0.5949 GB, free: 1.227 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01037/0.4171, allocations: 2.962 MB / 0.5978 GB, free: 14.26 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004714/0.4218, allocations: 1.5 MB / 0.5992 GB, free: 12.73 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001909/0.422, allocations: 172.6 kB / 0.5994 GB, free: 12.55 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009611/0.423, allocations: 228 kB / 0.5996 GB, free: 12.33 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01641/0.4394, allocations: 9.464 MB / 0.6088 GB, free: 2.484 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.825e-05/0.4394, allocations: 15.88 kB / 0.6089 GB, free: 2.469 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003377/0.4398, allocations: 107.8 kB / 0.609 GB, free: 2.363 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004145/0.4439, allocations: 2.385 MB / 0.6113 GB, free: 15.98 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01744/0.4614, allocations: 8.652 MB / 0.6197 GB, free: 7.305 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04373/0.5051, allocations: 26.42 MB / 0.6455 GB, free: 12.09 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005082/0.5102, allocations: 2.03 MB / 0.6475 GB, free: 10.05 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001512/0.5117, allocations: 0.9062 MB / 0.6484 GB, free: 9.148 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009066/0.5208, allocations: 3.765 MB / 0.6521 GB, free: 5.348 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.197e-05/0.5208, allocations: 43.22 kB / 0.6521 GB, free: 5.297 MB / 494.1 MB Notification: Performance of pre-optimization done (n=126): time 5.62e-06/0.5208, allocations: 0 / 0.6521 GB, free: 5.297 MB / 494.1 MB Notification: Performance of matching and sorting (n=126): time 0.006611/0.5274, allocations: 2.733 MB / 0.6548 GB, free: 2.559 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.579e-05/0.5275, allocations: 60.06 kB / 0.6549 GB, free: 2.488 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005513/0.533, allocations: 2.616 MB / 0.6574 GB, free: 15.83 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001719/0.5332, allocations: 41.69 kB / 0.6575 GB, free: 15.79 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.003008/0.5362, allocations: 2.77 MB / 0.6602 GB, free: 12.98 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008183/0.537, allocations: 0.5079 MB / 0.6607 GB, free: 12.47 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001899/0.5389, allocations: 0.9052 MB / 0.6615 GB, free: 11.55 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0003497/0.5393, allocations: 349.7 kB / 0.6619 GB, free: 11.21 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002541/0.5418, allocations: 1.355 MB / 0.6632 GB, free: 9.848 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005247/0.547, allocations: 4.11 MB / 0.6672 GB, free: 4.348 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008923/0.556, allocations: 5.968 MB / 0.673 GB, free: 13.01 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000131/0.5561, allocations: 32 kB / 0.6731 GB, free: 12.98 MB / 0.5137 GB Notification: Performance of matching and sorting (n=588) (initialization): time 0.01055/0.5666, allocations: 5.292 MB / 0.6782 GB, free: 7.676 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 9.881e-05/0.5667, allocations: 48 kB / 0.6783 GB, free: 7.629 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001774/0.5669, allocations: 96 kB / 0.6784 GB, free: 7.535 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001556/0.5671, allocations: 131.9 kB / 0.6785 GB, free: 7.406 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003165/0.5702, allocations: 0.9747 MB / 0.6795 GB, free: 6.43 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001829/0.5704, allocations: 195.2 kB / 0.6796 GB, free: 6.238 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003127/0.5735, allocations: 0.5972 MB / 0.6802 GB, free: 5.637 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005833/0.5741, allocations: 284.3 kB / 0.6805 GB, free: 5.359 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.003657/0.5778, allocations: 1.895 MB / 0.6823 GB, free: 3.449 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004556/0.5782, allocations: 218.5 kB / 0.6826 GB, free: 3.234 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006055/0.5789, allocations: 258.3 kB / 0.6828 GB, free: 2.98 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.507e-05/0.5789, allocations: 12 kB / 0.6828 GB, free: 2.969 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.165e-05/0.5789, allocations: 4 kB / 0.6828 GB, free: 2.965 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.789e-06/0.5789, allocations: 3.984 kB / 0.6828 GB, free: 2.961 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01038/0.5893, allocations: 4.273 MB / 0.687 GB, free: 14.59 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.05e-05/0.5893, allocations: 4 kB / 0.687 GB, free: 14.58 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006457/0.5899, allocations: 135.8 kB / 0.6871 GB, free: 14.45 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.544e-05/0.59, allocations: 8 kB / 0.6871 GB, free: 14.44 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.631e-05/0.59, allocations: 28.53 kB / 0.6872 GB, free: 14.41 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-05/0.59, allocations: 8 kB / 0.6872 GB, free: 14.41 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.576e-06/0.5901, allocations: 11.94 kB / 0.6872 GB, free: 14.39 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002543/0.5926, allocations: 1.785 MB / 0.6889 GB, free: 12.54 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006066/0.5932, allocations: 214.2 kB / 0.6891 GB, free: 12.32 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003512/0.5936, allocations: 16 kB / 0.6891 GB, free: 12.31 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007498/0.5943, allocations: 43.94 kB / 0.6892 GB, free: 12.27 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001614/0.5945, allocations: 64.28 kB / 0.6892 GB, free: 12.2 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.285e-05/0.5946, allocations: 36 kB / 0.6893 GB, free: 12.17 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.002806/0.5974, allocations: 1.475 MB / 0.6907 GB, free: 10.68 MB / 0.5294 GB Notification: Performance of sort global known variables: time 9.1e-08/0.5974, allocations: 0 / 0.6907 GB, free: 10.68 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.004219/0.6016, allocations: 1.008 MB / 0.6917 GB, free: 9.664 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.0004753/0.6021, allocations: 150.8 kB / 0.6918 GB, free: 9.508 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.00545/0.6075, allocations: 3.015 MB / 0.6948 GB, free: 6.52 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 6.091e-06/0.6075, allocations: 4.062 kB / 0.6948 GB, free: 6.516 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.001008/0.6085, allocations: 0.6863 MB / 0.6955 GB, free: 5.832 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001312/0.6098, allocations: 181.4 kB / 0.6956 GB, free: 5.656 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01406/0.6239, allocations: 7.264 MB / 0.7027 GB, free: 14.29 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004487/0.6284, allocations: 2.41 MB / 0.7051 GB, free: 11.84 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.003507/0.6319, allocations: 1.475 MB / 0.7065 GB, free: 10.36 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005295/0.6324, allocations: 147.4 kB / 0.7067 GB, free: 10.22 MB / 0.545 GB Notification: Performance of SimCode: time 1.663e-06/0.6324, allocations: 0 / 0.7067 GB, free: 10.22 MB / 0.545 GB Notification: Performance of Templates: time 0.03921/0.6716, allocations: 15.45 MB / 0.7218 GB, free: 11.02 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.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.648824920877814]