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.002148/0.002148, allocations: 106.5 kB / 21.23 MB, free: 0.6562 MB / 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.002481/0.002481, allocations: 212 kB / 24.54 MB, free: 4.016 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.516/1.516, allocations: 230.3 MB / 258 MB, free: 8.227 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.2307/0.2307, allocations: 46.94 MB / 361.4 MB, free: 4.398 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.002476/0.002476, allocations: 75.88 kB / 0.4972 GB, free: 7.523 MB / 366.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.3536/0.356, allocations: 66.04 MB / 0.5616 GB, free: 4.523 MB / 398.1 MB
Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Torus): time 0.01511/0.3711, allocations: 11.31 MB / 0.5727 GB, free: 9.16 MB / 414.1 MB
Notification: Performance of NFInst.instExpressions: time 0.006424/0.3776, allocations: 2.858 MB / 0.5755 GB, free: 6.297 MB / 414.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 0.001634/0.3792, allocations: 59.81 kB / 0.5755 GB, free: 6.238 MB / 414.1 MB
Notification: Performance of NFTyping.typeComponents: time 0.003051/0.3823, allocations: 1.354 MB / 0.5769 GB, free: 4.879 MB / 414.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.003094/0.3854, allocations: 1.257 MB / 0.5781 GB, free: 3.617 MB / 414.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.0004369/0.3858, allocations: 79.84 kB / 0.5782 GB, free: 3.539 MB / 414.1 MB
Notification: Performance of NFFlatten.flatten: time 0.003847/0.3896, allocations: 2.717 MB / 0.5808 GB, free: 0.8164 MB / 414.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 0.002482/0.3921, allocations: 1.462 MB / 0.5822 GB, free: 15.32 MB / 430.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 0.001852/0.394, allocations: 1.059 MB / 0.5833 GB, free: 14.26 MB / 430.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 0.002329/0.3963, allocations: 1.604 MB / 0.5848 GB, free: 12.65 MB / 430.1 MB
Notification: Performance of NFPackage.collectConstants: time 0.0006209/0.3969, allocations: 212 kB / 0.585 GB, free: 12.44 MB / 430.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 0.001285/0.3982, allocations: 0.4993 MB / 0.5855 GB, free: 11.94 MB / 430.1 MB
Notification: Performance of NFScalarize.scalarize: time 0.001682/0.3999, allocations: 1.437 MB / 0.5869 GB, free: 10.5 MB / 430.1 MB
Notification: Performance of NFVerifyModel.verify: time 0.0018/0.4017, allocations: 1.696 MB / 0.5886 GB, free: 8.793 MB / 430.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.005936/0.4076, allocations: 5.463 MB / 0.5939 GB, free: 3.309 MB / 430.1 MB
Notification: Performance of FrontEnd - DAE generated: time 4.007e-06/0.4076, allocations: 4 kB / 0.5939 GB, free: 3.305 MB / 430.1 MB
Notification: Performance of FrontEnd: time 1.723e-06/0.4076, allocations: 0 / 0.5939 GB, free: 3.305 MB / 430.1 MB
Notification: Performance of Transformations before backend: time 8.628e-05/0.4077, allocations: 0 / 0.5939 GB, free: 3.305 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.006734/0.4144, allocations: 3.597 MB / 0.5974 GB, free: 15.66 MB / 446.1 MB
Notification: Performance of prepare preOptimizeDAE: time 4.742e-05/0.4145, allocations: 19.95 kB / 0.5975 GB, free: 15.64 MB / 446.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01011/0.4246, allocations: 2.958 MB / 0.6003 GB, free: 12.67 MB / 446.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.00458/0.4292, allocations: 1.476 MB / 0.6018 GB, free: 11.16 MB / 446.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002436/0.4294, allocations: 176.6 kB / 0.602 GB, free: 10.99 MB / 446.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 0.001214/0.4306, allocations: 227.9 kB / 0.6022 GB, free: 10.77 MB / 446.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.01658/0.4472, allocations: 9.468 MB / 0.6114 GB, free: 0.9102 MB / 446.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 5.576e-05/0.4473, allocations: 19.81 kB / 0.6114 GB, free: 0.8906 MB / 446.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000338/0.4476, allocations: 103.8 kB / 0.6115 GB, free: 0.7891 MB / 446.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003971/0.4516, allocations: 2.377 MB / 0.6139 GB, free: 14.41 MB / 462.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01851/0.4701, allocations: 8.663 MB / 0.6223 GB, free: 5.734 MB / 462.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04437/0.5145, allocations: 29.06 MB / 0.6507 GB, free: 7.859 MB / 494.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.004685/0.5192, allocations: 2.036 MB / 0.6527 GB, free: 5.82 MB / 494.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 0.001427/0.5206, allocations: 0.8984 MB / 0.6536 GB, free: 4.922 MB / 494.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 0.009183/0.5298, allocations: 3.95 MB / 0.6574 GB, free: 0.9414 MB / 494.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.654e-05/0.5298, allocations: 47.16 kB / 0.6575 GB, free: 0.8828 MB / 494.1 MB
Notification: Performance of pre-optimization done (n=126): time 4.609e-06/0.5298, allocations: 0 / 0.6575 GB, free: 0.8828 MB / 494.1 MB
Notification: Performance of matching and sorting (n=126): time 0.006335/0.5362, allocations: 2.745 MB / 0.6601 GB, free: 14.13 MB / 0.4981 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 5.777e-05/0.5362, allocations: 60.06 kB / 0.6602 GB, free: 14.06 MB / 0.4981 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004322/0.5405, allocations: 2.573 MB / 0.6627 GB, free: 11.46 MB / 0.4981 GB
Notification: Performance of collectPreVariables (initialization): time 0.0001367/0.5407, allocations: 37.69 kB / 0.6627 GB, free: 11.42 MB / 0.4981 GB
Notification: Performance of collectInitialEqns (initialization): time 0.002565/0.5432, allocations: 2.763 MB / 0.6654 GB, free: 8.629 MB / 0.4981 GB
Notification: Performance of collectInitialBindings (initialization): time 0.0007563/0.544, allocations: 0.504 MB / 0.6659 GB, free: 8.121 MB / 0.4981 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.001353/0.5453, allocations: 0.9052 MB / 0.6668 GB, free: 7.203 MB / 0.4981 GB
Notification: Performance of setup shared object (initialization): time 0.0002673/0.5456, allocations: 365.9 kB / 0.6672 GB, free: 6.84 MB / 0.4981 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.002127/0.5477, allocations: 1.355 MB / 0.6685 GB, free: 5.477 MB / 0.4981 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0045/0.5522, allocations: 4.114 MB / 0.6725 GB, free: 15.97 MB / 0.5137 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.007682/0.5599, allocations: 5.964 MB / 0.6783 GB, free: 8.637 MB / 0.5137 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001067/0.56, allocations: 32 kB / 0.6784 GB, free: 8.605 MB / 0.5137 GB
Notification: Performance of matching and sorting (n=588) (initialization): time 0.01035/0.5704, allocations: 5.288 MB / 0.6835 GB, free: 3.312 MB / 0.5137 GB
Notification: Performance of prepare postOptimizeDAE: time 9.202e-05/0.5705, allocations: 54.17 kB / 0.6836 GB, free: 3.262 MB / 0.5137 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001168/0.5706, allocations: 99.94 kB / 0.6837 GB, free: 3.164 MB / 0.5137 GB
Notification: Performance of postOpt tearingSystem (initialization): time 0.0001496/0.5707, allocations: 128 kB / 0.6838 GB, free: 3.039 MB / 0.5137 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002932/0.5737, allocations: 0.9793 MB / 0.6848 GB, free: 2.059 MB / 0.5137 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001627/0.5738, allocations: 195.2 kB / 0.6849 GB, free: 1.867 MB / 0.5137 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002896/0.5767, allocations: 0.6166 MB / 0.6855 GB, free: 1.246 MB / 0.5137 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003921/0.5771, allocations: 276 kB / 0.6858 GB, free: 0.9766 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.003102/0.5802, allocations: 1.891 MB / 0.6877 GB, free: 15.07 MB / 0.5294 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003842/0.5806, allocations: 226.5 kB / 0.6879 GB, free: 14.85 MB / 0.5294 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004949/0.5811, allocations: 271.3 kB / 0.6881 GB, free: 14.58 MB / 0.5294 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.832e-05/0.5811, allocations: 16 kB / 0.6881 GB, free: 14.56 MB / 0.5294 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 1.24e-05/0.5811, allocations: 7.938 kB / 0.6882 GB, free: 14.55 MB / 0.5294 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.377e-06/0.5812, allocations: 3.984 kB / 0.6882 GB, free: 14.55 MB / 0.5294 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009785/0.5909, allocations: 5.586 MB / 0.6936 GB, free: 8.844 MB / 0.5294 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.422e-05/0.591, allocations: 8 kB / 0.6936 GB, free: 8.836 MB / 0.5294 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000589/0.5915, allocations: 139.8 kB / 0.6938 GB, free: 8.699 MB / 0.5294 GB
Notification: Performance of postOpt tearingSystem (simulation): time 1.209e-05/0.5916, allocations: 8 kB / 0.6938 GB, free: 8.691 MB / 0.5294 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.216e-05/0.5916, allocations: 23.98 kB / 0.6938 GB, free: 8.668 MB / 0.5294 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.275e-05/0.5916, allocations: 11.98 kB / 0.6938 GB, free: 8.656 MB / 0.5294 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.885e-06/0.5916, allocations: 7.938 kB / 0.6938 GB, free: 8.648 MB / 0.5294 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002744/0.5944, allocations: 1.794 MB / 0.6956 GB, free: 6.781 MB / 0.5294 GB
Notification: Performance of postOpt removeConstants (simulation): time 0.0005753/0.595, allocations: 222.2 kB / 0.6958 GB, free: 6.562 MB / 0.5294 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002088/0.5952, allocations: 16 kB / 0.6958 GB, free: 6.547 MB / 0.5294 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005664/0.5957, allocations: 43.95 kB / 0.6958 GB, free: 6.504 MB / 0.5294 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000133/0.5959, allocations: 64.27 kB / 0.6959 GB, free: 6.441 MB / 0.5294 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.569e-05/0.596, allocations: 43.98 kB / 0.6959 GB, free: 6.398 MB / 0.5294 GB
Notification: Performance of sorting global known variables: time 0.002628/0.5986, allocations: 1.552 MB / 0.6974 GB, free: 4.832 MB / 0.5294 GB
Notification: Performance of sort global known variables: time 7e-08/0.5986, allocations: 0 / 0.6974 GB, free: 4.832 MB / 0.5294 GB
Notification: Performance of remove unused functions: time 0.003908/0.6025, allocations: 1 MB / 0.6984 GB, free: 3.828 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.0003782/0.6029, allocations: 151 kB / 0.6986 GB, free: 3.672 MB / 0.5294 GB
Notification: Performance of simCode: created initialization part: time 0.0055/0.6084, allocations: 3.023 MB / 0.7015 GB, free: 0.6719 MB / 0.5294 GB
Notification: Performance of simCode: created event and clocks part: time 7.835e-06/0.6084, allocations: 3.938 kB / 0.7015 GB, free: 0.668 MB / 0.5294 GB
Notification: Performance of simCode: created simulation system equations: time 0.0009722/0.6093, allocations: 0.6866 MB / 0.7022 GB, free: 15.98 MB / 0.545 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001367/0.6107, allocations: 252.9 kB / 0.7024 GB, free: 15.73 MB / 0.545 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01405/0.6248, allocations: 7.27 MB / 0.7095 GB, free: 8.375 MB / 0.545 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003652/0.6284, allocations: 2.965 MB / 0.7124 GB, free: 5.375 MB / 0.545 GB
Notification: Performance of simCode: alias equations: time 0.003229/0.6316, allocations: 1.484 MB / 0.7139 GB, free: 3.883 MB / 0.545 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003977/0.632, allocations: 155.4 kB / 0.714 GB, free: 3.73 MB / 0.545 GB
Notification: Performance of SimCode: time 1.342e-06/0.632, allocations: 0 / 0.714 GB, free: 3.73 MB / 0.545 GB
Notification: Performance of Templates: time 0.04449/0.6765, allocations: 19.73 MB / 0.7333 GB, free: 52 kB / 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/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-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.686118693090975]