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.002188/0.002188, allocations: 92.31 kB / 20.96 MB, free: 3.473 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.002808/0.002808, allocations: 161.7 kB / 24.27 MB, free: 172 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.562/1.562, allocations: 177.1 MB / 204.6 MB, free: 5.621 MB / 186.7 MB " [Timeout remaining time 178] 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.3493/0.3493, allocations: 34.27 MB / 295.3 MB, free: 0.6758 MB / 266.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.673e-06/1.673e-06, allocations: 0 / 377.3 MB, free: 2.992 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.471e-05/2.638e-05, allocations: 2.312 kB / 377.3 MB, free: 2.988 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Torus): time 0.01429/0.01431, allocations: 9.823 MB / 387.1 MB, free: 9.113 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.00668/0.02099, allocations: 2.718 MB / 389.8 MB, free: 6.387 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001169/0.02216, allocations: 63.81 kB / 389.9 MB, free: 6.324 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003107/0.02527, allocations: 1.37 MB / 391.2 MB, free: 4.949 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003257/0.02853, allocations: 1.295 MB / 392.5 MB, free: 3.648 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003182/0.02884, allocations: 95.69 kB / 392.6 MB, free: 3.555 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.003726/0.03257, allocations: 2.771 MB / 395.4 MB, free: 0.7773 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002229/0.0348, allocations: 1.73 MB / 397.1 MB, free: 15.01 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002228/0.03703, allocations: 1.547 MB / 398.7 MB, free: 13.46 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002493/0.03952, allocations: 1.5 MB / 400.2 MB, free: 11.96 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000391/0.03991, allocations: 208 kB / 400.4 MB, free: 11.75 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009773/0.04089, allocations: 471.4 kB / 400.8 MB, free: 11.29 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001577/0.04247, allocations: 1.476 MB / 402.3 MB, free: 9.812 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001203/0.04367, allocations: 0.8638 MB / 403.2 MB, free: 8.945 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00705/0.05072, allocations: 5.329 MB / 408.5 MB, free: 3.598 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.272e-06/0.05073, allocations: 0 / 408.5 MB, free: 3.598 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.653e-06/0.05073, allocations: 0 / 408.5 MB, free: 3.598 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0001546/0.05088, allocations: 0 / 408.5 MB, free: 3.598 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.006883/0.05776, allocations: 3.55 MB / 412.1 MB, free: 15.99 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.076e-05/0.05781, allocations: 8.031 kB / 412.1 MB, free: 15.98 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01169/0.0695, allocations: 3.547 MB / 415.6 MB, free: 12.43 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00359/0.07309, allocations: 1.511 MB / 417.1 MB, free: 10.89 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001858/0.07327, allocations: 172.6 kB / 417.3 MB, free: 10.71 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005558/0.07383, allocations: 220.2 kB / 417.5 MB, free: 10.5 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01616/0.08999, allocations: 9.481 MB / 427 MB, free: 0.6367 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.725e-05/0.09005, allocations: 19.81 kB / 427 MB, free: 0.6172 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000346/0.09039, allocations: 103.8 kB / 427.1 MB, free: 0.5156 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004493/0.09489, allocations: 2.373 MB / 429.5 MB, free: 14.14 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01756/0.1124, allocations: 8.658 MB / 438.1 MB, free: 5.465 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1901/0.3025, allocations: 26.62 MB / 464.8 MB, free: 79.33 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004145/0.3067, allocations: 2.107 MB / 466.9 MB, free: 78.79 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001214/0.3079, allocations: 0.9006 MB / 467.8 MB, free: 78.51 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007361/0.3152, allocations: 3.916 MB / 471.7 MB, free: 77.33 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.187e-05/0.3153, allocations: 38.16 kB / 471.7 MB, free: 77.29 MB / 410.7 MB Notification: Performance of pre-optimization done (n=126): time 4.349e-06/0.3153, allocations: 3.984 kB / 471.7 MB, free: 77.29 MB / 410.7 MB Notification: Performance of matching and sorting (n=126): time 0.005381/0.3206, allocations: 2.897 MB / 474.6 MB, free: 76.55 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.864e-05/0.3207, allocations: 62.03 kB / 474.7 MB, free: 76.49 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002793/0.3235, allocations: 2.614 MB / 477.3 MB, free: 75.53 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 5.753e-05/0.3235, allocations: 36.73 kB / 477.3 MB, free: 75.49 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001235/0.3248, allocations: 2.751 MB / 480.1 MB, free: 73.64 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003085/0.3251, allocations: 0.5029 MB / 480.6 MB, free: 73.27 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009541/0.326, allocations: 0.8938 MB / 481.5 MB, free: 72.82 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 8.192e-05/0.3261, allocations: 346.2 kB / 481.8 MB, free: 72.5 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001824/0.3279, allocations: 1.355 MB / 483.2 MB, free: 72.11 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002776/0.3307, allocations: 4.116 MB / 487.3 MB, free: 67.96 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004936/0.3356, allocations: 5.965 MB / 493.3 MB, free: 62.88 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.7e-05/0.3357, allocations: 32.62 kB / 493.3 MB, free: 62.88 MB / 410.7 MB Notification: Performance of matching and sorting (n=588) (initialization): time 0.007104/0.3428, allocations: 5.519 MB / 498.8 MB, free: 60.79 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.896e-05/0.3429, allocations: 43.56 kB / 498.8 MB, free: 60.79 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.59e-05/0.343, allocations: 98.53 kB / 498.9 MB, free: 60.79 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.409e-05/0.3431, allocations: 129.9 kB / 499.1 MB, free: 60.79 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002301/0.3454, allocations: 0.9808 MB / 0.4883 GB, free: 60.66 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.393e-05/0.3454, allocations: 186.4 kB / 0.4885 GB, free: 60.62 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00247/0.3479, allocations: 0.6114 MB / 0.4891 GB, free: 60.22 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002666/0.3482, allocations: 277.4 kB / 0.4894 GB, free: 60.19 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.002087/0.3503, allocations: 1.886 MB / 0.4912 GB, free: 59.36 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002608/0.3505, allocations: 242.6 kB / 0.4914 GB, free: 59.22 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003846/0.3509, allocations: 262.8 kB / 0.4917 GB, free: 59.09 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.38e-05/0.3509, allocations: 14.75 kB / 0.4917 GB, free: 59.09 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.317e-05/0.351, allocations: 3.938 kB / 0.4917 GB, free: 59.09 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.843e-06/0.351, allocations: 6.859 kB / 0.4917 GB, free: 59.09 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005791/0.3567, allocations: 4.315 MB / 0.4959 GB, free: 57.49 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.073e-06/0.3568, allocations: 4.312 kB / 0.4959 GB, free: 57.49 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005238/0.3573, allocations: 140.5 kB / 0.4961 GB, free: 57.47 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.678e-06/0.3573, allocations: 7.984 kB / 0.4961 GB, free: 57.47 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.609e-05/0.3573, allocations: 20.17 kB / 0.4961 GB, free: 57.46 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.906e-06/0.3574, allocations: 11.25 kB / 0.4961 GB, free: 57.46 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.96e-06/0.3574, allocations: 15.25 kB / 0.4961 GB, free: 57.45 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001755/0.3591, allocations: 1.8 MB / 0.4979 GB, free: 56.2 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003104/0.3594, allocations: 206.6 kB / 0.4981 GB, free: 56 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001942/0.3596, allocations: 25.41 kB / 0.4981 GB, free: 55.98 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000538/0.3602, allocations: 38.83 kB / 0.4981 GB, free: 55.95 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001354/0.3603, allocations: 64.38 kB / 0.4982 GB, free: 55.91 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.186e-05/0.3604, allocations: 49.59 kB / 0.4982 GB, free: 55.87 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001644/0.362, allocations: 1.467 MB / 0.4997 GB, free: 54.64 MB / 410.7 MB Notification: Performance of sort global known variables: time 8.1e-08/0.362, allocations: 0 / 0.4997 GB, free: 54.64 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.00322/0.3652, allocations: 1.013 MB / 0.5007 GB, free: 53.62 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.0003043/0.3655, allocations: 147.8 kB / 0.5008 GB, free: 53.48 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.003709/0.3692, allocations: 3.015 MB / 0.5038 GB, free: 50.84 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.897e-06/0.3692, allocations: 0 / 0.5038 GB, free: 50.84 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000675/0.3699, allocations: 0.6854 MB / 0.5044 GB, free: 50.24 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009582/0.3709, allocations: 190.9 kB / 0.5046 GB, free: 50.07 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01046/0.3813, allocations: 7.353 MB / 0.5118 GB, free: 43.23 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003069/0.3844, allocations: 2.418 MB / 0.5141 GB, free: 41.4 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.002568/0.387, allocations: 1.467 MB / 0.5156 GB, free: 40.48 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003391/0.3873, allocations: 148.4 kB / 0.5157 GB, free: 40.34 MB / 410.7 MB Notification: Performance of SimCode: time 1.994e-06/0.3873, allocations: 4 kB / 0.5157 GB, free: 40.33 MB / 410.7 MB Notification: Performance of Templates: time 0.02907/0.4164, allocations: 12.02 MB / 0.5275 GB, free: 29.1 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=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.MultiBody.Visualizers.Torus.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.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: 6.0049334859941155]