Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Torus.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008347/0.0008347, allocations: 87.62 kB / 21.44 MB, free: 3.129 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.003163/0.003163, allocations: 160.7 kB / 24.7 MB, free: 9.418 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.882/0.882, allocations: 177.1 MB / 205 MB, free: 5.719 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2375/0.2375, allocations: 32.79 MB / 294.2 MB, free: 1.191 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/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_4.0.0_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_4.0.0_ModelicaTest.MultiBody.Visualizers.Torus") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.122e-06/1.122e-06, allocations: 0 / 440.8 MB, free: 3.754 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.499e-05/2.611e-05, allocations: 2.281 kB / 440.8 MB, free: 3.75 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Torus): time 0.1807/0.1807, allocations: 9.825 MB / 450.7 MB, free: 41.34 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.004138/0.1848, allocations: 2.707 MB / 453.4 MB, free: 39.84 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001041/0.1859, allocations: 61.91 kB / 453.4 MB, free: 39.83 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0015/0.1874, allocations: 1.348 MB / 454.8 MB, free: 39.28 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001565/0.1889, allocations: 1.297 MB / 456.1 MB, free: 38.68 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002219/0.1892, allocations: 81.7 kB / 456.1 MB, free: 38.64 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.00173/0.1909, allocations: 2.784 MB / 458.9 MB, free: 37.46 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001294/0.1922, allocations: 1.683 MB / 460.6 MB, free: 36.68 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001383/0.1936, allocations: 1.537 MB / 462.1 MB, free: 36.05 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001255/0.1948, allocations: 1.509 MB / 463.7 MB, free: 35.64 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002494/0.1951, allocations: 210.7 kB / 463.9 MB, free: 35.64 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007042/0.1958, allocations: 476 kB / 464.3 MB, free: 35.57 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006844/0.1965, allocations: 1.47 MB / 465.8 MB, free: 34.95 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005992/0.1971, allocations: 0.8639 MB / 466.7 MB, free: 34.52 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00469/0.2017, allocations: 5.326 MB / 472 MB, free: 32.62 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.803e-06/0.2018, allocations: 0 / 472 MB, free: 32.62 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.464e-06/0.2018, allocations: 0 / 472 MB, free: 32.62 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0001896/0.2019, allocations: 4 kB / 472 MB, free: 32.62 MB / 410.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.004336/0.2063, allocations: 3.546 MB / 475.5 MB, free: 30.4 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.608e-05/0.2063, allocations: 9.125 kB / 475.5 MB, free: 30.4 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005161/0.2115, allocations: 2.992 MB / 478.5 MB, free: 30.02 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002637/0.2141, allocations: 1.49 MB / 480 MB, free: 29.19 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.474e-05/0.2142, allocations: 175.1 kB / 480.2 MB, free: 29.1 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003394/0.2146, allocations: 223.9 kB / 480.4 MB, free: 29.02 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01199/0.2265, allocations: 9.487 MB / 489.9 MB, free: 25.12 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.656e-05/0.2266, allocations: 20.12 kB / 489.9 MB, free: 25.11 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002181/0.2268, allocations: 107.3 kB / 490 MB, free: 25.03 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002505/0.2293, allocations: 2.374 MB / 492.4 MB, free: 24.61 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01339/0.2427, allocations: 8.657 MB / 0.4893 GB, free: 21.95 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02505/0.2677, allocations: 26.55 MB / 0.5152 GB, free: 12.56 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003065/0.2708, allocations: 2.108 MB / 0.5173 GB, free: 10.45 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001004/0.2718, allocations: 0.8989 MB / 0.5182 GB, free: 9.551 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005485/0.2773, allocations: 3.919 MB / 0.522 GB, free: 5.609 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.769e-05/0.2773, allocations: 39.22 kB / 0.522 GB, free: 5.562 MB / 426.7 MB Notification: Performance of pre-optimization done (n=126): time 3.747e-06/0.2773, allocations: 0 / 0.522 GB, free: 5.562 MB / 426.7 MB Notification: Performance of matching and sorting (n=126): time 0.003797/0.2811, allocations: 2.862 MB / 0.5248 GB, free: 2.691 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.332e-05/0.2812, allocations: 64.05 kB / 0.5249 GB, free: 2.613 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002507/0.2837, allocations: 2.616 MB / 0.5275 GB, free: 15.96 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 6.534e-05/0.2837, allocations: 41.69 kB / 0.5275 GB, free: 15.91 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001419/0.2852, allocations: 2.739 MB / 0.5302 GB, free: 13.14 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003653/0.2855, allocations: 0.5078 MB / 0.5307 GB, free: 12.63 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007414/0.2863, allocations: 0.8974 MB / 0.5315 GB, free: 11.72 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001065/0.2864, allocations: 349.9 kB / 0.5319 GB, free: 11.38 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001276/0.2877, allocations: 1.352 MB / 0.5332 GB, free: 10.02 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002621/0.2903, allocations: 4.114 MB / 0.5372 GB, free: 4.512 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004645/0.2949, allocations: 5.968 MB / 0.543 GB, free: 13.17 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.52e-05/0.295, allocations: 28 kB / 0.5431 GB, free: 13.14 MB / 458.7 MB Notification: Performance of matching and sorting (n=588) (initialization): time 0.006967/0.302, allocations: 5.281 MB / 0.5482 GB, free: 7.855 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.776e-05/0.302, allocations: 48 kB / 0.5483 GB, free: 7.809 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.812e-05/0.3021, allocations: 96 kB / 0.5484 GB, free: 7.715 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.747e-05/0.3022, allocations: 132 kB / 0.5485 GB, free: 7.586 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001797/0.304, allocations: 0.9747 MB / 0.5494 GB, free: 6.609 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.677e-05/0.304, allocations: 195.2 kB / 0.5496 GB, free: 6.418 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002094/0.3061, allocations: 0.6011 MB / 0.5502 GB, free: 5.812 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003231/0.3065, allocations: 280 kB / 0.5505 GB, free: 5.539 MB / 458.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.002533/0.309, allocations: 1.885 MB / 0.5523 GB, free: 3.641 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002964/0.3093, allocations: 218.5 kB / 0.5525 GB, free: 3.426 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002753/0.3096, allocations: 262.3 kB / 0.5528 GB, free: 3.168 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.6e-05/0.3096, allocations: 17.5 kB / 0.5528 GB, free: 3.152 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.004e-05/0.3096, allocations: 0 / 0.5528 GB, free: 3.152 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.02e-05/0.3096, allocations: 7.969 kB / 0.5528 GB, free: 3.145 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005449/0.3151, allocations: 4.321 MB / 0.557 GB, free: 14.73 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.146e-06/0.3151, allocations: 4 kB / 0.557 GB, free: 14.72 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003538/0.3154, allocations: 143.7 kB / 0.5572 GB, free: 14.58 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.037e-06/0.3154, allocations: 4 kB / 0.5572 GB, free: 14.58 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.467e-05/0.3155, allocations: 20 kB / 0.5572 GB, free: 14.56 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.724e-06/0.3155, allocations: 12 kB / 0.5572 GB, free: 14.55 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.169e-06/0.3155, allocations: 7.938 kB / 0.5572 GB, free: 14.54 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001456/0.3169, allocations: 1.778 MB / 0.5589 GB, free: 12.68 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003299/0.3173, allocations: 214.2 kB / 0.5591 GB, free: 12.47 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001137/0.3174, allocations: 27.92 kB / 0.5592 GB, free: 12.44 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003192/0.3177, allocations: 35.95 kB / 0.5592 GB, free: 12.41 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.166e-05/0.3178, allocations: 68.28 kB / 0.5593 GB, free: 12.34 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.473e-05/0.3178, allocations: 39.98 kB / 0.5593 GB, free: 12.3 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.001478/0.3193, allocations: 1.469 MB / 0.5607 GB, free: 10.82 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.8e-07/0.3193, allocations: 0 / 0.5607 GB, free: 10.82 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.002848/0.3222, allocations: 1.016 MB / 0.5617 GB, free: 9.797 MB / 474.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.0003335/0.3225, allocations: 150.9 kB / 0.5619 GB, free: 9.641 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.003469/0.326, allocations: 3.012 MB / 0.5648 GB, free: 6.656 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 6.211e-06/0.326, allocations: 4 kB / 0.5648 GB, free: 6.652 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005734/0.3265, allocations: 0.6837 MB / 0.5655 GB, free: 5.973 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008562/0.3274, allocations: 180.4 kB / 0.5657 GB, free: 5.793 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01022/0.3376, allocations: 7.65 MB / 0.5731 GB, free: 14.04 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002467/0.3401, allocations: 2.414 MB / 0.5755 GB, free: 11.59 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004923/0.3406, allocations: 196.4 kB / 0.5757 GB, free: 11.4 MB / 490.7 MB Notification: Performance of SimCode: time 1.884e-06/0.3406, allocations: 0 / 0.5757 GB, free: 11.4 MB / 490.7 MB Notification: Performance of Templates: time 0.04758/0.3882, allocations: 42.55 MB / 0.6172 GB, free: 0.9883 MB / 0.5105 GB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Torus.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Torus.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Torus.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Torus.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Torus.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Torus -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Torus.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_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_4.0.0_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.740989349782467]