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.0009678/0.0009678, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001263/0.002231, allocations: 449.7 kB / 10.37 MB, free: 328 kB / 10.45 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.000777/0.000777, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009812/0.001758, allocations: 455.6 kB / 11.71 MB, free: 2.461 MB / 13.93 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.079/1.079, allocations: 177.2 MB / 189.6 MB, free: 5.309 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1322/1.211, allocations: 53.64 MB / 243.3 MB, free: 15.58 MB / 250.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.2936/0.2936, allocations: 32.81 MB / 276.8 MB, free: 15.84 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.03142/0.325, allocations: 12.53 MB / 289.3 MB, free: 8.66 MB / 282.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.765e-06/2.765e-06, allocations: 0 / 290.6 MB, free: 7.66 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.139e-05/2.416e-05, allocations: 8.141 kB / 290.6 MB, free: 7.652 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Torus): time 0.01261/0.01264, allocations: 10.67 MB / 301.3 MB, free: 13.6 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.005844/0.01848, allocations: 2.892 MB / 304.1 MB, free: 10.7 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000818/0.0193, allocations: 63.81 kB / 304.2 MB, free: 10.63 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002222/0.02152, allocations: 1.377 MB / 305.6 MB, free: 9.25 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002487/0.02401, allocations: 1.306 MB / 306.9 MB, free: 7.938 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002544/0.02426, allocations: 83.77 kB / 307 MB, free: 7.855 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.00262/0.02688, allocations: 2.792 MB / 309.8 MB, free: 5.059 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001755/0.02864, allocations: 1.649 MB / 311.4 MB, free: 3.359 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002067/0.0307, allocations: 1.61 MB / 313 MB, free: 1.75 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001584/0.03229, allocations: 1.414 MB / 314.4 MB, free: 336 kB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002899/0.03258, allocations: 208 kB / 314.6 MB, free: 128 kB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008175/0.0334, allocations: 483.4 kB / 315.1 MB, free: 15.65 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001098/0.03449, allocations: 1.336 MB / 316.4 MB, free: 14.31 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0009087/0.0354, allocations: 0.7161 MB / 317.2 MB, free: 13.59 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003988/0.03939, allocations: 3.197 MB / 320.4 MB, free: 10.38 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.856e-05/0.03941, allocations: 0 / 320.4 MB, free: 10.38 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.834e-06/0.03941, allocations: 4 kB / 320.4 MB, free: 10.38 MB / 314.7 MB Notification: Performance of Transformations before backend: time 5.574e-05/0.03947, allocations: 0 / 320.4 MB, free: 10.38 MB / 314.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.00454/0.04401, allocations: 4.056 MB / 324.4 MB, free: 6.277 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.666e-05/0.04405, allocations: 12.56 kB / 324.4 MB, free: 6.266 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004865/0.04892, allocations: 1.348 MB / 325.8 MB, free: 4.898 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002514/0.05143, allocations: 1.149 MB / 326.9 MB, free: 3.719 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001326/0.05157, allocations: 176.6 kB / 327.1 MB, free: 3.543 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003906/0.05196, allocations: 224.2 kB / 327.3 MB, free: 3.324 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007912/0.05987, allocations: 4.009 MB / 331.3 MB, free: 14.93 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.506e-05/0.05992, allocations: 19.75 kB / 331.4 MB, free: 14.91 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002833/0.06021, allocations: 103.8 kB / 331.5 MB, free: 14.81 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002854/0.06306, allocations: 2.096 MB / 333.5 MB, free: 12.71 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00507/0.06813, allocations: 2.251 MB / 335.8 MB, free: 10.45 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02363/0.09176, allocations: 21.82 MB / 357.6 MB, free: 3.832 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001803/0.09357, allocations: 0.9977 MB / 358.6 MB, free: 2.824 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000276/0.09384, allocations: 216.9 kB / 358.8 MB, free: 2.609 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003521/0.09737, allocations: 2.622 MB / 361.5 MB, free: 15.96 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.848e-05/0.09742, allocations: 43.2 kB / 361.5 MB, free: 15.91 MB / 362.7 MB Notification: Performance of pre-optimization done (n=126): time 2.966e-06/0.09743, allocations: 0 / 361.5 MB, free: 15.91 MB / 362.7 MB Notification: Performance of matching and sorting (n=126): time 0.00234/0.09977, allocations: 1.21 MB / 362.7 MB, free: 14.7 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.92e-05/0.09981, allocations: 60.06 kB / 362.8 MB, free: 14.63 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001317/0.1011, allocations: 1.916 MB / 364.7 MB, free: 12.68 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 4.033e-05/0.1012, allocations: 33.7 kB / 364.7 MB, free: 12.64 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001151/0.1023, allocations: 2.678 MB / 367.4 MB, free: 9.93 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002716/0.1026, allocations: 0.5 MB / 367.9 MB, free: 9.426 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006466/0.1032, allocations: 0.8384 MB / 368.7 MB, free: 8.574 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.000116/0.1033, allocations: 349.9 kB / 369.1 MB, free: 8.227 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003618/0.1037, allocations: 336.6 kB / 369.4 MB, free: 7.891 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002024/0.1057, allocations: 3.095 MB / 372.5 MB, free: 3.406 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003192/0.1089, allocations: 4.065 MB / 376.6 MB, free: 13.97 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.952e-05/0.109, allocations: 32 kB / 376.6 MB, free: 13.94 MB / 378.7 MB Notification: Performance of matching and sorting (n=588) (initialization): time 0.002896/0.1119, allocations: 2.884 MB / 379.5 MB, free: 11.05 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.869e-05/0.1119, allocations: 48.94 kB / 379.5 MB, free: 11 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.462e-05/0.112, allocations: 99.94 kB / 379.6 MB, free: 10.91 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.581e-05/0.1121, allocations: 136 kB / 379.8 MB, free: 10.77 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001616/0.1137, allocations: 1.061 MB / 380.8 MB, free: 9.711 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001025/0.1138, allocations: 187.3 kB / 381 MB, free: 9.527 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001655/0.1154, allocations: 0.5777 MB / 381.6 MB, free: 8.945 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002079/0.1156, allocations: 244 kB / 381.8 MB, free: 8.707 MB / 378.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.0008917/0.1165, allocations: 476.8 kB / 382.3 MB, free: 8.227 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001394/0.1167, allocations: 135.8 kB / 382.4 MB, free: 8.094 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002092/0.1169, allocations: 222.3 kB / 382.6 MB, free: 7.875 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.723e-05/0.1169, allocations: 16 kB / 382.6 MB, free: 7.859 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.042e-05/0.1169, allocations: 0 / 382.6 MB, free: 7.859 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.065e-06/0.1169, allocations: 3.984 kB / 382.6 MB, free: 7.855 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003049/0.12, allocations: 2.46 MB / 385.1 MB, free: 5.301 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.133e-06/0.12, allocations: 4 kB / 385.1 MB, free: 5.297 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000302/0.1203, allocations: 135.8 kB / 385.2 MB, free: 5.164 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001724/0.1204, allocations: 210.2 kB / 385.4 MB, free: 4.957 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.236e-06/0.1205, allocations: 8 kB / 385.5 MB, free: 4.949 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.714e-05/0.1205, allocations: 16 kB / 385.5 MB, free: 4.934 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.394e-06/0.1205, allocations: 11.94 kB / 385.5 MB, free: 4.922 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.961e-06/0.1205, allocations: 7.984 kB / 385.5 MB, free: 4.914 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006134/0.1211, allocations: 0.7493 MB / 386.2 MB, free: 4.098 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001211/0.1212, allocations: 31.92 kB / 386.3 MB, free: 4.066 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002272/0.1215, allocations: 12 kB / 386.3 MB, free: 4.055 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.728e-05/0.1215, allocations: 64.28 kB / 386.3 MB, free: 3.992 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.379e-05/0.1216, allocations: 35.98 kB / 386.4 MB, free: 3.957 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0005517/0.1221, allocations: 0.7249 MB / 387.1 MB, free: 3.211 MB / 378.7 MB Notification: Performance of sort global known variables: time 9e-08/0.1221, allocations: 0 / 387.1 MB, free: 3.211 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.002222/0.1244, allocations: 1.008 MB / 388.1 MB, free: 2.199 MB / 378.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.0002891/0.1247, allocations: 136.1 kB / 388.2 MB, free: 2.055 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001885/0.1265, allocations: 1.641 MB / 389.9 MB, free: 428 kB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0001056/0.1266, allocations: 73.8 kB / 390 MB, free: 352 kB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002217/0.1269, allocations: 222.8 kB / 390.2 MB, free: 124 kB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008156/0.1277, allocations: 320.5 kB / 390.5 MB, free: 15.8 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01002/0.1377, allocations: 6.489 MB / 397 MB, free: 9.199 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008803/0.1386, allocations: 1.035 MB / 398 MB, free: 8.145 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0007496/0.1393, allocations: 336.8 kB / 398.3 MB, free: 7.812 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003795/0.1397, allocations: 331.3 kB / 398.7 MB, free: 7.488 MB / 394.7 MB Notification: Performance of SimCode: time 1.192e-06/0.1397, allocations: 0 / 398.7 MB, free: 7.488 MB / 394.7 MB Notification: Performance of Templates: time 0.02925/0.169, allocations: 13.84 MB / 412.5 MB, free: 9.848 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 -ignoreHideResult -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.9385556131601334]