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.001993/0.001993, allocations: 84.7 kB / 20.68 MB, free: 1.023 MB / 14.72 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.002479/0.002479, allocations: 164.5 kB / 23.95 MB, free: 4.156 MB / 14.72 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.474/1.474, allocations: 177.1 MB / 204.3 MB, free: 9.18 MB / 190.1 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.2223/0.2223, allocations: 34.29 MB / 295 MB, free: 14.57 MB / 286.1 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.372e-06/1.372e-06, allocations: 0 / 442.7 MB, free: 5.41 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.829e-05/2.967e-05, allocations: 5.234 kB / 442.7 MB, free: 5.406 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Torus): time 0.1966/0.1966, allocations: 9.823 MB / 452.5 MB, free: 14.09 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.005718/0.2023, allocations: 2.72 MB / 455.2 MB, free: 12.71 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001442/0.2038, allocations: 56.72 kB / 455.3 MB, free: 12.7 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002699/0.2065, allocations: 1.343 MB / 456.6 MB, free: 12.15 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002813/0.2093, allocations: 1.298 MB / 457.9 MB, free: 11.55 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003263/0.2096, allocations: 82.75 kB / 458 MB, free: 11.51 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.003844/0.2135, allocations: 2.777 MB / 460.8 MB, free: 10.34 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00242/0.2159, allocations: 1.68 MB / 462.4 MB, free: 9.555 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002494/0.2184, allocations: 1.544 MB / 464 MB, free: 8.918 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002273/0.2207, allocations: 1.507 MB / 465.5 MB, free: 8.508 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004533/0.2211, allocations: 208.9 kB / 465.7 MB, free: 8.508 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001181/0.2223, allocations: 475.1 kB / 466.2 MB, free: 8.441 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001221/0.2235, allocations: 1.469 MB / 467.6 MB, free: 7.82 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001249/0.2248, allocations: 0.8607 MB / 468.5 MB, free: 7.391 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00568/0.2304, allocations: 5.327 MB / 473.8 MB, free: 3.887 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.45e-06/0.2304, allocations: 0 / 473.8 MB, free: 3.887 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.2304, allocations: 0 / 473.8 MB, free: 3.887 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001409/0.2306, allocations: 0 / 473.8 MB, free: 3.887 MB / 366.1 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.005608/0.2362, allocations: 3.555 MB / 477.4 MB, free: 1.258 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.712e-05/0.2362, allocations: 9.719 kB / 477.4 MB, free: 1.258 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009715/0.2459, allocations: 2.994 MB / 480.4 MB, free: 15.7 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003743/0.2497, allocations: 1.482 MB / 481.9 MB, free: 14.75 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001662/0.2499, allocations: 175.2 kB / 482 MB, free: 14.59 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005583/0.2504, allocations: 224.2 kB / 482.2 MB, free: 14.37 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0167/0.2671, allocations: 9.489 MB / 491.7 MB, free: 4.496 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.535e-05/0.2672, allocations: 15.81 kB / 491.7 MB, free: 4.48 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003498/0.2675, allocations: 115.7 kB / 491.9 MB, free: 4.367 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004131/0.2716, allocations: 2.373 MB / 494.2 MB, free: 1.988 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01785/0.2895, allocations: 8.65 MB / 0.4911 GB, free: 9.328 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04566/0.3352, allocations: 26.55 MB / 0.517 GB, free: 14.01 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005044/0.3402, allocations: 2.1 MB / 0.5191 GB, free: 11.91 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00153/0.3417, allocations: 0.8991 MB / 0.52 GB, free: 11.01 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008838/0.3506, allocations: 3.922 MB / 0.5238 GB, free: 7.059 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.624e-05/0.3506, allocations: 39.22 kB / 0.5238 GB, free: 7.012 MB / 430.1 MB Notification: Performance of pre-optimization done (n=126): time 4.067e-06/0.3506, allocations: 0 / 0.5238 GB, free: 7.012 MB / 430.1 MB Notification: Performance of matching and sorting (n=126): time 0.006688/0.3573, allocations: 2.866 MB / 0.5266 GB, free: 4.141 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.759e-05/0.3574, allocations: 61.56 kB / 0.5267 GB, free: 4.066 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004181/0.3615, allocations: 2.612 MB / 0.5292 GB, free: 1.418 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 8.692e-05/0.3616, allocations: 41.7 kB / 0.5293 GB, free: 1.371 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002196/0.3638, allocations: 2.743 MB / 0.5319 GB, free: 14.59 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005814/0.3644, allocations: 0.5001 MB / 0.5324 GB, free: 14.09 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001332/0.3657, allocations: 0.8974 MB / 0.5333 GB, free: 13.18 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0002142/0.3659, allocations: 349.9 kB / 0.5336 GB, free: 12.83 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002135/0.3681, allocations: 1.352 MB / 0.535 GB, free: 11.47 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004358/0.3724, allocations: 4.118 MB / 0.539 GB, free: 5.961 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007587/0.38, allocations: 5.964 MB / 0.5448 GB, free: 14.62 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.079e-05/0.3801, allocations: 31.94 kB / 0.5448 GB, free: 14.59 MB / 462.1 MB Notification: Performance of matching and sorting (n=588) (initialization): time 0.009134/0.3892, allocations: 5.284 MB / 0.55 GB, free: 9.305 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.108e-05/0.3893, allocations: 48 kB / 0.55 GB, free: 9.258 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001037/0.3894, allocations: 96.88 kB / 0.5501 GB, free: 9.164 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001375/0.3895, allocations: 128 kB / 0.5503 GB, free: 9.039 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002887/0.3924, allocations: 0.9825 MB / 0.5512 GB, free: 8.055 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001817/0.3926, allocations: 199.2 kB / 0.5514 GB, free: 7.859 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002841/0.3955, allocations: 0.5972 MB / 0.552 GB, free: 7.258 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003839/0.3958, allocations: 284 kB / 0.5523 GB, free: 6.98 MB / 462.1 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.003391/0.3992, allocations: 1.892 MB / 0.5541 GB, free: 5.078 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003702/0.3996, allocations: 214.5 kB / 0.5543 GB, free: 4.867 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004899/0.4001, allocations: 266.3 kB / 0.5546 GB, free: 4.605 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.059e-05/0.4001, allocations: 16 kB / 0.5546 GB, free: 4.59 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.45e-05/0.4001, allocations: 4 kB / 0.5546 GB, free: 4.586 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.978e-06/0.4001, allocations: 3.984 kB / 0.5546 GB, free: 4.582 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00761/0.4078, allocations: 4.309 MB / 0.5588 GB, free: 180 kB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.628e-06/0.4078, allocations: 4 kB / 0.5588 GB, free: 176 kB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005895/0.4084, allocations: 139.8 kB / 0.5589 GB, free: 36 kB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.168e-05/0.4084, allocations: 8 kB / 0.5589 GB, free: 28 kB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.901e-05/0.4084, allocations: 23.98 kB / 0.559 GB, free: 4 kB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.301e-05/0.4085, allocations: 7.984 kB / 0.559 GB, free: 15.99 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.289e-06/0.4085, allocations: 8 kB / 0.559 GB, free: 15.98 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002499/0.411, allocations: 1.789 MB / 0.5607 GB, free: 14.12 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003688/0.4113, allocations: 206.4 kB / 0.5609 GB, free: 13.91 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002041/0.4115, allocations: 16 kB / 0.5609 GB, free: 13.9 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005716/0.4121, allocations: 39.95 kB / 0.561 GB, free: 13.86 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001386/0.4123, allocations: 64.28 kB / 0.561 GB, free: 13.8 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.479e-05/0.4123, allocations: 39.98 kB / 0.5611 GB, free: 13.76 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.002296/0.4146, allocations: 1.467 MB / 0.5625 GB, free: 12.27 MB / 478.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4146, allocations: 0 / 0.5625 GB, free: 12.27 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.004242/0.4189, allocations: 1.024 MB / 0.5635 GB, free: 11.25 MB / 478.1 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.0003506/0.4192, allocations: 151 kB / 0.5637 GB, free: 11.09 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.004659/0.4239, allocations: 3.01 MB / 0.5666 GB, free: 8.105 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 3.807e-06/0.4239, allocations: 0 / 0.5666 GB, free: 8.105 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00094/0.4248, allocations: 0.6888 MB / 0.5673 GB, free: 7.422 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009628/0.4258, allocations: 179.1 kB / 0.5674 GB, free: 7.246 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01198/0.4378, allocations: 7.233 MB / 0.5745 GB, free: 15.91 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003352/0.4411, allocations: 2.411 MB / 0.5769 GB, free: 13.47 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.003198/0.4443, allocations: 1.468 MB / 0.5783 GB, free: 12 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003967/0.4447, allocations: 152.5 kB / 0.5784 GB, free: 11.85 MB / 494.1 MB Notification: Performance of SimCode: time 1.363e-06/0.4447, allocations: 0 / 0.5784 GB, free: 11.85 MB / 494.1 MB Notification: Performance of Templates: time 0.03784/0.4826, allocations: 11.92 MB / 0.5901 GB, free: 212 kB / 494.1 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.046100743114948]