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.001406/0.001406, allocations: 111.1 kB / 20.44 MB, free: 1.184 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.001512/0.001512, allocations: 209.2 kB / 23.73 MB, free: 4.387 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.489/1.489, allocations: 230.6 MB / 257.5 MB, free: 7.801 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.2505/0.2505, allocations: 44.93 MB / 358.8 MB, free: 6.039 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.002233/0.002233, allocations: 71.88 kB / 0.4935 GB, free: 10.02 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3792/0.3815, allocations: 65.48 MB / 0.5574 GB, free: 7.461 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Torus): time 0.01268/0.3941, allocations: 9.804 MB / 0.567 GB, free: 13.6 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.007093/0.4012, allocations: 2.706 MB / 0.5697 GB, free: 10.89 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001526/0.4028, allocations: 59.81 kB / 0.5697 GB, free: 10.83 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002765/0.4055, allocations: 1.3 MB / 0.571 GB, free: 9.527 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002901/0.4084, allocations: 1.261 MB / 0.5722 GB, free: 8.262 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003294/0.4088, allocations: 79.84 kB / 0.5723 GB, free: 8.184 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.003337/0.4121, allocations: 2.712 MB / 0.5749 GB, free: 5.469 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002122/0.4142, allocations: 1.675 MB / 0.5766 GB, free: 3.758 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001579/0.4158, allocations: 1.062 MB / 0.5776 GB, free: 2.691 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002083/0.4179, allocations: 1.537 MB / 0.5791 GB, free: 1.148 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004551/0.4183, allocations: 211.9 kB / 0.5793 GB, free: 0.9414 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001027/0.4194, allocations: 411.5 kB / 0.5797 GB, free: 0.5391 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001439/0.4208, allocations: 1.429 MB / 0.5811 GB, free: 15.11 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001316/0.4221, allocations: 1.191 MB / 0.5823 GB, free: 13.91 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006478/0.4286, allocations: 5.482 MB / 0.5876 GB, free: 8.402 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.113e-06/0.4286, allocations: 4 kB / 0.5876 GB, free: 8.398 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.4286, allocations: 0 / 0.5876 GB, free: 8.398 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0001798/0.4288, allocations: 0 / 0.5876 GB, free: 8.398 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.006733/0.4355, allocations: 3.597 MB / 0.5911 GB, free: 4.75 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.011e-05/0.4356, allocations: 12.03 kB / 0.5912 GB, free: 4.738 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009978/0.4455, allocations: 2.962 MB / 0.594 GB, free: 1.77 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005004/0.4505, allocations: 1.496 MB / 0.5955 GB, free: 252 kB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001745/0.4507, allocations: 172.6 kB / 0.5957 GB, free: 76 kB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005597/0.4513, allocations: 224 kB / 0.5959 GB, free: 15.85 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01598/0.4673, allocations: 9.472 MB / 0.6051 GB, free: 6 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.388e-05/0.4673, allocations: 15.88 kB / 0.6052 GB, free: 5.984 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007423/0.4681, allocations: 103.8 kB / 0.6052 GB, free: 5.883 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004138/0.4722, allocations: 2.377 MB / 0.6076 GB, free: 3.504 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01772/0.4899, allocations: 8.659 MB / 0.616 GB, free: 10.83 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04755/0.5375, allocations: 26.42 MB / 0.6418 GB, free: 15.62 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005161/0.5427, allocations: 2.033 MB / 0.6438 GB, free: 13.58 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001623/0.5443, allocations: 0.9061 MB / 0.6447 GB, free: 12.67 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009248/0.5535, allocations: 3.761 MB / 0.6484 GB, free: 8.871 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.296e-05/0.5536, allocations: 47.22 kB / 0.6484 GB, free: 8.816 MB / 494.1 MB Notification: Performance of pre-optimization done (n=126): time 5.56e-06/0.5536, allocations: 0 / 0.6484 GB, free: 8.816 MB / 494.1 MB Notification: Performance of matching and sorting (n=126): time 0.006507/0.5601, allocations: 2.733 MB / 0.6511 GB, free: 6.074 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.486e-05/0.5601, allocations: 60.06 kB / 0.6511 GB, free: 6.004 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004715/0.5648, allocations: 2.616 MB / 0.6537 GB, free: 3.352 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 8.303e-05/0.5649, allocations: 33.7 kB / 0.6537 GB, free: 3.312 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002499/0.5674, allocations: 2.774 MB / 0.6564 GB, free: 0.5078 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006277/0.5681, allocations: 0.504 MB / 0.6569 GB, free: 0 / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001466/0.5695, allocations: 0.913 MB / 0.6578 GB, free: 15.07 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001895/0.5697, allocations: 353.9 kB / 0.6582 GB, free: 14.72 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002264/0.572, allocations: 1.355 MB / 0.6595 GB, free: 13.36 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004907/0.5769, allocations: 4.114 MB / 0.6635 GB, free: 7.855 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008194/0.5851, allocations: 5.968 MB / 0.6693 GB, free: 0.5156 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.00015/0.5852, allocations: 28 kB / 0.6694 GB, free: 500 kB / 0.4981 GB Notification: Performance of matching and sorting (n=588) (initialization): time 0.01068/0.5959, allocations: 5.284 MB / 0.6745 GB, free: 11.2 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001387/0.596, allocations: 47.94 kB / 0.6746 GB, free: 11.15 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002209/0.5963, allocations: 104 kB / 0.6747 GB, free: 11.05 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001876/0.5965, allocations: 128 kB / 0.6748 GB, free: 10.92 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003313/0.5998, allocations: 0.9708 MB / 0.6757 GB, free: 9.949 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002067/0.6, allocations: 199.2 kB / 0.6759 GB, free: 9.754 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003743/0.6037, allocations: 0.6016 MB / 0.6765 GB, free: 9.148 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005804/0.6043, allocations: 280 kB / 0.6768 GB, free: 8.875 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.003974/0.6083, allocations: 1.888 MB / 0.6786 GB, free: 6.973 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004977/0.6088, allocations: 218.5 kB / 0.6788 GB, free: 6.758 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005632/0.6093, allocations: 258.3 kB / 0.6791 GB, free: 6.504 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.867e-05/0.6094, allocations: 16 kB / 0.6791 GB, free: 6.488 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.357e-05/0.6094, allocations: 0 / 0.6791 GB, free: 6.488 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.135e-05/0.6094, allocations: 3.984 kB / 0.6791 GB, free: 6.484 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0106/0.62, allocations: 4.281 MB / 0.6833 GB, free: 2.102 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.339e-05/0.62, allocations: 4 kB / 0.6833 GB, free: 2.098 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006652/0.6207, allocations: 140.3 kB / 0.6834 GB, free: 1.961 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.124e-05/0.6207, allocations: 12 kB / 0.6834 GB, free: 1.949 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.063e-05/0.6208, allocations: 20 kB / 0.6834 GB, free: 1.93 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.687e-05/0.6208, allocations: 8 kB / 0.6834 GB, free: 1.922 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.885e-06/0.6208, allocations: 7.938 kB / 0.6835 GB, free: 1.914 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002667/0.6235, allocations: 1.785 MB / 0.6852 GB, free: 56 kB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006625/0.6241, allocations: 214.3 kB / 0.6854 GB, free: 15.84 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00049/0.6246, allocations: 23.98 kB / 0.6854 GB, free: 15.82 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008051/0.6254, allocations: 39.91 kB / 0.6855 GB, free: 15.78 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001517/0.6256, allocations: 72.28 kB / 0.6855 GB, free: 15.71 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.139e-05/0.6257, allocations: 39.98 kB / 0.6856 GB, free: 15.67 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.002769/0.6284, allocations: 1.467 MB / 0.687 GB, free: 14.19 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.01e-07/0.6284, allocations: 0 / 0.687 GB, free: 14.19 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.004278/0.6327, allocations: 1.012 MB / 0.688 GB, free: 13.17 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.0004245/0.6331, allocations: 146.9 kB / 0.6881 GB, free: 13.02 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.005498/0.6386, allocations: 3.015 MB / 0.6911 GB, free: 10.03 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 7.083e-06/0.6386, allocations: 0 / 0.6911 GB, free: 10.03 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0009744/0.6396, allocations: 0.688 MB / 0.6917 GB, free: 9.348 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001452/0.6411, allocations: 175.4 kB / 0.6919 GB, free: 9.172 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01515/0.6562, allocations: 7.263 MB / 0.699 GB, free: 1.816 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004728/0.661, allocations: 2.41 MB / 0.7014 GB, free: 15.36 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.003632/0.6646, allocations: 1.468 MB / 0.7028 GB, free: 13.89 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005227/0.6651, allocations: 151.4 kB / 0.7029 GB, free: 13.74 MB / 0.545 GB Notification: Performance of SimCode: time 9.12e-07/0.6651, allocations: 0 / 0.7029 GB, free: 13.74 MB / 0.545 GB Notification: Performance of Templates: time 0.04057/0.7057, allocations: 15.46 MB / 0.718 GB, free: 14.55 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Visualizers/Torus/Torus.csv","/var/lib/jenkins/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: 6.386152310296893]