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.001439/0.001439, allocations: 85.31 kB / 20.68 MB, free: 1.035 MB / 14.72 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.001561/0.001561, allocations: 165.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 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 1.412/1.412, allocations: 177.1 MB / 204.3 MB, free: 9.18 MB / 190.1 MB " [Timeout remaining time 178] 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.2043/0.2043, allocations: 32.8 MB / 293.5 MB, free: 36 kB / 270.1 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.262e-06/1.262e-06, allocations: 0 / 440.1 MB, free: 8.184 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.255e-05/2.381e-05, allocations: 6.281 kB / 440.1 MB, free: 8.176 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Torus): time 0.1974/0.1974, allocations: 9.811 MB / 449.9 MB, free: 15.23 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.005388/0.2028, allocations: 2.721 MB / 452.6 MB, free: 14.99 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009802/0.2038, allocations: 62.03 kB / 452.7 MB, free: 14.98 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002696/0.2065, allocations: 1.343 MB / 454 MB, free: 14.61 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002968/0.2094, allocations: 1.303 MB / 455.3 MB, free: 14.11 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000301/0.2097, allocations: 78.44 kB / 455.4 MB, free: 14.09 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.003308/0.213, allocations: 2.777 MB / 458.2 MB, free: 13.06 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002538/0.2156, allocations: 1.675 MB / 459.8 MB, free: 12.28 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003618/0.2192, allocations: 1.556 MB / 461.4 MB, free: 11.63 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003371/0.2226, allocations: 1.499 MB / 462.9 MB, free: 11.23 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006656/0.2232, allocations: 208.9 kB / 463.1 MB, free: 11.23 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001887/0.2251, allocations: 478.5 kB / 463.6 MB, free: 11.16 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001763/0.2269, allocations: 1.474 MB / 465 MB, free: 10.54 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001347/0.2282, allocations: 0.8601 MB / 465.9 MB, free: 10.11 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007311/0.2355, allocations: 5.319 MB / 471.2 MB, free: 6.875 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.146e-05/0.2356, allocations: 3.984 kB / 471.2 MB, free: 6.871 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.484e-06/0.2356, allocations: 0 / 471.2 MB, free: 6.871 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0003437/0.2359, allocations: 5.281 kB / 471.2 MB, free: 6.867 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.01051/0.2464, allocations: 3.551 MB / 474.8 MB, free: 4.242 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.271e-05/0.2464, allocations: 8.562 kB / 474.8 MB, free: 4.242 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01022/0.2567, allocations: 2.992 MB / 477.8 MB, free: 2.688 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003746/0.2604, allocations: 1.484 MB / 479.3 MB, free: 1.734 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001067/0.2605, allocations: 178.7 kB / 479.4 MB, free: 1.645 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005416/0.2611, allocations: 218.3 kB / 479.7 MB, free: 1.57 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01679/0.2778, allocations: 9.484 MB / 489.1 MB, free: 8.441 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.375e-05/0.2779, allocations: 23.81 kB / 489.2 MB, free: 8.418 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003743/0.2783, allocations: 111.8 kB / 489.3 MB, free: 8.309 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004156/0.2824, allocations: 2.373 MB / 491.6 MB, free: 5.93 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01906/0.3015, allocations: 8.67 MB / 0.4886 GB, free: 13.25 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0431/0.3446, allocations: 26.54 MB / 0.5145 GB, free: 1.949 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004842/0.3494, allocations: 2.1 MB / 0.5165 GB, free: 15.84 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001411/0.3509, allocations: 0.8984 MB / 0.5174 GB, free: 14.95 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008699/0.3596, allocations: 3.926 MB / 0.5213 GB, free: 10.99 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.198e-05/0.3596, allocations: 39.22 kB / 0.5213 GB, free: 10.95 MB / 430.1 MB Notification: Performance of pre-optimization done (n=126): time 5.841e-06/0.3596, allocations: 3.938 kB / 0.5213 GB, free: 10.94 MB / 430.1 MB Notification: Performance of matching and sorting (n=126): time 0.00674/0.3663, allocations: 2.858 MB / 0.5241 GB, free: 8.078 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.108e-05/0.3664, allocations: 60.06 kB / 0.5241 GB, free: 8.004 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004002/0.3704, allocations: 2.616 MB / 0.5267 GB, free: 5.352 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001273/0.3705, allocations: 44.69 kB / 0.5267 GB, free: 5.305 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00212/0.3727, allocations: 2.743 MB / 0.5294 GB, free: 2.531 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005721/0.3732, allocations: 0.504 MB / 0.5299 GB, free: 2.023 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001259/0.3745, allocations: 0.8896 MB / 0.5308 GB, free: 1.121 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002269/0.3747, allocations: 353.9 kB / 0.5311 GB, free: 0.7695 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002042/0.3768, allocations: 1.352 MB / 0.5324 GB, free: 15.41 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004539/0.3813, allocations: 4.114 MB / 0.5365 GB, free: 9.906 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00784/0.3891, allocations: 5.964 MB / 0.5423 GB, free: 2.566 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.936e-05/0.3892, allocations: 31.98 kB / 0.5423 GB, free: 2.535 MB / 446.1 MB Notification: Performance of matching and sorting (n=588) (initialization): time 0.009896/0.3991, allocations: 5.285 MB / 0.5475 GB, free: 13.24 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.975e-05/0.3992, allocations: 46.66 kB / 0.5475 GB, free: 13.2 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001184/0.3993, allocations: 100 kB / 0.5476 GB, free: 13.1 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001441/0.3995, allocations: 132.1 kB / 0.5477 GB, free: 12.97 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002867/0.4023, allocations: 0.9747 MB / 0.5487 GB, free: 12 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001555/0.4025, allocations: 195.3 kB / 0.5489 GB, free: 11.8 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002824/0.4053, allocations: 0.6049 MB / 0.5495 GB, free: 11.2 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004328/0.4057, allocations: 276 kB / 0.5497 GB, free: 10.93 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.003615/0.4093, allocations: 1.896 MB / 0.5516 GB, free: 9.016 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003587/0.4097, allocations: 214.5 kB / 0.5518 GB, free: 8.805 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004876/0.4102, allocations: 266.3 kB / 0.552 GB, free: 8.543 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.199e-05/0.4102, allocations: 16 kB / 0.5521 GB, free: 8.527 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.278e-06/0.4102, allocations: 0 / 0.5521 GB, free: 8.527 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.102e-05/0.4102, allocations: 3.984 kB / 0.5521 GB, free: 8.523 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007806/0.4181, allocations: 4.317 MB / 0.5563 GB, free: 4.109 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.358e-06/0.4181, allocations: 4 kB / 0.5563 GB, free: 4.105 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005974/0.4187, allocations: 143.7 kB / 0.5564 GB, free: 3.965 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.211e-05/0.4187, allocations: 8 kB / 0.5564 GB, free: 3.957 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.525e-05/0.4187, allocations: 23.98 kB / 0.5565 GB, free: 3.934 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.11e-05/0.4187, allocations: 8 kB / 0.5565 GB, free: 3.926 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.388e-06/0.4188, allocations: 7.938 kB / 0.5565 GB, free: 3.918 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002386/0.4211, allocations: 1.778 MB / 0.5582 GB, free: 2.059 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004844/0.4216, allocations: 214.2 kB / 0.5584 GB, free: 1.848 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002162/0.4218, allocations: 19.94 kB / 0.5584 GB, free: 1.828 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005884/0.4224, allocations: 43.94 kB / 0.5585 GB, free: 1.785 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000153/0.4226, allocations: 64.28 kB / 0.5585 GB, free: 1.723 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001413/0.4227, allocations: 43.98 kB / 0.5586 GB, free: 1.68 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.00227/0.425, allocations: 1.467 MB / 0.56 GB, free: 200 kB / 462.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.425, allocations: 0 / 0.56 GB, free: 200 kB / 462.1 MB Notification: Performance of remove unused functions: time 0.003914/0.4289, allocations: 1.012 MB / 0.561 GB, free: 15.18 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.0003977/0.4293, allocations: 142.9 kB / 0.5611 GB, free: 15.03 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.004769/0.4341, allocations: 3.015 MB / 0.5641 GB, free: 12.04 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 8.005e-06/0.4341, allocations: 4 kB / 0.5641 GB, free: 12.04 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008896/0.435, allocations: 0.6914 MB / 0.5648 GB, free: 11.35 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001122/0.4361, allocations: 172.3 kB / 0.5649 GB, free: 11.18 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01208/0.4482, allocations: 7.229 MB / 0.572 GB, free: 3.852 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003234/0.4514, allocations: 2.418 MB / 0.5743 GB, free: 1.402 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.003081/0.4545, allocations: 1.464 MB / 0.5758 GB, free: 15.93 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003893/0.4549, allocations: 148.5 kB / 0.5759 GB, free: 15.79 MB / 494.1 MB Notification: Performance of SimCode: time 1.042e-06/0.4549, allocations: 0 / 0.5759 GB, free: 15.79 MB / 494.1 MB Notification: Performance of Templates: time 0.03488/0.4898, allocations: 11.93 MB / 0.5876 GB, free: 4.133 MB / 494.1 MB " [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: 5.73253557831049]