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.0009976/0.0009976, allocations: 81.81 kB / 21.42 MB, free: 3.066 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.001048/0.001048, allocations: 165.8 kB / 24.82 MB, free: 9.266 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 0.9986/0.9986, allocations: 177 MB / 205.1 MB, free: 5.465 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.266/0.266, allocations: 34.86 MB / 296.6 MB, free: 440 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.864e-06/1.864e-06, allocations: 0 / 379.2 MB, free: 1.816 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.504e-05/2.69e-05, allocations: 3.297 kB / 379.2 MB, free: 1.812 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Torus): time 0.008421/0.008448, allocations: 10.54 MB / 389.8 MB, free: 7.219 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.005452/0.0139, allocations: 2.753 MB / 392.5 MB, free: 4.457 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001707/0.01561, allocations: 63.81 kB / 392.6 MB, free: 4.395 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002367/0.01797, allocations: 1.385 MB / 394 MB, free: 3.004 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002904/0.02088, allocations: 1.306 MB / 395.3 MB, free: 1.691 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004249/0.0213, allocations: 83.83 kB / 395.3 MB, free: 1.609 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.002816/0.02412, allocations: 2.776 MB / 398.1 MB, free: 14.83 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002203/0.02632, allocations: 1.73 MB / 399.8 MB, free: 13.06 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00256/0.02888, allocations: 1.551 MB / 401.4 MB, free: 11.5 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002284/0.03117, allocations: 1.512 MB / 402.9 MB, free: 9.988 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005436/0.03171, allocations: 208 kB / 403.1 MB, free: 9.785 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009535/0.03266, allocations: 479.3 kB / 403.6 MB, free: 9.316 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001146/0.03381, allocations: 1.48 MB / 405.1 MB, free: 7.832 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001158/0.03497, allocations: 0.86 MB / 405.9 MB, free: 6.969 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003791/0.03876, allocations: 3.357 MB / 409.3 MB, free: 3.598 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.35e-06/0.03876, allocations: 0 / 409.3 MB, free: 3.598 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.764e-06/0.03877, allocations: 0 / 409.3 MB, free: 3.598 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0002185/0.03898, allocations: 4 kB / 409.3 MB, free: 3.594 MB / 378.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.005698/0.04468, allocations: 3.978 MB / 413.3 MB, free: 15.56 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.006e-05/0.04473, allocations: 8.031 kB / 413.3 MB, free: 15.55 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005167/0.0499, allocations: 1.66 MB / 414.9 MB, free: 13.89 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002051/0.05195, allocations: 1.308 MB / 416.2 MB, free: 12.55 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001129/0.05206, allocations: 172.6 kB / 416.4 MB, free: 12.38 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003286/0.05239, allocations: 216.2 kB / 416.6 MB, free: 12.16 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006411/0.0588, allocations: 4.27 MB / 420.9 MB, free: 7.383 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.084e-05/0.05885, allocations: 19.81 kB / 420.9 MB, free: 7.363 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002554/0.05911, allocations: 107.8 kB / 421 MB, free: 7.258 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002368/0.06148, allocations: 2.092 MB / 423.1 MB, free: 5.16 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005795/0.06727, allocations: 2.217 MB / 425.3 MB, free: 2.926 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2079/0.2752, allocations: 28.76 MB / 454.1 MB, free: 74.11 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002348/0.2776, allocations: 0.9742 MB / 455.1 MB, free: 74.07 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003365/0.2779, allocations: 256.3 kB / 455.3 MB, free: 74.06 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004533/0.2824, allocations: 2.824 MB / 458.1 MB, free: 73.64 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.248e-05/0.2825, allocations: 45.8 kB / 458.2 MB, free: 73.6 MB / 410.7 MB Notification: Performance of pre-optimization done (n=126): time 4.799e-06/0.2825, allocations: 0 / 458.2 MB, free: 73.6 MB / 410.7 MB Notification: Performance of matching and sorting (n=126): time 0.002905/0.2854, allocations: 1.43 MB / 459.6 MB, free: 73.42 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.138e-05/0.2854, allocations: 61.03 kB / 459.7 MB, free: 73.36 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002558/0.288, allocations: 2.383 MB / 462 MB, free: 72.91 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 4.561e-05/0.288, allocations: 39.08 kB / 462.1 MB, free: 72.88 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001602/0.2896, allocations: 2.886 MB / 465 MB, free: 71.33 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003079/0.2899, allocations: 0.5381 MB / 465.5 MB, free: 71.01 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007489/0.2907, allocations: 0.9884 MB / 466.5 MB, free: 70.79 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001049/0.2908, allocations: 0.5228 MB / 467 MB, free: 70.29 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004516/0.2912, allocations: 348.7 kB / 467.4 MB, free: 70.27 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001882/0.2931, allocations: 4.461 MB / 471.8 MB, free: 64.84 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003211/0.2963, allocations: 5.384 MB / 477.2 MB, free: 59.13 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.737e-05/0.2964, allocations: 25.66 kB / 477.2 MB, free: 59.13 MB / 410.7 MB Notification: Performance of matching and sorting (n=588) (initialization): time 0.004193/0.3006, allocations: 3.456 MB / 480.7 MB, free: 57.82 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.596e-05/0.3007, allocations: 49.22 kB / 480.7 MB, free: 57.82 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001061/0.3008, allocations: 103.6 kB / 480.8 MB, free: 57.81 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001094/0.3009, allocations: 135.6 kB / 481 MB, free: 57.8 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001584/0.3025, allocations: 0.9551 MB / 481.9 MB, free: 57.68 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001194/0.3026, allocations: 191.5 kB / 482.1 MB, free: 57.64 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001993/0.3046, allocations: 0.5785 MB / 482.7 MB, free: 57.26 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002621/0.3048, allocations: 244.9 kB / 482.9 MB, free: 57.22 MB / 410.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.001363/0.3062, allocations: 0.506 MB / 483.4 MB, free: 56.8 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002464/0.3064, allocations: 244.1 kB / 483.7 MB, free: 56.67 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002049/0.3066, allocations: 222 kB / 483.9 MB, free: 56.54 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.191e-05/0.3067, allocations: 19.28 kB / 483.9 MB, free: 56.53 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.756e-05/0.3067, allocations: 0 / 483.9 MB, free: 56.53 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.735e-06/0.3067, allocations: 6.281 kB / 483.9 MB, free: 56.53 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00395/0.3106, allocations: 2.801 MB / 486.7 MB, free: 55.12 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.905e-06/0.3106, allocations: 3.281 kB / 486.7 MB, free: 55.12 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002846/0.3109, allocations: 118.8 kB / 486.8 MB, free: 55.11 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.546e-06/0.3109, allocations: 7.781 kB / 486.8 MB, free: 55.11 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.097e-05/0.311, allocations: 22.31 kB / 486.9 MB, free: 55.1 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.205e-06/0.311, allocations: 9.25 kB / 486.9 MB, free: 55.1 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.941e-06/0.311, allocations: 10.91 kB / 486.9 MB, free: 55.09 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001009/0.312, allocations: 1.021 MB / 487.9 MB, free: 54.42 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003028/0.3123, allocations: 210.4 kB / 488.1 MB, free: 54.27 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001239/0.3124, allocations: 17.66 kB / 488.1 MB, free: 54.27 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002785/0.3127, allocations: 15.5 kB / 488.1 MB, free: 54.26 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.8e-05/0.3128, allocations: 67.61 kB / 488.2 MB, free: 54.24 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.65e-05/0.3128, allocations: 39.8 kB / 488.2 MB, free: 54.23 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0009509/0.3138, allocations: 0.9294 MB / 489.2 MB, free: 53.87 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.3138, allocations: 0 / 489.2 MB, free: 53.87 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.003367/0.3172, allocations: 1.014 MB / 490.2 MB, free: 53.53 MB / 410.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.0003761/0.3175, allocations: 146.4 kB / 490.3 MB, free: 53.41 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.003323/0.3209, allocations: 1.755 MB / 492.1 MB, free: 52.85 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 9.248e-06/0.3209, allocations: 1.031 kB / 492.1 MB, free: 52.85 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003736/0.3212, allocations: 279.9 kB / 492.4 MB, free: 52.77 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00107/0.3223, allocations: 189.4 kB / 492.5 MB, free: 52.66 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01043/0.3327, allocations: 6.123 MB / 498.7 MB, free: 49.54 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009801/0.3337, allocations: 1.057 MB / 499.7 MB, free: 49.18 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0008957/0.3346, allocations: 336.4 kB / 0.4883 GB, free: 49.07 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004207/0.335, allocations: 362.6 kB / 0.4887 GB, free: 49 MB / 410.7 MB Notification: Performance of SimCode: time 2.925e-06/0.335, allocations: 0 / 0.4887 GB, free: 49 MB / 410.7 MB Notification: Performance of Templates: time 0.02933/0.3644, allocations: 13.67 MB / 0.502 GB, free: 45.12 MB / 410.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 -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: 4.0327296569012105]