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.0008749/0.0008749, 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.0009626/0.0009626, 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 0.9857/0.9857, allocations: 177.1 MB / 205.3 MB, free: 5.098 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.256/0.256, allocations: 32.8 MB / 294.6 MB, free: 1.203 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.102e-06/1.102e-06, allocations: 0 / 323.2 MB, free: 9.711 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.526e-05/1.636e-05, allocations: 3.672 kB / 323.2 MB, free: 9.707 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Torus): time 0.007488/0.007504, allocations: 10.58 MB / 333.8 MB, free: 15.07 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.004386/0.01189, allocations: 2.888 MB / 336.7 MB, free: 12.17 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000541/0.01243, allocations: 59.81 kB / 336.8 MB, free: 12.11 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001467/0.0139, allocations: 1.381 MB / 338.2 MB, free: 10.72 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001394/0.01529, allocations: 1.295 MB / 339.5 MB, free: 9.422 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001836/0.01548, allocations: 87.7 kB / 339.5 MB, free: 9.336 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.001721/0.0172, allocations: 2.77 MB / 342.3 MB, free: 6.559 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0013/0.0185, allocations: 1.797 MB / 344.1 MB, free: 4.715 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001126/0.01962, allocations: 1.551 MB / 345.7 MB, free: 3.16 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001178/0.0208, allocations: 1.426 MB / 347.1 MB, free: 1.73 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002226/0.02102, allocations: 212 kB / 347.3 MB, free: 1.523 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005669/0.02159, allocations: 487.3 kB / 347.8 MB, free: 1.047 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0008063/0.0224, allocations: 1.472 MB / 349.2 MB, free: 15.57 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007248/0.02312, allocations: 0.8639 MB / 350.1 MB, free: 14.7 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005846/0.02897, allocations: 3.353 MB / 353.5 MB, free: 11.34 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.915e-06/0.02897, allocations: 0 / 353.5 MB, free: 11.34 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.292e-06/0.02897, allocations: 0 / 353.5 MB, free: 11.34 MB / 330.7 MB Notification: Performance of Transformations before backend: time 9.241e-05/0.02906, allocations: 0 / 353.5 MB, free: 11.34 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.006325/0.03539, allocations: 3.408 MB / 356.9 MB, free: 7.883 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.183e-05/0.03542, allocations: 11.97 kB / 356.9 MB, free: 7.871 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007455/0.04288, allocations: 1.276 MB / 358.1 MB, free: 6.594 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00453/0.04741, allocations: 1.157 MB / 359.3 MB, free: 5.402 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001191/0.04752, allocations: 172.6 kB / 359.5 MB, free: 5.23 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003413/0.04787, allocations: 220.2 kB / 359.7 MB, free: 5.016 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007764/0.05563, allocations: 4.009 MB / 363.7 MB, free: 0.625 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.819e-05/0.05568, allocations: 19.75 kB / 363.7 MB, free: 0.6055 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003551/0.05923, allocations: 111.8 kB / 363.8 MB, free: 0.4961 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002332/0.06156, allocations: 2.085 MB / 365.9 MB, free: 14.41 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01336/0.07492, allocations: 2.241 MB / 368.2 MB, free: 12.15 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02254/0.09746, allocations: 21.8 MB / 390 MB, free: 5.551 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001665/0.09912, allocations: 1.02 MB / 391 MB, free: 4.52 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002551/0.09938, allocations: 211.7 kB / 391.2 MB, free: 4.312 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003278/0.1027, allocations: 2.7 MB / 393.9 MB, free: 1.59 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.795e-05/0.1027, allocations: 43.22 kB / 393.9 MB, free: 1.539 MB / 362.7 MB Notification: Performance of pre-optimization done (n=126): time 2.575e-06/0.1027, allocations: 0 / 393.9 MB, free: 1.539 MB / 362.7 MB Notification: Performance of matching and sorting (n=126): time 0.002291/0.105, allocations: 1.242 MB / 395.2 MB, free: 300 kB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.863e-05/0.105, allocations: 60.06 kB / 395.2 MB, free: 228 kB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00123/0.1062, allocations: 1.916 MB / 397.1 MB, free: 14.27 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 4.061e-05/0.1063, allocations: 37.7 kB / 397.2 MB, free: 14.22 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001053/0.1073, allocations: 2.678 MB / 399.9 MB, free: 11.52 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002345/0.1076, allocations: 0.4884 MB / 400.3 MB, free: 11.02 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006012/0.1082, allocations: 0.8461 MB / 401.2 MB, free: 10.16 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 9.275e-05/0.1083, allocations: 345.9 kB / 401.5 MB, free: 9.82 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003508/0.1086, allocations: 328.5 kB / 401.8 MB, free: 9.496 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001713/0.1103, allocations: 3.107 MB / 405 MB, free: 5 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002736/0.1131, allocations: 4.053 MB / 409 MB, free: 15.57 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.502e-05/0.1131, allocations: 28 kB / 409 MB, free: 15.54 MB / 394.7 MB Notification: Performance of matching and sorting (n=588) (initialization): time 0.002838/0.1159, allocations: 2.892 MB / 411.9 MB, free: 12.64 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.057e-05/0.116, allocations: 48 kB / 412 MB, free: 12.6 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.511e-05/0.116, allocations: 99.98 kB / 412.1 MB, free: 12.5 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.415e-05/0.1161, allocations: 128 kB / 412.2 MB, free: 12.38 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001447/0.1175, allocations: 0.9942 MB / 413.2 MB, free: 11.38 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.292e-05/0.1176, allocations: 191.8 kB / 413.4 MB, free: 11.19 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001203/0.1188, allocations: 0.5777 MB / 414 MB, free: 10.61 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001949/0.119, allocations: 244 kB / 414.2 MB, free: 10.37 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.0007107/0.1197, allocations: 476.8 kB / 414.7 MB, free: 9.891 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001207/0.1198, allocations: 127.8 kB / 414.8 MB, free: 9.766 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001795/0.12, allocations: 226.3 kB / 415 MB, free: 9.543 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.403e-05/0.12, allocations: 12 kB / 415 MB, free: 9.531 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.881e-06/0.12, allocations: 0 / 415 MB, free: 9.531 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.222e-06/0.1201, allocations: 3.984 kB / 415 MB, free: 9.527 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002473/0.1225, allocations: 2.487 MB / 417.5 MB, free: 6.949 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.028e-06/0.1225, allocations: 4.562 kB / 417.5 MB, free: 6.945 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002752/0.1228, allocations: 115.8 kB / 417.6 MB, free: 6.832 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.905e-06/0.1228, allocations: 19.92 kB / 417.6 MB, free: 6.812 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.298e-05/0.1228, allocations: 28 kB / 417.7 MB, free: 6.785 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.198e-06/0.1228, allocations: 7.938 kB / 417.7 MB, free: 6.777 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.239e-06/0.1229, allocations: 8 kB / 417.7 MB, free: 6.77 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008526/0.1237, allocations: 0.7453 MB / 418.4 MB, free: 5.953 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001355/0.1238, allocations: 198.3 kB / 418.6 MB, free: 5.758 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000104/0.1239, allocations: 23.94 kB / 418.7 MB, free: 5.734 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002315/0.1242, allocations: 19.94 kB / 418.7 MB, free: 5.715 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.022e-05/0.1243, allocations: 68.27 kB / 418.7 MB, free: 5.648 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.504e-05/0.1243, allocations: 39.98 kB / 418.8 MB, free: 5.609 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0005412/0.1248, allocations: 0.7211 MB / 419.5 MB, free: 4.867 MB / 394.7 MB Notification: Performance of sort global known variables: time 2.1e-07/0.1248, allocations: 0 / 419.5 MB, free: 4.867 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001812/0.1267, allocations: 1.016 MB / 420.5 MB, free: 3.848 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.0002008/0.1269, allocations: 125.5 kB / 420.6 MB, free: 3.719 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001301/0.1282, allocations: 1.65 MB / 422.3 MB, free: 2.082 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 8.579e-05/0.1282, allocations: 59.94 kB / 422.3 MB, free: 2.016 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002141/0.1285, allocations: 227.4 kB / 422.6 MB, free: 1.781 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005202/0.129, allocations: 186.9 kB / 422.7 MB, free: 1.602 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005875/0.1349, allocations: 6.348 MB / 429.1 MB, free: 11.14 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007786/0.1356, allocations: 1.039 MB / 430.1 MB, free: 10.07 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0006351/0.1363, allocations: 332.8 kB / 430.5 MB, free: 9.746 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003628/0.1366, allocations: 331.3 kB / 430.8 MB, free: 9.422 MB / 410.7 MB Notification: Performance of SimCode: time 8.11e-07/0.1366, allocations: 0 / 430.8 MB, free: 9.422 MB / 410.7 MB Notification: Performance of Templates: time 0.02461/0.1612, allocations: 13.65 MB / 444.4 MB, free: 11.98 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 -s gbode -gbm=radauIIA3 -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.6256262296810746]