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.001552/0.001552, allocations: 92.31 kB / 20.96 MB, free: 3.477 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.001663/0.001663, allocations: 157.7 kB / 24.27 MB, free: 176 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.506/1.506, allocations: 177.1 MB / 204.6 MB, free: 5.602 MB / 186.7 MB " [Timeout remaining time 178] 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.321/0.321, allocations: 32.8 MB / 293.9 MB, free: 1.199 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.693e-06/1.693e-06, allocations: 0 / 375.2 MB, free: 4.992 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.57e-05/2.739e-05, allocations: 2.312 kB / 375.2 MB, free: 4.988 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Torus): time 0.01369/0.01372, allocations: 9.839 MB / 385.1 MB, free: 11.1 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.006805/0.02052, allocations: 2.714 MB / 387.8 MB, free: 8.375 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001191/0.02171, allocations: 67.81 kB / 387.9 MB, free: 8.309 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002977/0.02469, allocations: 1.362 MB / 389.2 MB, free: 6.941 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002833/0.02752, allocations: 1.291 MB / 390.5 MB, free: 5.645 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003184/0.02784, allocations: 87.72 kB / 390.6 MB, free: 5.559 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.003832/0.03167, allocations: 2.779 MB / 393.4 MB, free: 2.77 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002685/0.03436, allocations: 1.727 MB / 395.1 MB, free: 1.008 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002318/0.03668, allocations: 1.551 MB / 396.7 MB, free: 15.45 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002246/0.03892, allocations: 1.504 MB / 398.2 MB, free: 13.95 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003771/0.0393, allocations: 208 kB / 398.4 MB, free: 13.74 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001025/0.04033, allocations: 471.4 kB / 398.8 MB, free: 13.28 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001593/0.04192, allocations: 1.472 MB / 400.3 MB, free: 11.8 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001518/0.04344, allocations: 0.86 MB / 401.2 MB, free: 10.94 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00685/0.05029, allocations: 5.328 MB / 406.5 MB, free: 5.594 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.681e-06/0.05029, allocations: 0 / 406.5 MB, free: 5.594 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.372e-06/0.05029, allocations: 0 / 406.5 MB, free: 5.594 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.000121/0.05042, allocations: 0 / 406.5 MB, free: 5.594 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.006963/0.05738, allocations: 3.554 MB / 410 MB, free: 1.988 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.816e-05/0.05744, allocations: 12.03 kB / 410 MB, free: 1.977 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01137/0.0688, allocations: 3.548 MB / 413.6 MB, free: 14.42 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003785/0.07259, allocations: 1.495 MB / 415.1 MB, free: 12.89 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002308/0.07282, allocations: 176.6 kB / 415.3 MB, free: 12.71 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001212/0.07403, allocations: 220.2 kB / 415.5 MB, free: 12.5 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0169/0.09093, allocations: 9.477 MB / 425 MB, free: 2.641 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.989e-05/0.09103, allocations: 23.75 kB / 425 MB, free: 2.617 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000429/0.09146, allocations: 103.8 kB / 425.1 MB, free: 2.516 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005949/0.09741, allocations: 2.385 MB / 427.5 MB, free: 128 kB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02489/0.1223, allocations: 8.658 MB / 436.1 MB, free: 7.453 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1937/0.316, allocations: 26.62 MB / 462.7 MB, free: 81.13 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004202/0.3202, allocations: 2.107 MB / 464.9 MB, free: 80.6 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001096/0.3213, allocations: 0.8965 MB / 465.7 MB, free: 80.32 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00696/0.3283, allocations: 3.914 MB / 469.7 MB, free: 79.15 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.408e-05/0.3283, allocations: 38.44 kB / 469.7 MB, free: 79.11 MB / 410.7 MB Notification: Performance of pre-optimization done (n=126): time 3.556e-06/0.3283, allocations: 2.906 kB / 469.7 MB, free: 79.11 MB / 410.7 MB Notification: Performance of matching and sorting (n=126): time 0.005308/0.3336, allocations: 2.906 MB / 472.6 MB, free: 78.37 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.917e-05/0.3337, allocations: 61.94 kB / 472.7 MB, free: 78.3 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002662/0.3363, allocations: 2.609 MB / 475.3 MB, free: 77.34 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 6.037e-05/0.3364, allocations: 40.11 kB / 475.3 MB, free: 77.3 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009982/0.3374, allocations: 2.743 MB / 478.1 MB, free: 75.46 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002909/0.3377, allocations: 0.5009 MB / 478.6 MB, free: 75.09 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008445/0.3385, allocations: 0.8956 MB / 479.5 MB, free: 74.64 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 7.771e-05/0.3386, allocations: 347.7 kB / 479.8 MB, free: 74.32 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001518/0.3401, allocations: 1.355 MB / 481.2 MB, free: 73.93 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002653/0.3428, allocations: 4.123 MB / 485.3 MB, free: 69.78 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005189/0.3479, allocations: 5.96 MB / 491.2 MB, free: 64.69 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.844e-05/0.348, allocations: 28.91 kB / 491.3 MB, free: 64.69 MB / 410.7 MB Notification: Performance of matching and sorting (n=588) (initialization): time 0.008085/0.3561, allocations: 5.522 MB / 496.8 MB, free: 62.59 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.493e-05/0.3562, allocations: 47.5 kB / 496.8 MB, free: 62.59 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001121/0.3563, allocations: 97.47 kB / 496.9 MB, free: 62.59 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001211/0.3564, allocations: 133.7 kB / 497.1 MB, free: 62.59 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002493/0.3589, allocations: 0.9722 MB / 498 MB, free: 62.47 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001261/0.359, allocations: 190.9 kB / 498.2 MB, free: 62.43 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002557/0.3616, allocations: 0.6055 MB / 498.8 MB, free: 62.04 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002992/0.3619, allocations: 277.5 kB / 499.1 MB, free: 62.01 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.002176/0.3641, allocations: 1.891 MB / 0.4892 GB, free: 61.17 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002675/0.3643, allocations: 242.2 kB / 0.4895 GB, free: 61.04 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003827/0.3647, allocations: 256.2 kB / 0.4897 GB, free: 60.91 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.563e-05/0.3647, allocations: 21.69 kB / 0.4897 GB, free: 60.9 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.415e-05/0.3648, allocations: 3.938 kB / 0.4897 GB, free: 60.9 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.345e-06/0.3648, allocations: 6.609 kB / 0.4897 GB, free: 60.9 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00584/0.3706, allocations: 4.322 MB / 0.494 GB, free: 59.3 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.125e-06/0.3706, allocations: 3.75 kB / 0.494 GB, free: 59.3 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004885/0.3711, allocations: 135.3 kB / 0.4941 GB, free: 59.29 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.898e-06/0.3711, allocations: 7.5 kB / 0.4941 GB, free: 59.29 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.163e-05/0.3712, allocations: 19.38 kB / 0.4941 GB, free: 59.28 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.688e-06/0.3712, allocations: 19.02 kB / 0.4941 GB, free: 59.27 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.048e-06/0.3712, allocations: 7.125 kB / 0.4942 GB, free: 59.27 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001707/0.3729, allocations: 1.798 MB / 0.4959 GB, free: 58.44 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003128/0.3732, allocations: 216 kB / 0.4961 GB, free: 58.3 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001897/0.3734, allocations: 15.5 kB / 0.4961 GB, free: 58.29 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005308/0.3739, allocations: 40.77 kB / 0.4962 GB, free: 58.28 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001188/0.374, allocations: 68.72 kB / 0.4962 GB, free: 58.26 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.86e-05/0.3741, allocations: 40.28 kB / 0.4963 GB, free: 58.26 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001729/0.3758, allocations: 1.466 MB / 0.4977 GB, free: 57.7 MB / 410.7 MB Notification: Performance of sort global known variables: time 8e-08/0.3758, allocations: 4 kB / 0.4977 GB, free: 57.7 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.003629/0.3795, allocations: 1.013 MB / 0.4987 GB, free: 56.68 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.0004051/0.3799, allocations: 151.7 kB / 0.4988 GB, free: 56.54 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.004874/0.3847, allocations: 3.017 MB / 0.5018 GB, free: 53.89 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 5.38e-06/0.3847, allocations: 0 / 0.5018 GB, free: 53.89 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000723/0.3855, allocations: 0.69 MB / 0.5025 GB, free: 53.29 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001072/0.3865, allocations: 180.9 kB / 0.5026 GB, free: 53.12 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0107/0.3972, allocations: 7.354 MB / 0.5098 GB, free: 46.28 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002636/0.3999, allocations: 2.413 MB / 0.5122 GB, free: 44.46 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.002505/0.4024, allocations: 1.468 MB / 0.5136 GB, free: 43.54 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003122/0.4027, allocations: 148.6 kB / 0.5137 GB, free: 43.39 MB / 410.7 MB Notification: Performance of SimCode: time 1.733e-06/0.4027, allocations: 0 / 0.5137 GB, free: 43.39 MB / 410.7 MB Notification: Performance of Templates: time 0.02693/0.4296, allocations: 12.02 MB / 0.5255 GB, free: 32.79 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=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Torus.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Torus.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.828004986979067]