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.001333/0.001333, allocations: 110.5 kB / 21.23 MB, free: 0.6641 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.001387/0.001387, allocations: 211.9 kB / 24.54 MB, free: 4.02 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.463/1.463, allocations: 230.3 MB / 258 MB, free: 8.215 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.2348/0.2348, allocations: 46.89 MB / 361.3 MB, free: 4.453 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.002291/0.002291, allocations: 83.84 kB / 0.497 GB, free: 7.609 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3345/0.3368, allocations: 66.03 MB / 0.5615 GB, free: 4.613 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Torus): time 0.01381/0.3506, allocations: 11.3 MB / 0.5726 GB, free: 9.258 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.006629/0.3572, allocations: 2.858 MB / 0.5753 GB, free: 6.395 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001553/0.3588, allocations: 59.81 kB / 0.5754 GB, free: 6.336 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002658/0.3614, allocations: 1.35 MB / 0.5767 GB, free: 4.98 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00252/0.364, allocations: 1.253 MB / 0.5779 GB, free: 3.723 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003059/0.3643, allocations: 83.84 kB / 0.578 GB, free: 3.641 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.003373/0.3676, allocations: 2.731 MB / 0.5807 GB, free: 0.9062 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001937/0.3696, allocations: 1.458 MB / 0.5821 GB, free: 15.41 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001323/0.3709, allocations: 1.055 MB / 0.5831 GB, free: 14.36 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002109/0.373, allocations: 1.612 MB / 0.5847 GB, free: 12.74 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004228/0.3734, allocations: 208 kB / 0.5849 GB, free: 12.54 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001054/0.3745, allocations: 0.5071 MB / 0.5854 GB, free: 12.03 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001353/0.3758, allocations: 1.429 MB / 0.5868 GB, free: 10.59 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00193/0.3778, allocations: 1.688 MB / 0.5885 GB, free: 8.895 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007543/0.3853, allocations: 5.471 MB / 0.5938 GB, free: 3.402 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.118e-06/0.3853, allocations: 4 kB / 0.5938 GB, free: 3.398 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.3853, allocations: 0 / 0.5938 GB, free: 3.398 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0001511/0.3855, allocations: 0 / 0.5938 GB, free: 3.398 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.005928/0.3914, allocations: 3.601 MB / 0.5973 GB, free: 15.75 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.928e-05/0.3914, allocations: 8.031 kB / 0.5973 GB, free: 15.74 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01015/0.4016, allocations: 2.954 MB / 0.6002 GB, free: 12.78 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003439/0.405, allocations: 1.484 MB / 0.6017 GB, free: 11.26 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001787/0.4052, allocations: 176.6 kB / 0.6018 GB, free: 11.08 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005024/0.4057, allocations: 219 kB / 0.602 GB, free: 10.87 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01624/0.4219, allocations: 9.472 MB / 0.6113 GB, free: 1.012 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.313e-05/0.422, allocations: 19.81 kB / 0.6113 GB, free: 0.9922 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007472/0.4228, allocations: 107.8 kB / 0.6114 GB, free: 0.8867 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004107/0.4269, allocations: 2.377 MB / 0.6137 GB, free: 14.51 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01759/0.4445, allocations: 8.664 MB / 0.6222 GB, free: 5.832 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04481/0.4893, allocations: 29.06 MB / 0.6506 GB, free: 7.953 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0051/0.4944, allocations: 2.029 MB / 0.6526 GB, free: 5.922 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001631/0.496, allocations: 0.9023 MB / 0.6534 GB, free: 5.02 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00954/0.5056, allocations: 3.946 MB / 0.6573 GB, free: 1.043 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.538e-05/0.5056, allocations: 47.16 kB / 0.6573 GB, free: 0.9844 MB / 494.1 MB Notification: Performance of pre-optimization done (n=126): time 3.506e-06/0.5056, allocations: 0 / 0.6573 GB, free: 0.9844 MB / 494.1 MB Notification: Performance of matching and sorting (n=126): time 0.006634/0.5122, allocations: 2.745 MB / 0.66 GB, free: 14.23 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.146e-05/0.5123, allocations: 60.06 kB / 0.6601 GB, free: 14.16 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004443/0.5167, allocations: 2.577 MB / 0.6626 GB, free: 11.56 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001514/0.5169, allocations: 37.7 kB / 0.6626 GB, free: 11.52 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.002732/0.5196, allocations: 2.755 MB / 0.6653 GB, free: 8.734 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008095/0.5204, allocations: 0.5117 MB / 0.6658 GB, free: 8.219 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001505/0.5219, allocations: 0.9091 MB / 0.6667 GB, free: 7.297 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0002359/0.5222, allocations: 357.9 kB / 0.667 GB, free: 6.941 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002324/0.5245, allocations: 1.359 MB / 0.6684 GB, free: 5.574 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005085/0.5296, allocations: 4.114 MB / 0.6724 GB, free: 72 kB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007765/0.5373, allocations: 5.96 MB / 0.6782 GB, free: 8.738 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.86e-05/0.5374, allocations: 28 kB / 0.6782 GB, free: 8.711 MB / 0.5137 GB Notification: Performance of matching and sorting (n=588) (initialization): time 0.008817/0.5462, allocations: 5.296 MB / 0.6834 GB, free: 3.41 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 8.151e-05/0.5463, allocations: 48 kB / 0.6835 GB, free: 3.363 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001355/0.5465, allocations: 96 kB / 0.6835 GB, free: 3.27 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001513/0.5466, allocations: 132 kB / 0.6837 GB, free: 3.141 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002866/0.5495, allocations: 0.9863 MB / 0.6846 GB, free: 2.152 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001822/0.5497, allocations: 195.2 kB / 0.6848 GB, free: 1.961 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003031/0.5527, allocations: 0.6209 MB / 0.6854 GB, free: 1.336 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000458/0.5531, allocations: 276 kB / 0.6857 GB, free: 1.066 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.003324/0.5565, allocations: 1.889 MB / 0.6875 GB, free: 15.16 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004587/0.5569, allocations: 222.5 kB / 0.6877 GB, free: 14.94 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007154/0.5576, allocations: 271.3 kB / 0.688 GB, free: 14.67 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.338e-05/0.5577, allocations: 15.98 kB / 0.688 GB, free: 14.66 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.43e-05/0.5577, allocations: 7.938 kB / 0.688 GB, free: 14.65 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.327e-06/0.5578, allocations: 7.984 kB / 0.688 GB, free: 14.64 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01138/0.5691, allocations: 5.586 MB / 0.6935 GB, free: 8.938 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.2e-05/0.5691, allocations: 4 kB / 0.6935 GB, free: 8.934 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006131/0.5698, allocations: 136.3 kB / 0.6936 GB, free: 8.801 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.527e-05/0.5698, allocations: 12 kB / 0.6936 GB, free: 8.789 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.308e-05/0.5698, allocations: 23.98 kB / 0.6937 GB, free: 8.766 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.492e-05/0.5699, allocations: 11.94 kB / 0.6937 GB, free: 8.754 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.134e-05/0.5699, allocations: 7.938 kB / 0.6937 GB, free: 8.746 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002666/0.5725, allocations: 1.79 MB / 0.6954 GB, free: 6.883 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005768/0.5731, allocations: 222.2 kB / 0.6956 GB, free: 6.664 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003818/0.5735, allocations: 23.97 kB / 0.6957 GB, free: 6.641 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007615/0.5743, allocations: 39.91 kB / 0.6957 GB, free: 6.602 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001332/0.5744, allocations: 68.28 kB / 0.6958 GB, free: 6.535 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.894e-05/0.5745, allocations: 39.98 kB / 0.6958 GB, free: 6.496 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.003125/0.5776, allocations: 1.552 MB / 0.6973 GB, free: 4.93 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5776, allocations: 0 / 0.6973 GB, free: 4.93 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0042/0.5818, allocations: 1.004 MB / 0.6983 GB, free: 3.922 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.0004161/0.5822, allocations: 147 kB / 0.6984 GB, free: 3.77 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.005411/0.5876, allocations: 3.018 MB / 0.7014 GB, free: 0.7734 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 6.152e-06/0.5877, allocations: 0 / 0.7014 GB, free: 0.7734 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.000966/0.5886, allocations: 0.6836 MB / 0.7021 GB, free: 96 kB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001597/0.5902, allocations: 259.2 kB / 0.7023 GB, free: 15.84 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01554/0.6057, allocations: 7.27 MB / 0.7094 GB, free: 8.48 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004773/0.6105, allocations: 2.965 MB / 0.7123 GB, free: 5.48 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.003444/0.614, allocations: 1.488 MB / 0.7138 GB, free: 3.984 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004786/0.6144, allocations: 151.4 kB / 0.7139 GB, free: 3.836 MB / 0.545 GB Notification: Performance of SimCode: time 1.102e-06/0.6144, allocations: 0 / 0.7139 GB, free: 3.836 MB / 0.545 GB Notification: Performance of Templates: time 0.04491/0.6594, allocations: 19.72 MB / 0.7332 GB, free: 164 kB / 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.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.566528841853142]