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.001333/0.001333, allocations: 111 kB / 21.18 MB, free: 0.6758 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.001429/0.001429, allocations: 209.2 kB / 24.47 MB, free: 3.977 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.419/1.419, allocations: 230.6 MB / 258.2 MB, free: 7.793 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.2231/0.2231, allocations: 46.98 MB / 361.6 MB, free: 4.051 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+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.00199/0.00199, allocations: 75.83 kB / 0.4973 GB, free: 7.246 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3167/0.3187, allocations: 66.03 MB / 0.5618 GB, free: 4.188 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Torus): time 0.01223/0.3309, allocations: 9.818 MB / 0.5714 GB, free: 10.32 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.006445/0.3374, allocations: 2.694 MB / 0.574 GB, free: 7.617 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001538/0.3389, allocations: 63.81 kB / 0.5741 GB, free: 7.555 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003079/0.342, allocations: 1.308 MB / 0.5754 GB, free: 6.242 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004787/0.3468, allocations: 1.257 MB / 0.5766 GB, free: 4.98 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004865/0.3473, allocations: 79.86 kB / 0.5767 GB, free: 4.902 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.004099/0.3514, allocations: 2.718 MB / 0.5793 GB, free: 2.18 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002236/0.3536, allocations: 1.679 MB / 0.5809 GB, free: 476 kB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001558/0.3552, allocations: 1.059 MB / 0.582 GB, free: 15.4 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002305/0.3575, allocations: 1.6 MB / 0.5835 GB, free: 13.8 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004918/0.358, allocations: 212 kB / 0.5837 GB, free: 13.59 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001045/0.359, allocations: 411.5 kB / 0.5841 GB, free: 13.19 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001409/0.3604, allocations: 1.437 MB / 0.5855 GB, free: 11.75 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001373/0.3618, allocations: 1.195 MB / 0.5867 GB, free: 10.54 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006346/0.3681, allocations: 5.479 MB / 0.5921 GB, free: 5.043 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/0.3681, allocations: 0 / 0.5921 GB, free: 5.043 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.3681, allocations: 0 / 0.5921 GB, free: 5.043 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0001254/0.3683, allocations: 3.938 kB / 0.5921 GB, free: 5.039 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.006117/0.3744, allocations: 3.597 MB / 0.5956 GB, free: 1.391 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.3e-05/0.3744, allocations: 8.031 kB / 0.5956 GB, free: 1.383 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009745/0.3842, allocations: 2.97 MB / 0.5985 GB, free: 14.41 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004188/0.3884, allocations: 1.492 MB / 0.5999 GB, free: 12.89 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000166/0.3885, allocations: 176.6 kB / 0.6001 GB, free: 12.71 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006532/0.3892, allocations: 228 kB / 0.6003 GB, free: 12.49 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01505/0.4042, allocations: 9.464 MB / 0.6096 GB, free: 2.641 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.717e-05/0.4043, allocations: 19.81 kB / 0.6096 GB, free: 2.621 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003127/0.4046, allocations: 107.8 kB / 0.6097 GB, free: 2.516 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003676/0.4083, allocations: 2.385 MB / 0.612 GB, free: 132 kB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01735/0.4256, allocations: 8.644 MB / 0.6205 GB, free: 7.461 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04339/0.469, allocations: 26.42 MB / 0.6463 GB, free: 12.25 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00472/0.4737, allocations: 2.021 MB / 0.6482 GB, free: 10.22 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001369/0.4751, allocations: 0.9023 MB / 0.6491 GB, free: 9.316 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009221/0.4843, allocations: 3.769 MB / 0.6528 GB, free: 5.512 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.079e-05/0.4844, allocations: 47.16 kB / 0.6528 GB, free: 5.457 MB / 494.1 MB Notification: Performance of pre-optimization done (n=126): time 3.667e-06/0.4844, allocations: 0 / 0.6528 GB, free: 5.457 MB / 494.1 MB Notification: Performance of matching and sorting (n=126): time 0.006353/0.4907, allocations: 2.737 MB / 0.6555 GB, free: 2.715 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.616e-05/0.4908, allocations: 60.06 kB / 0.6556 GB, free: 2.645 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004015/0.4948, allocations: 2.612 MB / 0.6581 GB, free: 16 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 8.826e-05/0.4949, allocations: 37.7 kB / 0.6582 GB, free: 15.95 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.002041/0.4969, allocations: 2.77 MB / 0.6609 GB, free: 13.15 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005656/0.4975, allocations: 0.504 MB / 0.6614 GB, free: 12.64 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001216/0.4987, allocations: 0.9091 MB / 0.6623 GB, free: 11.72 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001928/0.4989, allocations: 349.9 kB / 0.6626 GB, free: 11.38 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001941/0.5009, allocations: 1.352 MB / 0.6639 GB, free: 10.02 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004185/0.505, allocations: 4.118 MB / 0.6679 GB, free: 4.508 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007355/0.5124, allocations: 5.968 MB / 0.6738 GB, free: 13.17 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.64e-05/0.5125, allocations: 32 kB / 0.6738 GB, free: 13.14 MB / 0.5137 GB Notification: Performance of matching and sorting (n=588) (initialization): time 0.00981/0.5223, allocations: 5.276 MB / 0.6789 GB, free: 7.852 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 7.745e-05/0.5224, allocations: 48 kB / 0.679 GB, free: 7.805 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001171/0.5225, allocations: 107.9 kB / 0.6791 GB, free: 7.699 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001745/0.5227, allocations: 135.9 kB / 0.6792 GB, free: 7.566 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002898/0.5256, allocations: 0.9754 MB / 0.6802 GB, free: 6.59 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000169/0.5257, allocations: 195.2 kB / 0.6804 GB, free: 6.398 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003045/0.5288, allocations: 0.6049 MB / 0.6809 GB, free: 5.789 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000457/0.5292, allocations: 280 kB / 0.6812 GB, free: 5.516 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.003158/0.5324, allocations: 1.891 MB / 0.6831 GB, free: 3.609 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003661/0.5327, allocations: 214.5 kB / 0.6833 GB, free: 3.398 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005006/0.5333, allocations: 258.3 kB / 0.6835 GB, free: 3.145 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.241e-05/0.5333, allocations: 16 kB / 0.6835 GB, free: 3.129 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.038e-05/0.5333, allocations: 4 kB / 0.6835 GB, free: 3.125 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.586e-06/0.5333, allocations: 3.984 kB / 0.6835 GB, free: 3.121 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008007/0.5413, allocations: 4.274 MB / 0.6877 GB, free: 14.75 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.151e-05/0.5413, allocations: 8.062 kB / 0.6877 GB, free: 14.74 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005724/0.5419, allocations: 139.7 kB / 0.6878 GB, free: 14.6 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.18e-05/0.5419, allocations: 8 kB / 0.6879 GB, free: 14.59 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.124e-05/0.542, allocations: 20 kB / 0.6879 GB, free: 14.57 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.191e-05/0.542, allocations: 11.98 kB / 0.6879 GB, free: 14.56 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.825e-06/0.542, allocations: 7.938 kB / 0.6879 GB, free: 14.55 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002291/0.5443, allocations: 1.781 MB / 0.6896 GB, free: 12.7 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004466/0.5447, allocations: 214.2 kB / 0.6898 GB, free: 12.49 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002045/0.5449, allocations: 23.98 kB / 0.6899 GB, free: 12.46 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005491/0.5455, allocations: 39.95 kB / 0.6899 GB, free: 12.43 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001316/0.5456, allocations: 68.27 kB / 0.69 GB, free: 12.36 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.486e-05/0.5457, allocations: 36 kB / 0.69 GB, free: 12.32 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.002124/0.5478, allocations: 1.471 MB / 0.6914 GB, free: 10.84 MB / 0.5294 GB Notification: Performance of sort global known variables: time 8e-08/0.5478, allocations: 0 / 0.6914 GB, free: 10.84 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.003611/0.5514, allocations: 1.008 MB / 0.6924 GB, free: 9.824 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.0003635/0.5518, allocations: 150.9 kB / 0.6926 GB, free: 9.668 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.004971/0.5568, allocations: 3.022 MB / 0.6955 GB, free: 6.672 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 8.637e-06/0.5568, allocations: 0 / 0.6955 GB, free: 6.672 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0009274/0.5577, allocations: 0.6801 MB / 0.6962 GB, free: 5.996 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001196/0.5589, allocations: 190.7 kB / 0.6964 GB, free: 5.809 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01311/0.572, allocations: 7.26 MB / 0.7034 GB, free: 14.45 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003238/0.5752, allocations: 2.41 MB / 0.7058 GB, free: 12 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.003232/0.5785, allocations: 1.464 MB / 0.7072 GB, free: 10.53 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003866/0.5789, allocations: 147.4 kB / 0.7074 GB, free: 10.39 MB / 0.545 GB Notification: Performance of SimCode: time 1.412e-06/0.5789, allocations: 0 / 0.7074 GB, free: 10.39 MB / 0.545 GB Notification: Performance of Templates: time 0.04046/0.6193, allocations: 17.53 MB / 0.7245 GB, free: 9.117 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 -s cvode -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: 6.1606276310049]