Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Visualizers.Torus.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001572/0.001572, allocations: 109.1 kB / 21.84 MB, free: 88 kB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00189/0.00189, allocations: 220.4 kB / 25.13 MB, free: 3.609 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.448/1.448, allocations: 230.4 MB / 258.7 MB, free: 8.055 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2262/0.2262, allocations: 46.93 MB / 362 MB, free: 4.254 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-beta.om/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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-beta.om_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-beta.om_ModelicaTest.MultiBody.Visualizers.Torus") [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002307/0.002307, allocations: 79.84 kB / 0.4978 GB, free: 7.43 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.31/0.3123, allocations: 66.07 MB / 0.5623 GB, free: 4.289 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Torus): time 0.01314/0.3254, allocations: 11.19 MB / 0.5732 GB, free: 9.043 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.006887/0.3323, allocations: 2.831 MB / 0.576 GB, free: 6.207 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002177/0.3345, allocations: 59.81 kB / 0.5761 GB, free: 6.148 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003255/0.3377, allocations: 1.354 MB / 0.5774 GB, free: 4.789 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003521/0.3413, allocations: 1.253 MB / 0.5786 GB, free: 3.531 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004851/0.3417, allocations: 83.89 kB / 0.5787 GB, free: 3.449 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.004118/0.3459, allocations: 2.728 MB / 0.5813 GB, free: 0.7188 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002361/0.3482, allocations: 1.671 MB / 0.583 GB, free: 15.01 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001543/0.3498, allocations: 1.059 MB / 0.584 GB, free: 13.95 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002114/0.3519, allocations: 1.6 MB / 0.5856 GB, free: 12.34 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004758/0.3524, allocations: 208 kB / 0.5858 GB, free: 12.14 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009466/0.3533, allocations: 419.5 kB / 0.5862 GB, free: 11.73 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001455/0.3548, allocations: 1.433 MB / 0.5876 GB, free: 10.29 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001967/0.3567, allocations: 1.692 MB / 0.5892 GB, free: 8.59 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006689/0.3634, allocations: 5.483 MB / 0.5946 GB, free: 3.086 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.275e-06/0.3634, allocations: 11.92 kB / 0.5946 GB, free: 3.074 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.853e-06/0.3634, allocations: 3.938 kB / 0.5946 GB, free: 3.07 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0001674/0.3636, allocations: 0 / 0.5946 GB, free: 3.07 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.007029/0.3706, allocations: 3.597 MB / 0.5981 GB, free: 15.42 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.25e-05/0.3707, allocations: 8.031 kB / 0.5981 GB, free: 15.41 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009469/0.3801, allocations: 2.962 MB / 0.601 GB, free: 12.45 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00353/0.3837, allocations: 1.472 MB / 0.6024 GB, free: 10.94 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001676/0.3838, allocations: 176.6 kB / 0.6026 GB, free: 10.77 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006248/0.3845, allocations: 220 kB / 0.6028 GB, free: 10.55 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01468/0.3991, allocations: 9.472 MB / 0.6121 GB, free: 0.6914 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.602e-05/0.3992, allocations: 19.81 kB / 0.6121 GB, free: 0.6719 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003065/0.3995, allocations: 107.8 kB / 0.6122 GB, free: 0.5664 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003619/0.4031, allocations: 2.381 MB / 0.6145 GB, free: 14.18 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0171/0.4202, allocations: 8.671 MB / 0.623 GB, free: 5.496 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04279/0.463, allocations: 28.93 MB / 0.6512 GB, free: 7.75 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00483/0.4678, allocations: 2.04 MB / 0.6532 GB, free: 5.707 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001441/0.4693, allocations: 0.9023 MB / 0.6541 GB, free: 4.805 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008502/0.4778, allocations: 3.939 MB / 0.658 GB, free: 0.8359 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.029e-05/0.4778, allocations: 47.2 kB / 0.658 GB, free: 0.7773 MB / 494.1 MB Notification: Performance of pre-optimization done (n=126): time 4.178e-06/0.4778, allocations: 0 / 0.658 GB, free: 0.7773 MB / 494.1 MB Notification: Performance of matching and sorting (n=126): time 0.006326/0.4842, allocations: 2.753 MB / 0.6607 GB, free: 14.02 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.351e-05/0.4842, allocations: 60.06 kB / 0.6607 GB, free: 13.95 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003963/0.4882, allocations: 2.566 MB / 0.6633 GB, free: 11.36 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 8.067e-05/0.4883, allocations: 37.7 kB / 0.6633 GB, free: 11.31 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.00211/0.4904, allocations: 2.763 MB / 0.666 GB, free: 8.523 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005512/0.4909, allocations: 0.5117 MB / 0.6665 GB, free: 8.008 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00118/0.4921, allocations: 0.9052 MB / 0.6674 GB, free: 7.09 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.000198/0.4923, allocations: 361.9 kB / 0.6677 GB, free: 6.73 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002049/0.4944, allocations: 1.359 MB / 0.669 GB, free: 5.363 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004478/0.4988, allocations: 4.114 MB / 0.6731 GB, free: 15.86 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007665/0.5065, allocations: 5.96 MB / 0.6789 GB, free: 8.523 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.044e-05/0.5066, allocations: 28 kB / 0.6789 GB, free: 8.496 MB / 0.5137 GB Notification: Performance of matching and sorting (n=588) (initialization): time 0.009081/0.5157, allocations: 5.296 MB / 0.6841 GB, free: 3.195 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 8.15e-05/0.5157, allocations: 54.48 kB / 0.6841 GB, free: 3.145 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000104/0.5158, allocations: 96 kB / 0.6842 GB, free: 3.051 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001387/0.516, allocations: 128 kB / 0.6843 GB, free: 2.926 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002718/0.5187, allocations: 0.9747 MB / 0.6853 GB, free: 1.949 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001588/0.5189, allocations: 191.3 kB / 0.6855 GB, free: 1.762 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002597/0.5215, allocations: 0.6168 MB / 0.6861 GB, free: 1.145 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003596/0.5218, allocations: 280 kB / 0.6863 GB, free: 0.8711 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.002827/0.5246, allocations: 1.895 MB / 0.6882 GB, free: 14.96 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003175/0.525, allocations: 222.5 kB / 0.6884 GB, free: 14.75 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000507/0.5255, allocations: 271.3 kB / 0.6887 GB, free: 14.48 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.424e-05/0.5255, allocations: 19.98 kB / 0.6887 GB, free: 14.46 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.04e-05/0.5255, allocations: 0 / 0.6887 GB, free: 14.46 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.287e-06/0.5255, allocations: 3.984 kB / 0.6887 GB, free: 14.45 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008913/0.5344, allocations: 5.593 MB / 0.6942 GB, free: 8.738 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.024e-05/0.5344, allocations: 7.938 kB / 0.6942 GB, free: 8.73 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005744/0.535, allocations: 136.4 kB / 0.6943 GB, free: 8.598 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.205e-05/0.535, allocations: 4 kB / 0.6943 GB, free: 8.594 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.171e-05/0.5351, allocations: 27.98 kB / 0.6943 GB, free: 8.566 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.253e-05/0.5351, allocations: 11.94 kB / 0.6943 GB, free: 8.555 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.015e-06/0.5351, allocations: 8 kB / 0.6943 GB, free: 8.547 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002425/0.5375, allocations: 1.805 MB / 0.6961 GB, free: 6.664 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004344/0.538, allocations: 214.2 kB / 0.6963 GB, free: 6.453 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001994/0.5382, allocations: 23.98 kB / 0.6963 GB, free: 6.43 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005432/0.5387, allocations: 35.95 kB / 0.6964 GB, free: 6.395 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001381/0.5389, allocations: 68.28 kB / 0.6964 GB, free: 6.328 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.359e-05/0.5389, allocations: 39.98 kB / 0.6965 GB, free: 6.289 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.002304/0.5412, allocations: 1.552 MB / 0.698 GB, free: 4.723 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1e-07/0.5412, allocations: 0 / 0.698 GB, free: 4.723 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.003807/0.5451, allocations: 1.004 MB / 0.699 GB, free: 3.715 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.0003463/0.5454, allocations: 151 kB / 0.6991 GB, free: 3.559 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.004864/0.5503, allocations: 3.019 MB / 0.7021 GB, free: 0.5625 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 5.891e-06/0.5503, allocations: 0 / 0.7021 GB, free: 0.5625 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0009757/0.5512, allocations: 0.6875 MB / 0.7027 GB, free: 15.88 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001222/0.5525, allocations: 260.2 kB / 0.703 GB, free: 15.62 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01213/0.5646, allocations: 7.274 MB / 0.7101 GB, free: 8.262 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003369/0.568, allocations: 2.958 MB / 0.713 GB, free: 5.27 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.003214/0.5712, allocations: 1.484 MB / 0.7144 GB, free: 3.777 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003758/0.5716, allocations: 155.4 kB / 0.7146 GB, free: 3.625 MB / 0.545 GB Notification: Performance of SimCode: time 1.172e-06/0.5716, allocations: 0 / 0.7146 GB, free: 3.625 MB / 0.545 GB Notification: Performance of Templates: time 0.3084/0.88, allocations: 19.7 MB / 0.7338 GB, free: 156.1 MB / 0.5606 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Visualizers.Torus.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Visualizers.Torus.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Visualizers.Torus.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Visualizers.Torus.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Visualizers.Torus.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Visualizers.Torus -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Visualizers.Torus.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Visualizers.Torus_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Visualizers/Torus/Torus.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_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.419985102955252]