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.001928/0.001928, allocations: 107.6 kB / 21.19 MB, free: 0.6484 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.001776/0.001776, allocations: 213.3 kB / 24.48 MB, free: 3.957 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.659/1.659, allocations: 230.6 MB / 258.3 MB, free: 7.738 MB / 206.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.2529/0.2529, allocations: 46.96 MB / 361.6 MB, free: 4.09 MB / 286.1 MB " [Timeout remaining time 179] 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 0.002034/0.002034, allocations: 63.89 kB / 0.4973 GB, free: 7.203 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3617/0.3637, allocations: 66.03 MB / 0.5618 GB, free: 4.152 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Torus): time 0.01285/0.3766, allocations: 9.804 MB / 0.5714 GB, free: 10.29 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.006755/0.3833, allocations: 2.702 MB / 0.574 GB, free: 7.586 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001754/0.3851, allocations: 59.81 kB / 0.5741 GB, free: 7.527 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002952/0.388, allocations: 1.312 MB / 0.5754 GB, free: 6.211 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003339/0.3914, allocations: 1.261 MB / 0.5766 GB, free: 4.945 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004246/0.3918, allocations: 75.92 kB / 0.5767 GB, free: 4.871 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.003963/0.3958, allocations: 2.72 MB / 0.5793 GB, free: 2.148 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002492/0.3983, allocations: 1.679 MB / 0.581 GB, free: 444 kB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001859/0.4001, allocations: 1.059 MB / 0.582 GB, free: 15.37 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002683/0.4028, allocations: 1.6 MB / 0.5835 GB, free: 13.77 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005551/0.4034, allocations: 208 kB / 0.5837 GB, free: 13.56 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001097/0.4045, allocations: 415.5 kB / 0.5841 GB, free: 13.16 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001626/0.4061, allocations: 1.441 MB / 0.5855 GB, free: 11.71 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001676/0.4078, allocations: 1.187 MB / 0.5867 GB, free: 10.52 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007164/0.4149, allocations: 5.483 MB / 0.5921 GB, free: 5.012 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.093e-06/0.4149, allocations: 8 kB / 0.5921 GB, free: 5.004 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.4149, allocations: 0 / 0.5921 GB, free: 5.004 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0001826/0.4151, allocations: 0 / 0.5921 GB, free: 5.004 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.007385/0.4225, allocations: 3.597 MB / 0.5956 GB, free: 1.355 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.21e-05/0.4226, allocations: 16.03 kB / 0.5956 GB, free: 1.34 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009919/0.4325, allocations: 2.958 MB / 0.5985 GB, free: 14.38 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004624/0.4371, allocations: 1.496 MB / 0.5999 GB, free: 12.85 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001905/0.4373, allocations: 172.6 kB / 0.6001 GB, free: 12.68 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007636/0.4381, allocations: 228 kB / 0.6003 GB, free: 12.46 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01646/0.4545, allocations: 9.468 MB / 0.6096 GB, free: 2.605 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.452e-05/0.4546, allocations: 19.81 kB / 0.6096 GB, free: 2.586 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003632/0.4549, allocations: 107.8 kB / 0.6097 GB, free: 2.48 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003939/0.4589, allocations: 2.373 MB / 0.612 GB, free: 108 kB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01729/0.4762, allocations: 8.648 MB / 0.6205 GB, free: 7.434 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04451/0.5207, allocations: 26.42 MB / 0.6463 GB, free: 12.22 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00552/0.5262, allocations: 2.029 MB / 0.6482 GB, free: 10.19 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001836/0.528, allocations: 0.8984 MB / 0.6491 GB, free: 9.285 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01086/0.5389, allocations: 3.77 MB / 0.6528 GB, free: 5.48 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.978e-05/0.5389, allocations: 43.22 kB / 0.6528 GB, free: 5.43 MB / 494.1 MB Notification: Performance of pre-optimization done (n=126): time 6.002e-06/0.5389, allocations: 0 / 0.6528 GB, free: 5.43 MB / 494.1 MB Notification: Performance of matching and sorting (n=126): time 0.006562/0.5455, allocations: 2.741 MB / 0.6555 GB, free: 2.684 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.306e-05/0.5456, allocations: 60.06 kB / 0.6556 GB, free: 2.613 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004094/0.5497, allocations: 2.612 MB / 0.6581 GB, free: 15.96 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001431/0.5498, allocations: 41.7 kB / 0.6582 GB, free: 15.92 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.002568/0.5524, allocations: 2.77 MB / 0.6609 GB, free: 13.12 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007014/0.5531, allocations: 0.5078 MB / 0.6614 GB, free: 12.61 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001353/0.5544, allocations: 0.9052 MB / 0.6623 GB, free: 11.69 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0002422/0.5547, allocations: 349.9 kB / 0.6626 GB, free: 11.34 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002173/0.5568, allocations: 1.355 MB / 0.6639 GB, free: 9.977 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004663/0.5615, allocations: 4.114 MB / 0.6679 GB, free: 4.473 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00803/0.5695, allocations: 5.964 MB / 0.6738 GB, free: 13.13 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001094/0.5696, allocations: 31.94 kB / 0.6738 GB, free: 13.1 MB / 0.5137 GB Notification: Performance of matching and sorting (n=588) (initialization): time 0.01028/0.5799, allocations: 5.28 MB / 0.6789 GB, free: 7.812 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 7.657e-05/0.58, allocations: 56.02 kB / 0.679 GB, free: 7.758 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001298/0.5801, allocations: 96 kB / 0.6791 GB, free: 7.664 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001492/0.5803, allocations: 128 kB / 0.6792 GB, free: 7.539 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003055/0.5833, allocations: 0.9786 MB / 0.6802 GB, free: 6.559 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000173/0.5835, allocations: 191.3 kB / 0.6803 GB, free: 6.371 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00306/0.5866, allocations: 0.5971 MB / 0.6809 GB, free: 5.773 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004708/0.587, allocations: 276 kB / 0.6812 GB, free: 5.504 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.003483/0.5905, allocations: 1.899 MB / 0.683 GB, free: 3.59 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004293/0.5909, allocations: 214.5 kB / 0.6833 GB, free: 3.379 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004874/0.5914, allocations: 262.3 kB / 0.6835 GB, free: 3.121 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.074e-05/0.5915, allocations: 23.92 kB / 0.6835 GB, free: 3.098 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.415e-05/0.5915, allocations: 0 / 0.6835 GB, free: 3.098 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.17e-05/0.5915, allocations: 3.984 kB / 0.6835 GB, free: 3.094 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008649/0.6001, allocations: 4.273 MB / 0.6877 GB, free: 14.72 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.889e-06/0.6002, allocations: 4 kB / 0.6877 GB, free: 14.71 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000612/0.6008, allocations: 131.8 kB / 0.6878 GB, free: 14.59 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.424e-05/0.6008, allocations: 11.98 kB / 0.6878 GB, free: 14.57 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.15e-05/0.6008, allocations: 23.98 kB / 0.6879 GB, free: 14.55 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.773e-05/0.6009, allocations: 15.92 kB / 0.6879 GB, free: 14.54 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.49e-06/0.6009, allocations: 4 kB / 0.6879 GB, free: 14.53 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002477/0.6033, allocations: 1.79 MB / 0.6896 GB, free: 12.67 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005145/0.6039, allocations: 218.2 kB / 0.6898 GB, free: 12.45 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002185/0.6041, allocations: 19.98 kB / 0.6899 GB, free: 12.43 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006003/0.6047, allocations: 47.94 kB / 0.6899 GB, free: 12.39 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001355/0.6048, allocations: 64.28 kB / 0.69 GB, free: 12.32 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.16e-05/0.6049, allocations: 40 kB / 0.69 GB, free: 12.29 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.002279/0.6072, allocations: 1.467 MB / 0.6914 GB, free: 10.8 MB / 0.5294 GB Notification: Performance of sort global known variables: time 8e-08/0.6072, allocations: 0 / 0.6914 GB, free: 10.8 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.003955/0.6111, allocations: 1.016 MB / 0.6924 GB, free: 9.781 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.0004074/0.6115, allocations: 135 kB / 0.6926 GB, free: 9.641 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.005405/0.617, allocations: 3.026 MB / 0.6955 GB, free: 6.641 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.011e-05/0.617, allocations: 0.9375 kB / 0.6955 GB, free: 6.641 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.001106/0.6181, allocations: 0.6866 MB / 0.6962 GB, free: 5.957 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001476/0.6195, allocations: 182.2 kB / 0.6964 GB, free: 5.777 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01549/0.635, allocations: 7.688 MB / 0.7039 GB, free: 13.98 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003718/0.6388, allocations: 2.422 MB / 0.7062 GB, free: 11.52 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006725/0.6394, allocations: 183.4 kB / 0.7064 GB, free: 11.34 MB / 0.545 GB Notification: Performance of SimCode: time 1.794e-06/0.6394, allocations: 0 / 0.7064 GB, free: 11.34 MB / 0.545 GB Notification: Performance of Templates: time 0.3705/1.01, allocations: 42.57 MB / 0.748 GB, free: 146.7 MB / 0.5606 GB " [Timeout remaining time 659] 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/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_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.703485278994776]