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.001036/0.001036, allocations: 78.66 kB / 21.42 MB, free: 3.074 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.001196/0.001196, allocations: 170.3 kB / 24.82 MB, free: 9.266 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.047/1.047, allocations: 177.1 MB / 205.3 MB, free: 5.469 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.3184/0.3184, allocations: 34.26 MB / 296.1 MB, free: 0.7344 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.913e-06/1.913e-06, allocations: 0 / 378.5 MB, free: 2.426 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.095e-05/3.286e-05, allocations: 2.312 kB / 378.5 MB, free: 2.422 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Torus): time 0.009977/0.01001, allocations: 10.54 MB / 389 MB, free: 7.828 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.006816/0.01683, allocations: 2.753 MB / 391.8 MB, free: 5.066 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001981/0.01881, allocations: 63.81 kB / 391.8 MB, free: 5.004 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002715/0.02152, allocations: 1.393 MB / 393.2 MB, free: 3.605 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002746/0.02427, allocations: 1.299 MB / 394.5 MB, free: 2.301 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003014/0.02457, allocations: 91.7 kB / 394.6 MB, free: 2.211 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.002903/0.02747, allocations: 2.775 MB / 397.4 MB, free: 15.43 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002099/0.02957, allocations: 1.734 MB / 399.1 MB, free: 13.66 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002719/0.03229, allocations: 1.559 MB / 400.7 MB, free: 12.1 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001959/0.03425, allocations: 1.508 MB / 402.2 MB, free: 10.59 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004005/0.03465, allocations: 208 kB / 402.4 MB, free: 10.38 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009185/0.03557, allocations: 479.3 kB / 402.9 MB, free: 9.914 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001021/0.03659, allocations: 1.48 MB / 404.3 MB, free: 8.43 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001064/0.03765, allocations: 0.8561 MB / 405.2 MB, free: 7.57 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003784/0.04144, allocations: 3.353 MB / 408.5 MB, free: 4.203 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.464e-06/0.04145, allocations: 0 / 408.5 MB, free: 4.203 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.485e-06/0.04145, allocations: 4 kB / 408.6 MB, free: 4.199 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0001135/0.04156, allocations: 0 / 408.6 MB, free: 4.199 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.003683/0.04525, allocations: 3.986 MB / 412.5 MB, free: 160 kB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.371e-05/0.04529, allocations: 8.031 kB / 412.5 MB, free: 152 kB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003587/0.04888, allocations: 1.656 MB / 414.2 MB, free: 14.49 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001777/0.05065, allocations: 1.304 MB / 415.5 MB, free: 13.15 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.101e-05/0.05075, allocations: 172.6 kB / 415.7 MB, free: 12.98 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002749/0.05102, allocations: 220.2 kB / 415.9 MB, free: 12.76 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004226/0.05525, allocations: 4.274 MB / 420.2 MB, free: 7.977 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.902e-05/0.05528, allocations: 19.75 kB / 420.2 MB, free: 7.957 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001876/0.05547, allocations: 107.8 kB / 420.3 MB, free: 7.852 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001933/0.05741, allocations: 2.085 MB / 422.4 MB, free: 5.762 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003785/0.06119, allocations: 2.213 MB / 424.6 MB, free: 3.527 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2337/0.2949, allocations: 28.76 MB / 453.3 MB, free: 74.62 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002381/0.2973, allocations: 0.9731 MB / 454.3 MB, free: 74.58 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003789/0.2977, allocations: 259 kB / 454.6 MB, free: 74.57 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0049/0.3026, allocations: 2.831 MB / 457.4 MB, free: 74.14 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.089e-05/0.3026, allocations: 44.23 kB / 457.4 MB, free: 74.1 MB / 410.7 MB Notification: Performance of pre-optimization done (n=126): time 7.134e-06/0.3026, allocations: 4.375 kB / 457.5 MB, free: 74.1 MB / 410.7 MB Notification: Performance of matching and sorting (n=126): time 0.003074/0.3057, allocations: 1.421 MB / 458.9 MB, free: 73.93 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.104e-05/0.3057, allocations: 59.94 kB / 458.9 MB, free: 73.86 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003238/0.309, allocations: 2.386 MB / 461.3 MB, free: 73.41 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 8.182e-05/0.3091, allocations: 40.41 kB / 461.4 MB, free: 73.38 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001941/0.311, allocations: 2.882 MB / 464.2 MB, free: 71.85 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004924/0.3115, allocations: 0.5393 MB / 464.8 MB, free: 71.52 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001069/0.3126, allocations: 0.989 MB / 465.8 MB, free: 71.3 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.000199/0.3128, allocations: 0.5226 MB / 466.3 MB, free: 70.8 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005668/0.3133, allocations: 347 kB / 466.6 MB, free: 70.79 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00232/0.3157, allocations: 4.463 MB / 471.1 MB, free: 65.36 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00501/0.3207, allocations: 5.383 MB / 476.5 MB, free: 59.69 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001084/0.3208, allocations: 32.97 kB / 476.5 MB, free: 59.68 MB / 410.7 MB Notification: Performance of matching and sorting (n=588) (initialization): time 0.005924/0.3267, allocations: 3.457 MB / 480 MB, free: 58.37 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.523e-05/0.3268, allocations: 46.59 kB / 480 MB, free: 58.37 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.019e-05/0.3268, allocations: 97.94 kB / 480.1 MB, free: 58.37 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000108/0.327, allocations: 129.1 kB / 480.2 MB, free: 58.37 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001759/0.3287, allocations: 0.9533 MB / 481.2 MB, free: 58.25 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001251/0.3288, allocations: 193.2 kB / 481.4 MB, free: 58.2 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002779/0.3316, allocations: 0.5811 MB / 482 MB, free: 57.82 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003546/0.332, allocations: 247.7 kB / 482.2 MB, free: 57.78 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.001843/0.3338, allocations: 0.5157 MB / 482.7 MB, free: 57.35 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003449/0.3342, allocations: 238.6 kB / 482.9 MB, free: 57.22 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002265/0.3344, allocations: 218.5 kB / 483.2 MB, free: 57.09 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.396e-05/0.3344, allocations: 15 kB / 483.2 MB, free: 57.09 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.706e-05/0.3344, allocations: 0 / 483.2 MB, free: 57.09 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.506e-06/0.3344, allocations: 3.328 kB / 483.2 MB, free: 57.09 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005059/0.3395, allocations: 2.804 MB / 486 MB, free: 55.68 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.175e-06/0.3395, allocations: 7.062 kB / 486 MB, free: 55.68 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003178/0.3398, allocations: 116.9 kB / 486.1 MB, free: 55.67 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.285e-05/0.3398, allocations: 8.75 kB / 486.1 MB, free: 55.67 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.878e-05/0.3399, allocations: 22.97 kB / 486.1 MB, free: 55.66 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.298e-05/0.3399, allocations: 16.62 kB / 486.1 MB, free: 55.65 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.951e-06/0.3399, allocations: 3.031 kB / 486.2 MB, free: 55.65 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001403/0.3413, allocations: 1.015 MB / 487.2 MB, free: 54.98 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004654/0.3418, allocations: 210.7 kB / 487.4 MB, free: 54.84 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001621/0.3419, allocations: 23.91 kB / 487.4 MB, free: 54.82 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003175/0.3422, allocations: 14.81 kB / 487.4 MB, free: 54.82 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001035/0.3423, allocations: 72.38 kB / 487.5 MB, free: 54.8 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.045e-05/0.3424, allocations: 40.2 kB / 487.5 MB, free: 54.79 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001308/0.3437, allocations: 0.927 MB / 488.4 MB, free: 54.43 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.3437, allocations: 4.812 kB / 488.5 MB, free: 54.42 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.004698/0.3484, allocations: 1.009 MB / 489.5 MB, free: 54.09 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.0005106/0.3489, allocations: 143.6 kB / 489.6 MB, free: 53.97 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.004342/0.3533, allocations: 1.764 MB / 491.4 MB, free: 53.41 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.119e-05/0.3533, allocations: 0 / 491.4 MB, free: 53.41 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004458/0.3537, allocations: 268.4 kB / 491.6 MB, free: 53.34 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001311/0.355, allocations: 195.9 kB / 491.8 MB, free: 53.22 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01428/0.3693, allocations: 6.132 MB / 498 MB, free: 50.09 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001661/0.371, allocations: 1.056 MB / 499 MB, free: 49.73 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.001234/0.3722, allocations: 337.7 kB / 499.3 MB, free: 49.62 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005003/0.3727, allocations: 363.4 kB / 499.7 MB, free: 49.55 MB / 410.7 MB Notification: Performance of SimCode: time 3.026e-06/0.3727, allocations: 0 / 499.7 MB, free: 49.55 MB / 410.7 MB Notification: Performance of Templates: time 0.03684/0.4096, allocations: 13.67 MB / 0.5013 GB, free: 45.68 MB / 410.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 -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: 4.427806240040809]