Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.0009902/0.0009902, allocations: 80.92 kB / 21.49 MB, free: 2.996 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.001072/0.001072, allocations: 169.9 kB / 24.91 MB, free: 8.723 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 1.031/1.031, allocations: 177.1 MB / 205.3 MB, free: 5.102 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2648/0.2648, allocations: 34.26 MB / 296.1 MB, free: 0.6719 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.1.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.1.0_ModelicaTest.MultiBody.Visualizers.Torus") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.864e-06/1.864e-06, allocations: 0 / 325.3 MB, free: 7.695 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.052e-05/2.238e-05, allocations: 3.156 kB / 325.3 MB, free: 7.691 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Torus): time 0.009037/0.00906, allocations: 10.58 MB / 335.8 MB, free: 13.05 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.00533/0.01439, allocations: 2.885 MB / 338.7 MB, free: 10.16 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001039/0.01543, allocations: 63.81 kB / 338.8 MB, free: 10.1 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001661/0.01709, allocations: 1.377 MB / 340.2 MB, free: 8.715 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00181/0.0189, allocations: 1.291 MB / 341.5 MB, free: 7.418 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000218/0.01912, allocations: 87.7 kB / 341.6 MB, free: 7.332 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.002715/0.02183, allocations: 2.781 MB / 344.3 MB, free: 4.543 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00185/0.02368, allocations: 1.793 MB / 346.1 MB, free: 2.703 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001667/0.02535, allocations: 1.555 MB / 347.7 MB, free: 1.145 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001784/0.02713, allocations: 1.426 MB / 349.1 MB, free: 15.71 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003801/0.02752, allocations: 208 kB / 349.3 MB, free: 15.51 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008183/0.02833, allocations: 487.4 kB / 349.8 MB, free: 15.04 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001057/0.02939, allocations: 1.476 MB / 351.3 MB, free: 13.55 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0008839/0.03027, allocations: 0.8677 MB / 352.1 MB, free: 12.68 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003114/0.03339, allocations: 3.353 MB / 355.5 MB, free: 9.316 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.719e-06/0.03339, allocations: 0 / 355.5 MB, free: 9.316 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.493e-06/0.03339, allocations: 0 / 355.5 MB, free: 9.316 MB / 330.7 MB Notification: Performance of Transformations before backend: time 9.008e-05/0.03348, allocations: 0 / 355.5 MB, free: 9.316 MB / 330.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.003702/0.03719, allocations: 3.404 MB / 358.9 MB, free: 5.867 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.495e-05/0.03722, allocations: 8.031 kB / 358.9 MB, free: 5.859 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004519/0.04174, allocations: 1.284 MB / 360.2 MB, free: 4.574 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001572/0.04331, allocations: 1.156 MB / 361.3 MB, free: 3.383 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001183/0.04343, allocations: 172.6 kB / 361.5 MB, free: 3.211 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003387/0.04377, allocations: 224.2 kB / 361.7 MB, free: 2.992 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004892/0.04866, allocations: 4.006 MB / 365.7 MB, free: 14.61 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.921e-05/0.04871, allocations: 27.75 kB / 365.8 MB, free: 14.58 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002573/0.04897, allocations: 103.8 kB / 365.9 MB, free: 14.48 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00238/0.05135, allocations: 2.085 MB / 367.9 MB, free: 12.39 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004342/0.05569, allocations: 2.237 MB / 370.2 MB, free: 10.13 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01995/0.07563, allocations: 21.81 MB / 392 MB, free: 3.531 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002311/0.07795, allocations: 1.021 MB / 393 MB, free: 2.5 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003504/0.0783, allocations: 209.4 kB / 393.2 MB, free: 2.293 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004417/0.08271, allocations: 2.7 MB / 395.9 MB, free: 15.57 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.856e-05/0.08274, allocations: 39.22 kB / 395.9 MB, free: 15.52 MB / 378.7 MB Notification: Performance of pre-optimization done (n=126): time 2.805e-06/0.08274, allocations: 0 / 395.9 MB, free: 15.52 MB / 378.7 MB Notification: Performance of matching and sorting (n=126): time 0.003144/0.08589, allocations: 1.242 MB / 397.2 MB, free: 14.28 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.1e-05/0.08592, allocations: 60.06 kB / 397.2 MB, free: 14.21 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001274/0.08719, allocations: 1.912 MB / 399.2 MB, free: 12.26 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 4.27e-05/0.08724, allocations: 37.7 kB / 399.2 MB, free: 12.21 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001039/0.08827, allocations: 2.678 MB / 401.9 MB, free: 9.508 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002267/0.0885, allocations: 0.4922 MB / 402.4 MB, free: 9.012 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005939/0.0891, allocations: 0.8345 MB / 403.2 MB, free: 8.164 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 9.79e-05/0.08919, allocations: 357.8 kB / 403.6 MB, free: 7.809 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003577/0.08955, allocations: 324.6 kB / 403.9 MB, free: 7.484 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001804/0.09135, allocations: 3.107 MB / 407 MB, free: 2.988 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002639/0.09399, allocations: 4.053 MB / 411 MB, free: 13.56 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.807e-05/0.09402, allocations: 32 kB / 411.1 MB, free: 13.53 MB / 394.7 MB Notification: Performance of matching and sorting (n=588) (initialization): time 0.00273/0.09675, allocations: 2.892 MB / 414 MB, free: 10.63 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.61e-05/0.0968, allocations: 50.34 kB / 414 MB, free: 10.59 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.822e-05/0.09686, allocations: 96 kB / 414.1 MB, free: 10.49 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.011e-05/0.09694, allocations: 128 kB / 414.2 MB, free: 10.37 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001523/0.09846, allocations: 0.9949 MB / 415.2 MB, free: 9.371 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.464e-05/0.09854, allocations: 191.3 kB / 415.4 MB, free: 9.184 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001315/0.09986, allocations: 0.5893 MB / 416 MB, free: 8.59 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002023/0.1001, allocations: 236 kB / 416.2 MB, free: 8.359 MB / 394.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.0009021/0.101, allocations: 480.8 kB / 416.7 MB, free: 7.875 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001307/0.1011, allocations: 131.8 kB / 416.8 MB, free: 7.746 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001936/0.1013, allocations: 218.3 kB / 417 MB, free: 7.531 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.85e-05/0.1013, allocations: 16 kB / 417 MB, free: 7.516 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.652e-06/0.1013, allocations: 8 kB / 417.1 MB, free: 7.508 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.552e-06/0.1013, allocations: 3.984 kB / 417.1 MB, free: 7.504 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002669/0.104, allocations: 2.476 MB / 419.5 MB, free: 4.938 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.899e-06/0.104, allocations: 8.062 kB / 419.5 MB, free: 4.93 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002912/0.1043, allocations: 127.8 kB / 419.7 MB, free: 4.805 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.255e-06/0.1043, allocations: 11.94 kB / 419.7 MB, free: 4.793 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.653e-05/0.1043, allocations: 19.98 kB / 419.7 MB, free: 4.773 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.563e-06/0.1043, allocations: 11.94 kB / 419.7 MB, free: 4.762 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.477e-06/0.1043, allocations: 4 kB / 419.7 MB, free: 4.758 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000623/0.105, allocations: 0.7492 MB / 420.5 MB, free: 3.938 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001448/0.1051, allocations: 198.3 kB / 420.7 MB, free: 3.742 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001055/0.1052, allocations: 27.94 kB / 420.7 MB, free: 3.715 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002394/0.1055, allocations: 16 kB / 420.7 MB, free: 3.699 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.424e-05/0.1055, allocations: 64.28 kB / 420.8 MB, free: 3.637 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.638e-05/0.1056, allocations: 39.97 kB / 420.8 MB, free: 3.598 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0005507/0.1061, allocations: 0.7211 MB / 421.5 MB, free: 2.855 MB / 394.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1061, allocations: 0 / 421.5 MB, free: 2.855 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.002144/0.1083, allocations: 1.016 MB / 422.5 MB, free: 1.836 MB / 394.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.0002689/0.1085, allocations: 128.1 kB / 422.7 MB, free: 1.703 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001547/0.1101, allocations: 1.645 MB / 424.3 MB, free: 68 kB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 9.422e-05/0.1102, allocations: 55.94 kB / 424.4 MB, free: 4 kB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002454/0.1104, allocations: 223.4 kB / 424.6 MB, free: 15.78 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005917/0.111, allocations: 186.4 kB / 424.8 MB, free: 15.59 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007498/0.1185, allocations: 6.356 MB / 431.1 MB, free: 9.121 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001011/0.1195, allocations: 1.035 MB / 432.2 MB, free: 8.062 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0008514/0.1204, allocations: 336.8 kB / 432.5 MB, free: 7.73 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004053/0.1208, allocations: 331.3 kB / 432.8 MB, free: 7.406 MB / 410.7 MB Notification: Performance of SimCode: time 2.304e-06/0.1208, allocations: 0 / 432.8 MB, free: 7.406 MB / 410.7 MB Notification: Performance of Templates: time 0.02775/0.1485, allocations: 13.64 MB / 446.5 MB, free: 9.961 MB / 426.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Visualizers.Torus.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Visualizers.Torus.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.MultiBody.Visualizers.Torus.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.MultiBody.Visualizers.Torus.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Visualizers.Torus.sim & ./ModelicaTest_4.1.0_ModelicaTest.MultiBody.Visualizers.Torus -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.MultiBody.Visualizers.Torus.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_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: 3.648106533102691]