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.001323/0.001323, allocations: 99.66 kB / 21.18 MB, free: 0.5273 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.001471/0.001471, allocations: 213.2 kB / 24.48 MB, free: 3.84 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.463/1.463, allocations: 230.6 MB / 258.2 MB, free: 7.812 MB / 206.1 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.2347/0.2347, allocations: 44.93 MB / 359.6 MB, free: 6.148 MB / 286.1 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: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00234/0.00234, allocations: 66.55 kB / 0.4942 GB, free: 10.05 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3413/0.3437, allocations: 65.47 MB / 0.5582 GB, free: 7.488 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Torus): time 0.01358/0.3573, allocations: 9.808 MB / 0.5678 GB, free: 13.62 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.006687/0.3639, allocations: 2.709 MB / 0.5704 GB, free: 10.91 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001743/0.3657, allocations: 59.81 kB / 0.5705 GB, free: 10.85 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003081/0.3688, allocations: 1.296 MB / 0.5717 GB, free: 9.551 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003233/0.372, allocations: 1.261 MB / 0.573 GB, free: 8.285 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00035/0.3724, allocations: 79.91 kB / 0.573 GB, free: 8.207 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.003728/0.3761, allocations: 2.718 MB / 0.5757 GB, free: 5.484 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002355/0.3784, allocations: 1.664 MB / 0.5773 GB, free: 3.785 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001742/0.3802, allocations: 1.062 MB / 0.5783 GB, free: 2.719 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002459/0.3826, allocations: 1.541 MB / 0.5799 GB, free: 1.172 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005109/0.3832, allocations: 208 kB / 0.5801 GB, free: 0.9688 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001049/0.3842, allocations: 415.5 kB / 0.5804 GB, free: 0.5625 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001531/0.3857, allocations: 1.425 MB / 0.5818 GB, free: 15.13 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00154/0.3873, allocations: 1.195 MB / 0.583 GB, free: 13.93 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007198/0.3945, allocations: 5.483 MB / 0.5884 GB, free: 8.426 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.656e-06/0.3945, allocations: 4 kB / 0.5884 GB, free: 8.422 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.823e-06/0.3945, allocations: 0 / 0.5884 GB, free: 8.422 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.000193/0.3947, allocations: 3.938 kB / 0.5884 GB, free: 8.418 MB / 430.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.007147/0.4018, allocations: 3.599 MB / 0.5919 GB, free: 4.77 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.654e-05/0.4019, allocations: 12.03 kB / 0.5919 GB, free: 4.758 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01046/0.4123, allocations: 2.958 MB / 0.5948 GB, free: 1.793 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004546/0.4169, allocations: 1.492 MB / 0.5962 GB, free: 280 kB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001977/0.4171, allocations: 172.6 kB / 0.5964 GB, free: 104 kB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009175/0.418, allocations: 232 kB / 0.5966 GB, free: 15.87 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01733/0.4353, allocations: 9.472 MB / 0.6059 GB, free: 6.02 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.749e-05/0.4354, allocations: 15.81 kB / 0.6059 GB, free: 6.004 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003602/0.4357, allocations: 103.8 kB / 0.606 GB, free: 5.902 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004229/0.44, allocations: 2.377 MB / 0.6083 GB, free: 3.523 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01822/0.4582, allocations: 8.652 MB / 0.6168 GB, free: 10.86 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04673/0.5049, allocations: 26.42 MB / 0.6426 GB, free: 15.64 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005437/0.5104, allocations: 2.029 MB / 0.6445 GB, free: 13.6 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002002/0.5124, allocations: 0.9012 MB / 0.6454 GB, free: 12.7 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01673/0.5291, allocations: 3.766 MB / 0.6491 GB, free: 8.898 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.091e-05/0.5292, allocations: 47.22 kB / 0.6492 GB, free: 8.844 MB / 494.1 MB Notification: Performance of pre-optimization done (n=126): time 7.514e-06/0.5292, allocations: 0 / 0.6492 GB, free: 8.844 MB / 494.1 MB Notification: Performance of matching and sorting (n=126): time 0.01263/0.5418, allocations: 2.733 MB / 0.6518 GB, free: 6.102 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.437e-05/0.5419, allocations: 64.06 kB / 0.6519 GB, free: 6.027 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006811/0.5487, allocations: 2.612 MB / 0.6544 GB, free: 3.379 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002192/0.5489, allocations: 45.7 kB / 0.6545 GB, free: 3.328 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003605/0.5525, allocations: 2.767 MB / 0.6572 GB, free: 0.5312 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009934/0.5535, allocations: 0.5079 MB / 0.6577 GB, free: 20 kB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00218/0.5557, allocations: 0.9091 MB / 0.6586 GB, free: 15.1 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0002777/0.556, allocations: 349.9 kB / 0.6589 GB, free: 14.75 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004227/0.5602, allocations: 1.352 MB / 0.6602 GB, free: 13.39 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008388/0.5686, allocations: 4.114 MB / 0.6642 GB, free: 7.887 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01367/0.5823, allocations: 5.968 MB / 0.6701 GB, free: 0.5469 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001568/0.5824, allocations: 28 kB / 0.6701 GB, free: 0.5195 MB / 0.4981 GB Notification: Performance of matching and sorting (n=588) (initialization): time 0.01304/0.5955, allocations: 5.28 MB / 0.6752 GB, free: 11.23 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 8.169e-05/0.5955, allocations: 52.06 kB / 0.6753 GB, free: 11.18 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001347/0.5957, allocations: 96 kB / 0.6754 GB, free: 11.09 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00016/0.5958, allocations: 132 kB / 0.6755 GB, free: 10.96 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00312/0.5989, allocations: 0.9786 MB / 0.6765 GB, free: 9.977 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001798/0.5991, allocations: 191.3 kB / 0.6766 GB, free: 9.789 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003161/0.6023, allocations: 0.5972 MB / 0.6772 GB, free: 9.188 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004765/0.6028, allocations: 280 kB / 0.6775 GB, free: 8.914 MB / 0.5137 GB 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.00345/0.6062, allocations: 1.899 MB / 0.6794 GB, free: 7 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003975/0.6066, allocations: 218.5 kB / 0.6796 GB, free: 6.785 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004925/0.6071, allocations: 266.2 kB / 0.6798 GB, free: 6.523 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.759e-05/0.6072, allocations: 16 kB / 0.6798 GB, free: 6.508 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.357e-05/0.6072, allocations: 0 / 0.6798 GB, free: 6.508 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.015e-05/0.6072, allocations: 7.922 kB / 0.6798 GB, free: 6.5 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008756/0.6159, allocations: 4.27 MB / 0.684 GB, free: 2.129 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.898e-06/0.6159, allocations: 4 kB / 0.684 GB, free: 2.125 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006/0.6165, allocations: 135.8 kB / 0.6841 GB, free: 1.992 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.435e-05/0.6166, allocations: 11.98 kB / 0.6842 GB, free: 1.98 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.49e-05/0.6166, allocations: 27.94 kB / 0.6842 GB, free: 1.953 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.089e-05/0.6166, allocations: 8 kB / 0.6842 GB, free: 1.945 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.07e-06/0.6166, allocations: 4.469 kB / 0.6842 GB, free: 1.941 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002393/0.619, allocations: 1.793 MB / 0.6859 GB, free: 76 kB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005836/0.6196, allocations: 210.3 kB / 0.6861 GB, free: 15.86 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002386/0.6199, allocations: 19.98 kB / 0.6862 GB, free: 15.84 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000683/0.6205, allocations: 43.91 kB / 0.6862 GB, free: 15.8 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000132/0.6207, allocations: 64.28 kB / 0.6863 GB, free: 15.74 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.58e-05/0.6208, allocations: 43.98 kB / 0.6863 GB, free: 15.7 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.002392/0.6231, allocations: 1.463 MB / 0.6877 GB, free: 14.22 MB / 0.5294 GB Notification: Performance of sort global known variables: time 2.3e-07/0.6231, allocations: 4 kB / 0.6877 GB, free: 14.21 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.003939/0.6271, allocations: 1.012 MB / 0.6887 GB, free: 13.2 MB / 0.5294 GB 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.0003812/0.6275, allocations: 143 kB / 0.6889 GB, free: 13.05 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.008085/0.6356, allocations: 3.014 MB / 0.6918 GB, free: 10.06 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.499e-05/0.6356, allocations: 5 kB / 0.6918 GB, free: 10.06 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.001599/0.6372, allocations: 0.6866 MB / 0.6925 GB, free: 9.375 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001913/0.6391, allocations: 178.1 kB / 0.6927 GB, free: 9.199 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02172/0.6608, allocations: 7.687 MB / 0.7002 GB, free: 1.414 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005935/0.6667, allocations: 2.418 MB / 0.7025 GB, free: 14.96 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001083/0.6678, allocations: 195.4 kB / 0.7027 GB, free: 14.77 MB / 0.545 GB Notification: Performance of SimCode: time 1.513e-06/0.6678, allocations: 0 / 0.7027 GB, free: 14.77 MB / 0.545 GB Notification: Performance of Templates: time 0.338/1.006, allocations: 42.57 MB / 0.7443 GB, free: 147.6 MB / 0.5606 GB " [Timeout remaining time 659] 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Visualizers/Torus/Torus.csv","/var/lib/jenkins1/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: 11.177139814943075]