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.001254/0.001254, allocations: 77.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.002325/0.003579, allocations: 449.8 kB / 10.44 MB, free: 252 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.001526/0.001526, allocations: 165.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.002034/0.00356, allocations: 479.5 kB / 11.82 MB, free: 2.344 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.116/1.116, allocations: 177.2 MB / 189.8 MB, free: 5.242 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1296/1.246, allocations: 53.65 MB / 243.4 MB, free: 15.5 MB / 250.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.3074/0.3074, allocations: 34.25 MB / 278.4 MB, free: 15.29 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.03658/0.3439, allocations: 13.11 MB / 291.5 MB, free: 7.336 MB / 282.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.824e-06/1.824e-06, allocations: 0 / 292.8 MB, free: 6.223 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.27e-05/3.452e-05, allocations: 4.969 kB / 292.8 MB, free: 6.219 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Torus): time 0.01032/0.01035, allocations: 10.67 MB / 303.5 MB, free: 11.5 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.005839/0.01619, allocations: 2.896 MB / 306.4 MB, free: 8.594 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001432/0.01762, allocations: 59.81 kB / 306.4 MB, free: 8.535 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001889/0.01951, allocations: 1.37 MB / 307.8 MB, free: 7.16 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002446/0.02196, allocations: 1.318 MB / 309.1 MB, free: 5.836 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003008/0.02226, allocations: 75.84 kB / 309.2 MB, free: 5.762 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.003289/0.02555, allocations: 2.802 MB / 312 MB, free: 2.957 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002123/0.02767, allocations: 1.645 MB / 313.6 MB, free: 1.262 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002136/0.0298, allocations: 1.614 MB / 315.3 MB, free: 15.64 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001888/0.03169, allocations: 1.41 MB / 316.7 MB, free: 14.23 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004382/0.03213, allocations: 212 kB / 316.9 MB, free: 14.02 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007997/0.03293, allocations: 479.4 kB / 317.3 MB, free: 13.55 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0009089/0.03384, allocations: 1.344 MB / 318.7 MB, free: 12.2 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006084/0.03445, allocations: 0.7161 MB / 319.4 MB, free: 11.48 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002629/0.03708, allocations: 3.185 MB / 322.6 MB, free: 8.285 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.466e-05/0.03709, allocations: 4 kB / 322.6 MB, free: 8.281 MB / 314.7 MB Notification: Performance of FrontEnd: time 3.446e-06/0.03709, allocations: 4 kB / 322.6 MB, free: 8.277 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.23e-05/0.03714, allocations: 0 / 322.6 MB, free: 8.277 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.003321/0.04046, allocations: 4.052 MB / 326.7 MB, free: 4.18 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.723e-05/0.0405, allocations: 8.625 kB / 326.7 MB, free: 4.172 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003843/0.04434, allocations: 1.352 MB / 328 MB, free: 2.801 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001357/0.0457, allocations: 1.153 MB / 329.2 MB, free: 1.617 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.901e-05/0.04579, allocations: 172.6 kB / 329.3 MB, free: 1.445 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002784/0.04607, allocations: 220.2 kB / 329.6 MB, free: 1.23 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003936/0.05001, allocations: 4.006 MB / 333.6 MB, free: 12.84 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.468e-05/0.05005, allocations: 23.75 kB / 333.6 MB, free: 12.82 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000206/0.05026, allocations: 107.8 kB / 333.7 MB, free: 12.71 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002107/0.05237, allocations: 1.971 MB / 335.7 MB, free: 10.74 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002958/0.05532, allocations: 2.241 MB / 337.9 MB, free: 8.477 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01706/0.07239, allocations: 21.82 MB / 359.7 MB, free: 1.867 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001978/0.07437, allocations: 1.001 MB / 360.7 MB, free: 0.8555 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000283/0.07465, allocations: 216.9 kB / 360.9 MB, free: 0.6406 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00408/0.07873, allocations: 2.621 MB / 363.6 MB, free: 14 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.896e-05/0.07877, allocations: 43.22 kB / 363.6 MB, free: 13.95 MB / 362.7 MB Notification: Performance of pre-optimization done (n=126): time 2.525e-06/0.07877, allocations: 0 / 363.6 MB, free: 13.95 MB / 362.7 MB Notification: Performance of matching and sorting (n=126): time 0.002517/0.08129, allocations: 1.214 MB / 364.8 MB, free: 12.73 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.251e-05/0.08133, allocations: 64.06 kB / 364.9 MB, free: 12.66 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001374/0.0827, allocations: 1.92 MB / 366.8 MB, free: 10.7 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 4.581e-05/0.08275, allocations: 37.7 kB / 366.8 MB, free: 10.66 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001164/0.08391, allocations: 2.67 MB / 369.5 MB, free: 7.957 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002573/0.08417, allocations: 0.5038 MB / 370 MB, free: 7.449 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001022/0.08519, allocations: 0.8345 MB / 370.8 MB, free: 6.602 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001146/0.08531, allocations: 349.9 kB / 371.2 MB, free: 6.254 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003617/0.08567, allocations: 328.6 kB / 371.5 MB, free: 5.926 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001804/0.08747, allocations: 3.099 MB / 374.6 MB, free: 1.434 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003357/0.09083, allocations: 4.385 MB / 379 MB, free: 11.67 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.792e-05/0.09086, allocations: 28 kB / 379 MB, free: 11.64 MB / 378.7 MB Notification: Performance of matching and sorting (n=588) (initialization): time 0.002688/0.09355, allocations: 2.896 MB / 381.9 MB, free: 8.742 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.667e-05/0.09359, allocations: 44 kB / 381.9 MB, free: 8.699 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.983e-05/0.09368, allocations: 116 kB / 382.1 MB, free: 8.586 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.204e-05/0.09377, allocations: 128 kB / 382.2 MB, free: 8.461 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00192/0.09569, allocations: 1.053 MB / 383.2 MB, free: 7.406 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.536e-05/0.09578, allocations: 191.2 kB / 383.4 MB, free: 7.219 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001312/0.09709, allocations: 0.5815 MB / 384 MB, free: 6.637 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002075/0.0973, allocations: 240.2 kB / 384.2 MB, free: 6.402 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.0009032/0.0982, allocations: 488.8 kB / 384.7 MB, free: 5.91 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001323/0.09834, allocations: 127.8 kB / 384.8 MB, free: 5.785 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002099/0.09855, allocations: 226.3 kB / 385.1 MB, free: 5.562 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.663e-05/0.09856, allocations: 8 kB / 385.1 MB, free: 5.555 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.215e-06/0.09857, allocations: 0 / 385.1 MB, free: 5.555 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.203e-06/0.09858, allocations: 3.984 kB / 385.1 MB, free: 5.551 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002742/0.1013, allocations: 2.468 MB / 387.5 MB, free: 2.988 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.225e-05/0.1013, allocations: 19.98 kB / 387.6 MB, free: 2.969 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003047/0.1016, allocations: 127.8 kB / 387.7 MB, free: 2.844 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001587/0.1018, allocations: 206.2 kB / 387.9 MB, free: 2.641 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.624e-06/0.1018, allocations: 8.562 kB / 387.9 MB, free: 2.633 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.701e-05/0.1018, allocations: 20 kB / 387.9 MB, free: 2.613 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.776e-06/0.1019, allocations: 15.98 kB / 387.9 MB, free: 2.598 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.582e-06/0.1019, allocations: 7.938 kB / 387.9 MB, free: 2.59 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006177/0.1025, allocations: 0.7493 MB / 388.7 MB, free: 1.773 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001033/0.1026, allocations: 19.94 kB / 388.7 MB, free: 1.754 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002451/0.1028, allocations: 16 kB / 388.7 MB, free: 1.738 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.388e-05/0.1029, allocations: 60.28 kB / 388.8 MB, free: 1.68 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.726e-05/0.103, allocations: 39.97 kB / 388.8 MB, free: 1.641 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.00111/0.1041, allocations: 0.7289 MB / 389.6 MB, free: 0.8906 MB / 378.7 MB Notification: Performance of sort global known variables: time 8e-08/0.1041, allocations: 4 kB / 389.6 MB, free: 0.8867 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.002016/0.1061, allocations: 1.004 MB / 390.6 MB, free: 15.88 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.0002969/0.1064, allocations: 136 kB / 390.7 MB, free: 15.73 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001477/0.1079, allocations: 1.727 MB / 392.4 MB, free: 14.02 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 9.566e-05/0.108, allocations: 72.05 kB / 392.5 MB, free: 13.95 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002937/0.1083, allocations: 279.3 kB / 392.8 MB, free: 13.68 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009842/0.1092, allocations: 1.066 MB / 393.8 MB, free: 12.51 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007977/0.1172, allocations: 6.49 MB / 400.3 MB, free: 5.898 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008293/0.118, allocations: 1.035 MB / 401.4 MB, free: 4.844 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0006642/0.1187, allocations: 328.8 kB / 401.7 MB, free: 4.52 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003133/0.119, allocations: 315.3 kB / 402 MB, free: 4.211 MB / 394.7 MB Notification: Performance of SimCode: time 2.214e-06/0.119, allocations: 0 / 402 MB, free: 4.211 MB / 394.7 MB Notification: Performance of Templates: time 0.02508/0.1441, allocations: 12 MB / 414 MB, free: 8.25 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 -ignoreHideResult -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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.357362669892609]