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.001874/0.001874, allocations: 83.16 kB / 20.68 MB, free: 1.039 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.002376/0.002376, allocations: 157.6 kB / 23.95 MB, free: 4.168 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.528/1.528, allocations: 177 MB / 204.1 MB, free: 9.18 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.2256/0.2256, allocations: 34.26 MB / 294.8 MB, free: 14.56 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 1.352e-06/1.352e-06, allocations: 0 / 442.6 MB, free: 5.34 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.799e-05/3.934e-05, allocations: 4.953 kB / 442.6 MB, free: 5.336 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Torus): time 0.2125/0.2125, allocations: 9.827 MB / 452.5 MB, free: 14 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.007089/0.2196, allocations: 2.707 MB / 455.2 MB, free: 12.64 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002624/0.2222, allocations: 60.38 kB / 455.2 MB, free: 12.63 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003412/0.2257, allocations: 1.344 MB / 456.6 MB, free: 12.08 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003572/0.2292, allocations: 1.298 MB / 457.9 MB, free: 11.48 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004269/0.2297, allocations: 85.33 kB / 458 MB, free: 11.43 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.004232/0.2339, allocations: 2.77 MB / 460.7 MB, free: 10.27 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00235/0.2362, allocations: 1.677 MB / 462.4 MB, free: 9.492 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002822/0.2391, allocations: 1.555 MB / 464 MB, free: 8.844 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002623/0.2417, allocations: 1.499 MB / 465.5 MB, free: 8.441 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004517/0.2421, allocations: 209.1 kB / 465.7 MB, free: 8.441 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001272/0.2434, allocations: 478.3 kB / 466.1 MB, free: 8.371 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00123/0.2446, allocations: 1.474 MB / 467.6 MB, free: 7.746 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001137/0.2458, allocations: 0.8605 MB / 468.5 MB, free: 7.316 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005306/0.2511, allocations: 5.317 MB / 473.8 MB, free: 3.812 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.138e-06/0.2511, allocations: 0 / 473.8 MB, free: 3.812 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.2511, allocations: 0 / 473.8 MB, free: 3.812 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001735/0.2513, allocations: 9.5 kB / 473.8 MB, free: 3.805 MB / 366.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.00595/0.2572, allocations: 3.551 MB / 477.3 MB, free: 1.18 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.755e-05/0.2572, allocations: 8.344 kB / 477.4 MB, free: 1.18 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01012/0.2674, allocations: 2.994 MB / 480.3 MB, free: 15.62 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00397/0.2713, allocations: 1.49 MB / 481.8 MB, free: 14.66 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002025/0.2715, allocations: 176.6 kB / 482 MB, free: 14.48 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007781/0.2723, allocations: 216.2 kB / 482.2 MB, free: 14.27 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01804/0.2904, allocations: 9.489 MB / 491.7 MB, free: 4.402 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.011e-05/0.2904, allocations: 19.81 kB / 491.7 MB, free: 4.383 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003854/0.2908, allocations: 114.2 kB / 491.8 MB, free: 4.273 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00406/0.2949, allocations: 2.373 MB / 494.2 MB, free: 1.895 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01742/0.3123, allocations: 8.664 MB / 0.4911 GB, free: 9.23 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0433/0.3556, allocations: 26.54 MB / 0.517 GB, free: 13.93 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005093/0.3607, allocations: 2.097 MB / 0.5191 GB, free: 11.83 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001459/0.3621, allocations: 0.9033 MB / 0.5199 GB, free: 10.92 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009025/0.3712, allocations: 3.922 MB / 0.5238 GB, free: 6.969 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.427e-05/0.3712, allocations: 39.22 kB / 0.5238 GB, free: 6.922 MB / 430.1 MB Notification: Performance of pre-optimization done (n=126): time 5.611e-06/0.3712, allocations: 0 / 0.5238 GB, free: 6.922 MB / 430.1 MB Notification: Performance of matching and sorting (n=126): time 0.006823/0.378, allocations: 2.87 MB / 0.5266 GB, free: 4.043 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.941e-05/0.3781, allocations: 60.06 kB / 0.5267 GB, free: 3.969 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004299/0.3824, allocations: 2.616 MB / 0.5292 GB, free: 1.316 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001141/0.3825, allocations: 43.56 kB / 0.5293 GB, free: 1.27 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00255/0.3851, allocations: 2.743 MB / 0.5319 GB, free: 14.49 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00056/0.3856, allocations: 0.5001 MB / 0.5324 GB, free: 13.99 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001307/0.3869, allocations: 0.8935 MB / 0.5333 GB, free: 13.08 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0002116/0.3871, allocations: 345.9 kB / 0.5336 GB, free: 12.74 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002114/0.3893, allocations: 1.352 MB / 0.5349 GB, free: 11.38 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004931/0.3942, allocations: 4.118 MB / 0.539 GB, free: 5.867 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007906/0.4021, allocations: 5.96 MB / 0.5448 GB, free: 14.54 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.995e-05/0.4022, allocations: 28 kB / 0.5448 GB, free: 14.51 MB / 462.1 MB Notification: Performance of matching and sorting (n=588) (initialization): time 0.01147/0.4137, allocations: 5.289 MB / 0.55 GB, free: 9.211 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.3e-05/0.4137, allocations: 48 kB / 0.55 GB, free: 9.164 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002016/0.4139, allocations: 104.1 kB / 0.5501 GB, free: 9.062 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001662/0.4141, allocations: 128 kB / 0.5502 GB, free: 8.938 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003429/0.4175, allocations: 0.9786 MB / 0.5512 GB, free: 7.957 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001857/0.4177, allocations: 187.3 kB / 0.5514 GB, free: 7.773 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003892/0.4216, allocations: 0.6088 MB / 0.552 GB, free: 7.16 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006269/0.4222, allocations: 272 kB / 0.5522 GB, free: 6.895 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.003869/0.4261, allocations: 1.891 MB / 0.5541 GB, free: 4.988 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004585/0.4266, allocations: 222.5 kB / 0.5543 GB, free: 4.77 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000533/0.4271, allocations: 262.3 kB / 0.5545 GB, free: 4.512 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.853e-05/0.4271, allocations: 19.94 kB / 0.5546 GB, free: 4.492 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.497e-05/0.4272, allocations: 0 / 0.5546 GB, free: 4.492 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.107e-05/0.4272, allocations: 3.984 kB / 0.5546 GB, free: 4.488 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008815/0.436, allocations: 4.305 MB / 0.5588 GB, free: 88 kB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.188e-05/0.436, allocations: 8 kB / 0.5588 GB, free: 80 kB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006365/0.4366, allocations: 139.7 kB / 0.5589 GB, free: 15.94 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.199e-05/0.4366, allocations: 8 kB / 0.5589 GB, free: 15.93 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.493e-05/0.4367, allocations: 20 kB / 0.5589 GB, free: 15.91 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.188e-05/0.4367, allocations: 11.94 kB / 0.5589 GB, free: 15.9 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.414e-06/0.4367, allocations: 7.984 kB / 0.559 GB, free: 15.89 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002772/0.4395, allocations: 1.785 MB / 0.5607 GB, free: 14.03 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005901/0.4401, allocations: 214.2 kB / 0.5609 GB, free: 13.82 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002305/0.4403, allocations: 19.98 kB / 0.5609 GB, free: 13.8 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006123/0.4409, allocations: 39.97 kB / 0.561 GB, free: 13.76 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002066/0.4411, allocations: 64.27 kB / 0.561 GB, free: 13.7 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001057/0.4412, allocations: 47.98 kB / 0.5611 GB, free: 13.65 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.002584/0.4438, allocations: 1.471 MB / 0.5625 GB, free: 12.16 MB / 478.1 MB Notification: Performance of sort global known variables: time 2.1e-07/0.4438, allocations: 0 / 0.5625 GB, free: 12.16 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.004466/0.4483, allocations: 1.008 MB / 0.5635 GB, free: 11.15 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.0004976/0.4488, allocations: 147 kB / 0.5636 GB, free: 11 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.005599/0.4544, allocations: 3.019 MB / 0.5666 GB, free: 8.004 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 7.344e-06/0.4544, allocations: 0 / 0.5666 GB, free: 8.004 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001032/0.4554, allocations: 0.6915 MB / 0.5673 GB, free: 7.316 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001279/0.4567, allocations: 176.7 kB / 0.5674 GB, free: 7.141 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01536/0.4721, allocations: 7.225 MB / 0.5745 GB, free: 15.82 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003576/0.4757, allocations: 2.418 MB / 0.5768 GB, free: 13.37 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.003245/0.4789, allocations: 1.46 MB / 0.5783 GB, free: 11.91 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003846/0.4793, allocations: 152.5 kB / 0.5784 GB, free: 11.76 MB / 494.1 MB Notification: Performance of SimCode: time 9.02e-07/0.4793, allocations: 0 / 0.5784 GB, free: 11.76 MB / 494.1 MB Notification: Performance of Templates: time 0.03645/0.5157, allocations: 11.91 MB / 0.59 GB, free: 124 kB / 494.1 MB " [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.081274442374706]