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.0009726/0.0009726, allocations: 80.8 kB / 21.5 MB, free: 2.992 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.0009875/0.0009875, allocations: 170.2 kB / 24.92 MB, free: 8.727 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.9426/0.9426, 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.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.257/0.257, allocations: 32.8 MB / 294.6 MB, free: 1.219 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.182e-06/1.182e-06, allocations: 0 / 323.2 MB, free: 9.754 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.43e-05/1.548e-05, allocations: 5.578 kB / 323.2 MB, free: 9.75 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Torus): time 0.007517/0.007532, allocations: 10.53 MB / 333.7 MB, free: 15.16 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.003806/0.01134, allocations: 2.88 MB / 336.6 MB, free: 12.27 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004877/0.01183, allocations: 63.81 kB / 336.7 MB, free: 12.2 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001385/0.01321, allocations: 1.409 MB / 338.1 MB, free: 10.79 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001307/0.01452, allocations: 1.295 MB / 339.4 MB, free: 9.488 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001599/0.01468, allocations: 87.7 kB / 339.5 MB, free: 9.402 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.001781/0.01646, allocations: 2.776 MB / 342.2 MB, free: 6.621 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001243/0.0177, allocations: 1.793 MB / 344 MB, free: 4.781 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00114/0.01884, allocations: 1.559 MB / 345.6 MB, free: 3.219 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001159/0.02, allocations: 1.418 MB / 347 MB, free: 1.797 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001775/0.02018, allocations: 212 kB / 347.2 MB, free: 1.59 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004892/0.02067, allocations: 475.4 kB / 347.7 MB, free: 1.125 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0007363/0.0214, allocations: 1.48 MB / 349.2 MB, free: 15.64 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005621/0.02197, allocations: 0.8599 MB / 350 MB, free: 14.78 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002026/0.02399, allocations: 3.357 MB / 353.4 MB, free: 11.41 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.444e-06/0.024, allocations: 0 / 353.4 MB, free: 11.41 MB / 330.7 MB Notification: Performance of FrontEnd: time 7.82e-07/0.024, allocations: 0 / 353.4 MB, free: 11.41 MB / 330.7 MB Notification: Performance of Transformations before backend: time 2.498e-05/0.02402, allocations: 0 / 353.4 MB, free: 11.41 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.002474/0.02649, allocations: 3.404 MB / 356.8 MB, free: 7.957 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.858e-05/0.02652, allocations: 8.031 kB / 356.8 MB, free: 7.949 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002984/0.02951, allocations: 1.288 MB / 358.1 MB, free: 6.66 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001137/0.03064, allocations: 1.153 MB / 359.2 MB, free: 5.473 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.407e-05/0.03074, allocations: 172.6 kB / 359.4 MB, free: 5.301 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000262/0.031, allocations: 228.1 kB / 359.6 MB, free: 5.078 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003444/0.03444, allocations: 3.998 MB / 363.6 MB, free: 0.6992 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.801e-05/0.03448, allocations: 23.75 kB / 363.6 MB, free: 0.6758 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001998/0.03468, allocations: 107.8 kB / 363.8 MB, free: 0.5703 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001668/0.03635, allocations: 2.092 MB / 365.8 MB, free: 14.48 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00279/0.03914, allocations: 2.238 MB / 368.1 MB, free: 12.22 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0144/0.05354, allocations: 21.81 MB / 389.9 MB, free: 5.613 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001638/0.05518, allocations: 1.025 MB / 390.9 MB, free: 4.578 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002537/0.05544, allocations: 204.9 kB / 391.1 MB, free: 4.375 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00341/0.05885, allocations: 2.684 MB / 393.8 MB, free: 1.668 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.407e-05/0.05887, allocations: 43.22 kB / 393.8 MB, free: 1.617 MB / 362.7 MB Notification: Performance of pre-optimization done (n=126): time 2.304e-06/0.05887, allocations: 4 kB / 393.8 MB, free: 1.613 MB / 362.7 MB Notification: Performance of matching and sorting (n=126): time 0.002255/0.06113, allocations: 1.242 MB / 395.1 MB, free: 376 kB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.881e-05/0.06116, allocations: 60.06 kB / 395.1 MB, free: 304 kB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001156/0.06231, allocations: 1.924 MB / 397.1 MB, free: 14.34 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 4.12e-05/0.06235, allocations: 37.7 kB / 397.1 MB, free: 14.29 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009712/0.06333, allocations: 2.674 MB / 399.8 MB, free: 11.59 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002331/0.06356, allocations: 0.4922 MB / 400.3 MB, free: 11.09 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006068/0.06417, allocations: 0.8345 MB / 401.1 MB, free: 10.25 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 8.718e-05/0.06425, allocations: 353.8 kB / 401.5 MB, free: 9.895 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003678/0.06462, allocations: 324.6 kB / 401.8 MB, free: 9.57 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001564/0.06618, allocations: 3.107 MB / 404.9 MB, free: 5.074 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002417/0.0686, allocations: 4.057 MB / 408.9 MB, free: 15.64 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.513e-05/0.06863, allocations: 28 kB / 409 MB, free: 15.62 MB / 394.7 MB Notification: Performance of matching and sorting (n=588) (initialization): time 0.002474/0.0711, allocations: 2.888 MB / 411.9 MB, free: 12.72 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.905e-05/0.07114, allocations: 48 kB / 411.9 MB, free: 12.68 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.028e-05/0.0712, allocations: 100 kB / 412 MB, free: 12.58 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.062e-05/0.07128, allocations: 128 kB / 412.1 MB, free: 12.45 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001393/0.07267, allocations: 0.9552 MB / 413.1 MB, free: 11.5 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.633e-05/0.07276, allocations: 191.2 kB / 413.3 MB, free: 11.31 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00117/0.07393, allocations: 0.5859 MB / 413.8 MB, free: 10.72 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001834/0.07411, allocations: 244 kB / 414.1 MB, free: 10.48 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.0006567/0.07477, allocations: 476.8 kB / 414.6 MB, free: 10 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001193/0.07489, allocations: 131.8 kB / 414.7 MB, free: 9.871 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001817/0.07507, allocations: 222.3 kB / 414.9 MB, free: 9.652 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.525e-05/0.07509, allocations: 16 kB / 414.9 MB, free: 9.637 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.619e-06/0.07509, allocations: 0 / 414.9 MB, free: 9.637 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.833e-06/0.0751, allocations: 7.969 kB / 414.9 MB, free: 9.629 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002532/0.07763, allocations: 2.479 MB / 417.4 MB, free: 7.059 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.25e-06/0.07764, allocations: 4 kB / 417.4 MB, free: 7.055 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002551/0.07789, allocations: 116.4 kB / 417.5 MB, free: 6.941 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.434e-06/0.0779, allocations: 11.94 kB / 417.5 MB, free: 6.93 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.12e-05/0.07793, allocations: 23.98 kB / 417.6 MB, free: 6.906 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.082e-06/0.07793, allocations: 11.98 kB / 417.6 MB, free: 6.895 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.699e-06/0.07794, allocations: 7.938 kB / 417.6 MB, free: 6.887 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005725/0.07851, allocations: 0.7532 MB / 418.3 MB, free: 6.062 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000135/0.07865, allocations: 198.3 kB / 418.5 MB, free: 5.867 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001075/0.07875, allocations: 19.94 kB / 418.5 MB, free: 5.848 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002328/0.07899, allocations: 16 kB / 418.6 MB, free: 5.832 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.066e-05/0.07906, allocations: 68.28 kB / 418.6 MB, free: 5.766 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.984e-05/0.0791, allocations: 32 kB / 418.7 MB, free: 5.734 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0005377/0.07964, allocations: 0.7327 MB / 419.4 MB, free: 4.98 MB / 394.7 MB Notification: Performance of sort global known variables: time 6e-08/0.07964, allocations: 0 / 419.4 MB, free: 4.98 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001724/0.08136, allocations: 1.012 MB / 420.4 MB, free: 3.965 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.0001998/0.08156, allocations: 128.1 kB / 420.5 MB, free: 3.832 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001254/0.08281, allocations: 1.646 MB / 422.2 MB, free: 2.199 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 8.083e-05/0.08289, allocations: 59.94 kB / 422.2 MB, free: 2.133 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000207/0.0831, allocations: 225.8 kB / 422.4 MB, free: 1.898 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005011/0.0836, allocations: 178.8 kB / 422.6 MB, free: 1.723 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005435/0.08904, allocations: 6.352 MB / 429 MB, free: 11.25 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007668/0.0898, allocations: 1.047 MB / 430 MB, free: 10.18 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0006483/0.09045, allocations: 328.8 kB / 430.3 MB, free: 9.859 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003547/0.09081, allocations: 335.3 kB / 430.7 MB, free: 9.531 MB / 410.7 MB Notification: Performance of SimCode: time 7.21e-07/0.09081, allocations: 0 / 430.7 MB, free: 9.531 MB / 410.7 MB Notification: Performance of Templates: time 0.02407/0.1149, allocations: 13.65 MB / 444.3 MB, free: 12.09 MB / 426.7 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=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Torus.pipe 2>&1) [Timeout 240] 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","",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.503564393147826]