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 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001811/0.001811, allocations: 108.9 kB / 20.37 MB, free: 2.102 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002533/0.002533, allocations: 217.8 kB / 23.54 MB, free: 5.402 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.5/1.5, allocations: 230.2 MB / 256.8 MB, free: 8.633 MB / 206.1 MB [Timeout remaining time 88] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2366/0.2366, allocations: 46.88 MB / 359.9 MB, free: 5.023 MB / 286.1 MB [Timeout remaining time 90] 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.002325/0.002325, allocations: 75.88 kB / 0.4949 GB, free: 8.742 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3352/0.3375, allocations: 65.99 MB / 0.5594 GB, free: 5.211 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Torus): time 0.01356/0.351, allocations: 11.29 MB / 0.5704 GB, free: 9.867 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.00618/0.3572, allocations: 2.834 MB / 0.5732 GB, free: 7.023 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001445/0.3587, allocations: 51.94 kB / 0.5732 GB, free: 6.973 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002806/0.3615, allocations: 1.35 MB / 0.5745 GB, free: 5.617 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002704/0.3642, allocations: 1.241 MB / 0.5758 GB, free: 4.371 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003062/0.3645, allocations: 83.89 kB / 0.5758 GB, free: 4.289 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.003203/0.3677, allocations: 2.725 MB / 0.5785 GB, free: 1.562 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002017/0.3697, allocations: 1.626 MB / 0.5801 GB, free: 15.9 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001484/0.3712, allocations: 1.035 MB / 0.5811 GB, free: 14.86 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002225/0.3734, allocations: 1.608 MB / 0.5827 GB, free: 13.25 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000462/0.3739, allocations: 212 kB / 0.5829 GB, free: 13.04 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00111/0.375, allocations: 0.5032 MB / 0.5834 GB, free: 12.54 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001756/0.3767, allocations: 1.421 MB / 0.5847 GB, free: 11.11 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002164/0.3789, allocations: 1.7 MB / 0.5864 GB, free: 9.402 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007535/0.3864, allocations: 5.463 MB / 0.5917 GB, free: 3.918 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.154e-06/0.3864, allocations: 0 / 0.5917 GB, free: 3.918 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.914e-06/0.3864, allocations: 0 / 0.5917 GB, free: 3.918 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.000167/0.3866, allocations: 0 / 0.5917 GB, free: 3.918 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.006515/0.3931, allocations: 3.676 MB / 0.5953 GB, free: 176 kB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.707e-05/0.3932, allocations: 8.031 kB / 0.5953 GB, free: 168 kB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009673/0.4028, allocations: 2.965 MB / 0.5982 GB, free: 13.19 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003471/0.4063, allocations: 1.538 MB / 0.5997 GB, free: 11.61 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001652/0.4065, allocations: 172.6 kB / 0.5999 GB, free: 11.44 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005871/0.4071, allocations: 225 kB / 0.6001 GB, free: 11.22 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01567/0.4227, allocations: 9.476 MB / 0.6094 GB, free: 1.359 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.025e-05/0.4228, allocations: 11.88 kB / 0.6094 GB, free: 1.348 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003731/0.4232, allocations: 115.8 kB / 0.6095 GB, free: 1.234 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00391/0.4271, allocations: 2.369 MB / 0.6118 GB, free: 14.86 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0168/0.4439, allocations: 8.664 MB / 0.6203 GB, free: 6.18 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04346/0.4873, allocations: 29.15 MB / 0.6487 GB, free: 8.227 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005132/0.4925, allocations: 2.942 MB / 0.6516 GB, free: 5.059 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001371/0.4938, allocations: 0.9023 MB / 0.6525 GB, free: 4.156 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009225/0.5031, allocations: 4.846 MB / 0.6572 GB, free: 15.05 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.157e-05/0.5031, allocations: 43.22 kB / 0.6573 GB, free: 15 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=126): time 4.308e-06/0.5031, allocations: 0 / 0.6573 GB, free: 15 MB / 0.4981 GB Notification: Performance of matching and sorting (n=126): time 0.006223/0.5093, allocations: 2.745 MB / 0.6599 GB, free: 12.25 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.97e-05/0.5094, allocations: 60.06 kB / 0.66 GB, free: 12.18 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003954/0.5134, allocations: 2.566 MB / 0.6625 GB, free: 9.59 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001111/0.5135, allocations: 45.69 kB / 0.6625 GB, free: 9.539 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.002338/0.5158, allocations: 2.759 MB / 0.6652 GB, free: 6.754 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006079/0.5164, allocations: 0.5117 MB / 0.6657 GB, free: 6.238 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001225/0.5176, allocations: 0.9091 MB / 0.6666 GB, free: 5.316 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0002136/0.5178, allocations: 353.9 kB / 0.667 GB, free: 4.965 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002/0.5198, allocations: 1.352 MB / 0.6683 GB, free: 3.605 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004414/0.5243, allocations: 4.118 MB / 0.6723 GB, free: 14.1 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007351/0.5316, allocations: 5.964 MB / 0.6781 GB, free: 6.758 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.899e-05/0.5317, allocations: 28 kB / 0.6782 GB, free: 6.73 MB / 0.5137 GB Notification: Performance of matching and sorting (n=588) (initialization): time 0.00913/0.5408, allocations: 5.3 MB / 0.6833 GB, free: 1.426 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 7.725e-05/0.5409, allocations: 51.94 kB / 0.6834 GB, free: 1.375 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001151/0.541, allocations: 100 kB / 0.6835 GB, free: 1.277 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001372/0.5412, allocations: 140 kB / 0.6836 GB, free: 1.141 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002797/0.5439, allocations: 0.9747 MB / 0.6846 GB, free: 168 kB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000181/0.5441, allocations: 191.3 kB / 0.6847 GB, free: 15.97 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002889/0.547, allocations: 0.6126 MB / 0.6853 GB, free: 15.36 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004585/0.5475, allocations: 284 kB / 0.6856 GB, free: 15.08 MB / 0.5294 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.003298/0.5508, allocations: 1.887 MB / 0.6875 GB, free: 13.18 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004485/0.5512, allocations: 226.5 kB / 0.6877 GB, free: 12.96 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006442/0.5519, allocations: 275.3 kB / 0.6879 GB, free: 12.69 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.021e-05/0.5519, allocations: 12 kB / 0.688 GB, free: 12.68 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.022e-05/0.5519, allocations: 0 / 0.688 GB, free: 12.68 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.598e-06/0.5519, allocations: 7.984 kB / 0.688 GB, free: 12.67 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009307/0.5612, allocations: 5.615 MB / 0.6934 GB, free: 6.926 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.649e-05/0.5612, allocations: 8 kB / 0.6934 GB, free: 6.918 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005801/0.5618, allocations: 135.8 kB / 0.6936 GB, free: 6.785 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.37e-05/0.5618, allocations: 8 kB / 0.6936 GB, free: 6.777 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.9e-05/0.5619, allocations: 20 kB / 0.6936 GB, free: 6.758 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.013e-05/0.5619, allocations: 8 kB / 0.6936 GB, free: 6.75 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.465e-06/0.5619, allocations: 7.938 kB / 0.6936 GB, free: 6.742 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002437/0.5644, allocations: 1.801 MB / 0.6954 GB, free: 4.867 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005912/0.5649, allocations: 299.3 kB / 0.6957 GB, free: 4.555 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001971/0.5651, allocations: 16 kB / 0.6957 GB, free: 4.539 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005763/0.5657, allocations: 47.94 kB / 0.6957 GB, free: 4.492 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001199/0.5658, allocations: 56.38 kB / 0.6958 GB, free: 4.438 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.709e-05/0.5659, allocations: 40 kB / 0.6958 GB, free: 4.398 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.00232/0.5683, allocations: 1.56 MB / 0.6973 GB, free: 2.824 MB / 0.5294 GB Notification: Performance of sort global known variables: time 9e-08/0.5683, allocations: 0 / 0.6973 GB, free: 2.824 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.003809/0.5721, allocations: 1.008 MB / 0.6983 GB, free: 1.812 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.0003823/0.5725, allocations: 142.9 kB / 0.6985 GB, free: 1.664 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.005004/0.5775, allocations: 3.027 MB / 0.7014 GB, free: 14.66 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 5.931e-06/0.5775, allocations: 0 / 0.7014 GB, free: 14.66 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0009023/0.5784, allocations: 0.6827 MB / 0.7021 GB, free: 13.98 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001352/0.5797, allocations: 264.5 kB / 0.7023 GB, free: 13.72 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01371/0.5934, allocations: 7.693 MB / 0.7099 GB, free: 5.934 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00365/0.5971, allocations: 2.969 MB / 0.7128 GB, free: 2.934 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006466/0.5977, allocations: 195.4 kB / 0.7129 GB, free: 2.742 MB / 0.545 GB Notification: Performance of SimCode: time 1.213e-06/0.5977, allocations: 0 / 0.7129 GB, free: 2.742 MB / 0.545 GB Notification: Performance of Templates: time 0.3225/0.9203, allocations: 42.49 MB / 0.7544 GB, free: 142.7 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 -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