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.001441/0.001441, allocations: 83.59 kB / 21.18 MB, free: 3.383 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.001541/0.001541, allocations: 165 kB / 24.56 MB, free: 12 kB / 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.02/1.02, allocations: 177.1 MB / 205 MB, free: 5.621 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.2607/0.2607, allocations: 32.8 MB / 294.3 MB, free: 1.281 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 2.795e-06/2.795e-06, allocations: 0 / 376 MB, free: 4.691 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.51e-05/4.79e-05, allocations: 6.25 kB / 376 MB, free: 4.684 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Torus): time 0.01618/0.01623, allocations: 10.83 MB / 386.8 MB, free: 9.801 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.006915/0.02314, allocations: 2.772 MB / 389.6 MB, free: 7.02 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001263/0.0244, allocations: 63.81 kB / 389.7 MB, free: 6.957 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001932/0.02634, allocations: 1.405 MB / 391.1 MB, free: 5.547 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001912/0.02825, allocations: 1.295 MB / 392.4 MB, free: 4.246 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000255/0.0285, allocations: 87.7 kB / 392.4 MB, free: 4.16 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.002396/0.0309, allocations: 2.779 MB / 395.2 MB, free: 1.371 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002029/0.03293, allocations: 1.73 MB / 397 MB, free: 15.61 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0017/0.03463, allocations: 1.551 MB / 398.5 MB, free: 14.05 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002009/0.03664, allocations: 1.508 MB / 400 MB, free: 12.54 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005244/0.03716, allocations: 208 kB / 400.2 MB, free: 12.34 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008653/0.03803, allocations: 475.3 kB / 400.7 MB, free: 11.87 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0009991/0.03903, allocations: 1.476 MB / 402.2 MB, free: 10.39 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001076/0.0401, allocations: 0.86 MB / 403 MB, free: 9.527 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003157/0.04326, allocations: 3.357 MB / 406.4 MB, free: 6.156 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.372e-06/0.04327, allocations: 0 / 406.4 MB, free: 6.156 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.643e-06/0.04327, allocations: 0 / 406.4 MB, free: 6.156 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0001213/0.04339, allocations: 0 / 406.4 MB, free: 6.156 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.004027/0.04742, allocations: 3.979 MB / 410.4 MB, free: 2.121 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.603e-05/0.04746, allocations: 8.031 kB / 410.4 MB, free: 2.113 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005724/0.05319, allocations: 3.438 MB / 413.8 MB, free: 14.67 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001725/0.05491, allocations: 1.452 MB / 415.3 MB, free: 13.18 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000417/0.05533, allocations: 176.6 kB / 415.4 MB, free: 13 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002597/0.05559, allocations: 224.2 kB / 415.6 MB, free: 12.79 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004944/0.06053, allocations: 4.662 MB / 420.3 MB, free: 7.613 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.265e-05/0.06057, allocations: 23.75 kB / 420.3 MB, free: 7.59 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000208/0.06078, allocations: 111.8 kB / 420.4 MB, free: 7.48 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002517/0.0633, allocations: 2.369 MB / 422.8 MB, free: 5.105 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004714/0.06801, allocations: 2.759 MB / 425.6 MB, free: 2.336 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.214/0.282, allocations: 29.06 MB / 454.6 MB, free: 74.9 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002308/0.2843, allocations: 1.041 MB / 455.7 MB, free: 74.86 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003937/0.2847, allocations: 304.9 kB / 456 MB, free: 74.85 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004058/0.2887, allocations: 3.013 MB / 459 MB, free: 74.41 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.671e-05/0.2888, allocations: 40.73 kB / 459 MB, free: 74.37 MB / 410.7 MB Notification: Performance of pre-optimization done (n=126): time 3.517e-06/0.2888, allocations: 0 / 459 MB, free: 74.37 MB / 410.7 MB Notification: Performance of matching and sorting (n=126): time 0.00268/0.2915, allocations: 1.506 MB / 460.5 MB, free: 74.2 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.466e-05/0.2915, allocations: 69.12 kB / 460.6 MB, free: 74.13 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001917/0.2934, allocations: 2.401 MB / 463 MB, free: 73.68 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.662e-05/0.2934, allocations: 40.39 kB / 463 MB, free: 73.65 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009385/0.2944, allocations: 2.869 MB / 465.9 MB, free: 72.12 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002283/0.2946, allocations: 0.5301 MB / 466.4 MB, free: 71.83 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006543/0.2953, allocations: 0.9697 MB / 467.4 MB, free: 71.54 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 7.271e-05/0.2953, allocations: 0.5173 MB / 467.9 MB, free: 71.04 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006099/0.2959, allocations: 444.2 kB / 468.4 MB, free: 70.98 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001708/0.2976, allocations: 4.536 MB / 472.9 MB, free: 65.41 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003065/0.3007, allocations: 5.487 MB / 478.4 MB, free: 59.45 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.666e-05/0.3007, allocations: 26.59 kB / 478.4 MB, free: 59.45 MB / 410.7 MB Notification: Performance of matching and sorting (n=588) (initialization): time 0.003869/0.3046, allocations: 3.706 MB / 482.1 MB, free: 58.01 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.585e-05/0.3047, allocations: 48.25 kB / 482.2 MB, free: 58.01 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.187e-05/0.3047, allocations: 98.66 kB / 482.3 MB, free: 58.01 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.457e-05/0.3048, allocations: 127.5 kB / 482.4 MB, free: 58.01 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001447/0.3063, allocations: 0.9799 MB / 483.4 MB, free: 57.89 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001085/0.3064, allocations: 193.7 kB / 483.5 MB, free: 57.84 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001314/0.3077, allocations: 0.6065 MB / 484.2 MB, free: 57.46 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002032/0.3079, allocations: 277.5 kB / 484.4 MB, free: 57.43 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.0007601/0.3087, allocations: 0.5203 MB / 484.9 MB, free: 57 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001494/0.3088, allocations: 234.5 kB / 485.2 MB, free: 56.87 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001581/0.309, allocations: 220.3 kB / 485.4 MB, free: 56.73 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.747e-05/0.309, allocations: 14.94 kB / 485.4 MB, free: 56.73 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.099e-05/0.309, allocations: 7.188 kB / 485.4 MB, free: 56.73 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.722e-06/0.309, allocations: 6.469 kB / 485.4 MB, free: 56.73 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004052/0.3131, allocations: 3.82 MB / 489.2 MB, free: 54.96 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.761e-06/0.3131, allocations: 3.969 kB / 489.2 MB, free: 54.96 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003069/0.3134, allocations: 138.3 kB / 489.4 MB, free: 54.94 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.033e-05/0.3134, allocations: 10.23 kB / 489.4 MB, free: 54.94 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.719e-05/0.3134, allocations: 23.02 kB / 489.4 MB, free: 54.93 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.215e-06/0.3134, allocations: 12.72 kB / 489.4 MB, free: 54.93 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.789e-06/0.3134, allocations: 8.906 kB / 489.4 MB, free: 54.93 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009325/0.3144, allocations: 1.069 MB / 490.5 MB, free: 54.23 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001444/0.3145, allocations: 204.8 kB / 490.7 MB, free: 54.09 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001207/0.3146, allocations: 24.5 kB / 490.7 MB, free: 54.08 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002767/0.3149, allocations: 39.06 kB / 490.8 MB, free: 54.07 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.575e-05/0.315, allocations: 67.3 kB / 490.8 MB, free: 54.05 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.073e-05/0.315, allocations: 37.41 kB / 490.9 MB, free: 54.05 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001029/0.3161, allocations: 0.9983 MB / 491.9 MB, free: 53.66 MB / 410.7 MB Notification: Performance of sort global known variables: time 8e-08/0.3161, allocations: 4 kB / 491.9 MB, free: 53.66 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.002108/0.3182, allocations: 1.014 MB / 492.9 MB, free: 53.32 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.0002434/0.3184, allocations: 146.8 kB / 493 MB, free: 53.2 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001945/0.3204, allocations: 1.866 MB / 494.9 MB, free: 52.61 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.117e-06/0.3204, allocations: 1.375 kB / 494.9 MB, free: 52.61 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003095/0.3207, allocations: 302.6 kB / 495.2 MB, free: 52.52 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005651/0.3212, allocations: 185.2 kB / 495.4 MB, free: 52.41 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006102/0.3273, allocations: 6.142 MB / 0.4898 GB, free: 49.29 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006621/0.328, allocations: 1.052 MB / 0.4908 GB, free: 48.93 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.00151/0.3295, allocations: 1.25 MB / 0.492 GB, free: 48.82 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002368/0.3298, allocations: 149.1 kB / 0.4921 GB, free: 48.81 MB / 410.7 MB Notification: Performance of SimCode: time 1.563e-06/0.3298, allocations: 0 / 0.4921 GB, free: 48.81 MB / 410.7 MB Notification: Performance of Templates: time 0.02602/0.3558, allocations: 12.44 MB / 0.5043 GB, free: 44.7 MB / 410.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.9437733278609812]