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.002647/0.002647, allocations: 91.61 kB / 20.96 MB, free: 3.465 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.003055/0.003055, allocations: 165.3 kB / 24.27 MB, free: 156 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.633/1.633, allocations: 177.1 MB / 204.6 MB, free: 5.566 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.4291/0.4291, allocations: 32.8 MB / 293.9 MB, free: 1.211 MB / 266.7 MB " [Timeout remaining time 179] 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.422e-06/1.422e-06, allocations: 0 / 375.3 MB, free: 4.992 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.489e-05/2.631e-05, allocations: 2.312 kB / 375.3 MB, free: 4.988 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Torus): time 0.01509/0.01512, allocations: 10.75 MB / 386 MB, free: 10.18 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.006532/0.02165, allocations: 2.772 MB / 388.8 MB, free: 7.398 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001031/0.02268, allocations: 59.81 kB / 388.8 MB, free: 7.34 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003252/0.02594, allocations: 1.393 MB / 390.2 MB, free: 5.941 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002778/0.02871, allocations: 1.299 MB / 391.5 MB, free: 4.637 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003161/0.02903, allocations: 87.7 kB / 391.6 MB, free: 4.551 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.003886/0.03291, allocations: 2.778 MB / 394.4 MB, free: 1.77 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002574/0.03549, allocations: 1.727 MB / 396.1 MB, free: 8 kB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002415/0.0379, allocations: 1.551 MB / 397.7 MB, free: 14.45 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002307/0.04021, allocations: 1.504 MB / 399.2 MB, free: 12.95 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003896/0.0406, allocations: 208 kB / 399.4 MB, free: 12.74 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001048/0.04165, allocations: 479.4 kB / 399.8 MB, free: 12.27 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001858/0.04351, allocations: 1.476 MB / 401.3 MB, free: 10.79 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001302/0.04481, allocations: 0.8639 MB / 402.2 MB, free: 9.926 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006905/0.05171, allocations: 5.329 MB / 407.5 MB, free: 4.578 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.529e-06/0.05172, allocations: 3.938 kB / 407.5 MB, free: 4.574 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.884e-06/0.05172, allocations: 0 / 407.5 MB, free: 4.574 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0001163/0.05184, allocations: 0 / 407.5 MB, free: 4.574 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.007845/0.05968, allocations: 4.334 MB / 411.9 MB, free: 188 kB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.81e-05/0.05973, allocations: 11.97 kB / 411.9 MB, free: 176 kB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01185/0.07158, allocations: 3.434 MB / 415.3 MB, free: 12.73 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004292/0.07587, allocations: 1.416 MB / 416.7 MB, free: 11.28 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001826/0.07605, allocations: 168.7 kB / 416.9 MB, free: 11.11 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006808/0.07673, allocations: 220.2 kB / 417.1 MB, free: 10.89 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01105/0.08778, allocations: 5.045 MB / 422.1 MB, free: 5.34 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.978e-05/0.08785, allocations: 31.73 kB / 422.2 MB, free: 5.309 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003275/0.08818, allocations: 103.8 kB / 422.3 MB, free: 5.207 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004247/0.09243, allocations: 2.377 MB / 424.7 MB, free: 2.824 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01028/0.1027, allocations: 3.233 MB / 427.9 MB, free: 15.58 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1987/0.3014, allocations: 35.5 MB / 463.4 MB, free: 73.93 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003266/0.3047, allocations: 1.082 MB / 464.5 MB, free: 73.89 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006181/0.3053, allocations: 337.2 kB / 464.8 MB, free: 73.86 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007658/0.3129, allocations: 3.222 MB / 468 MB, free: 73.1 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.527e-05/0.313, allocations: 44.36 kB / 468.1 MB, free: 73.05 MB / 410.7 MB Notification: Performance of pre-optimization done (n=126): time 3.957e-06/0.313, allocations: 0 / 468.1 MB, free: 73.05 MB / 410.7 MB Notification: Performance of matching and sorting (n=126): time 0.004309/0.3173, allocations: 1.511 MB / 469.6 MB, free: 72.75 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.469e-05/0.3173, allocations: 62.19 kB / 469.6 MB, free: 72.69 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003469/0.3208, allocations: 3.004 MB / 472.6 MB, free: 71.36 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 5.136e-05/0.3208, allocations: 37.83 kB / 472.7 MB, free: 71.32 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001411/0.3222, allocations: 3.004 MB / 475.7 MB, free: 69.3 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004076/0.3227, allocations: 0.562 MB / 476.2 MB, free: 68.9 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001212/0.3239, allocations: 1.123 MB / 477.4 MB, free: 68.3 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001506/0.324, allocations: 0.5431 MB / 477.9 MB, free: 67.78 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008779/0.3249, allocations: 491.7 kB / 478.4 MB, free: 67.7 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002448/0.3273, allocations: 4.708 MB / 483.1 MB, free: 61.98 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003899/0.3312, allocations: 5.691 MB / 488.8 MB, free: 55.65 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.959e-05/0.3313, allocations: 30.25 kB / 488.8 MB, free: 55.65 MB / 410.7 MB Notification: Performance of matching and sorting (n=588) (initialization): time 0.005318/0.3366, allocations: 3.781 MB / 492.6 MB, free: 54.18 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.886e-05/0.3367, allocations: 52.31 kB / 492.6 MB, free: 54.18 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.922e-05/0.3367, allocations: 97.41 kB / 492.7 MB, free: 54.18 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001021/0.3368, allocations: 130.4 kB / 492.9 MB, free: 54.18 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002535/0.3394, allocations: 0.975 MB / 493.8 MB, free: 54.05 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001481/0.3395, allocations: 188.1 kB / 494 MB, free: 54.01 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002505/0.342, allocations: 0.6072 MB / 494.6 MB, free: 53.62 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003952/0.3424, allocations: 281.8 kB / 494.9 MB, free: 53.59 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.001488/0.3439, allocations: 0.6165 MB / 495.5 MB, free: 53.11 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000358/0.3443, allocations: 242.5 kB / 495.8 MB, free: 52.98 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004441/0.3447, allocations: 220.7 kB / 496 MB, free: 52.84 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.95e-05/0.3448, allocations: 14.94 kB / 496 MB, free: 52.84 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.242e-05/0.3448, allocations: 0 / 496 MB, free: 52.84 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.856e-06/0.3448, allocations: 4.594 kB / 496 MB, free: 52.84 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008534/0.3533, allocations: 4.628 MB / 0.4889 GB, free: 50.69 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.09e-05/0.3533, allocations: 4.5 kB / 0.4889 GB, free: 50.69 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000586/0.3539, allocations: 138.2 kB / 0.489 GB, free: 50.67 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.364e-05/0.3539, allocations: 7.719 kB / 0.489 GB, free: 50.67 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.156e-05/0.354, allocations: 19.44 kB / 0.4891 GB, free: 50.66 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.399e-05/0.354, allocations: 15.23 kB / 0.4891 GB, free: 50.66 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.59e-06/0.354, allocations: 4.688 kB / 0.4891 GB, free: 50.66 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001649/0.3556, allocations: 1.109 MB / 0.4902 GB, free: 49.95 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004346/0.3561, allocations: 209.2 kB / 0.4904 GB, free: 49.8 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002069/0.3563, allocations: 19.28 kB / 0.4904 GB, free: 49.8 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005603/0.3568, allocations: 43.56 kB / 0.4904 GB, free: 49.79 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001369/0.357, allocations: 63.84 kB / 0.4905 GB, free: 49.77 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.676e-05/0.3571, allocations: 41.28 kB / 0.4905 GB, free: 49.77 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001872/0.3589, allocations: 1.208 MB / 0.4917 GB, free: 49.27 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.3589, allocations: 0 / 0.4917 GB, free: 49.27 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.003977/0.3629, allocations: 1.015 MB / 0.4927 GB, free: 48.93 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.0003681/0.3633, allocations: 144.1 kB / 0.4928 GB, free: 48.8 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.003763/0.367, allocations: 2.055 MB / 0.4948 GB, free: 48.12 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.104e-05/0.3671, allocations: 0.875 kB / 0.4948 GB, free: 48.12 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005334/0.3676, allocations: 331.4 kB / 0.4951 GB, free: 48.01 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001158/0.3687, allocations: 189.4 kB / 0.4953 GB, free: 47.9 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009621/0.3784, allocations: 6.227 MB / 0.5014 GB, free: 44.74 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002148/0.3805, allocations: 2.104 MB / 0.5035 GB, free: 44.07 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.002433/0.3829, allocations: 1.252 MB / 0.5047 GB, free: 43.96 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003204/0.3833, allocations: 152.9 kB / 0.5048 GB, free: 43.94 MB / 410.7 MB Notification: Performance of SimCode: time 2.465e-06/0.3833, allocations: 0 / 0.5048 GB, free: 43.94 MB / 410.7 MB Notification: Performance of Templates: time 0.03054/0.4138, allocations: 11.87 MB / 0.5164 GB, free: 37.71 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 -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","/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: 6.310994726023637]