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.001514/0.001514, allocations: 119.1 kB / 18.46 MB, free: 4.602 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.001802/0.001802, allocations: 215.2 kB / 21.42 MB, free: 1.645 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.504/1.504, allocations: 230.6 MB / 254.8 MB, free: 15.24 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.2467/0.2467, allocations: 46.91 MB / 357.8 MB, free: 10.34 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.002082/0.002082, allocations: 71.89 kB / 0.4921 GB, free: 7.496 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1317/0.1338, allocations: 65.99 MB / 0.5565 GB, free: 5.379 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Torus): time 0.01411/0.1479, allocations: 11.29 MB / 0.5675 GB, free: 10.03 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.006726/0.1547, allocations: 2.835 MB / 0.5703 GB, free: 7.184 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001709/0.1564, allocations: 59.88 kB / 0.5704 GB, free: 7.125 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003118/0.1595, allocations: 1.335 MB / 0.5717 GB, free: 5.785 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003182/0.1627, allocations: 1.257 MB / 0.5729 GB, free: 4.523 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004095/0.1631, allocations: 79.84 kB / 0.573 GB, free: 4.445 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.003593/0.1667, allocations: 2.72 MB / 0.5756 GB, free: 1.723 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002167/0.1688, allocations: 1.625 MB / 0.5772 GB, free: 64 kB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001633/0.1705, allocations: 1.059 MB / 0.5782 GB, free: 15 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002268/0.1727, allocations: 1.6 MB / 0.5798 GB, free: 13.39 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004991/0.1732, allocations: 208 kB / 0.58 GB, free: 13.19 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001101/0.1743, allocations: 0.511 MB / 0.5805 GB, free: 12.68 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001446/0.1758, allocations: 1.421 MB / 0.5819 GB, free: 11.25 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002049/0.1778, allocations: 1.7 MB / 0.5835 GB, free: 9.543 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006599/0.1844, allocations: 5.46 MB / 0.5889 GB, free: 4.059 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.891e-06/0.1844, allocations: 0 / 0.5889 GB, free: 4.059 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.944e-06/0.1844, allocations: 0 / 0.5889 GB, free: 4.059 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0001396/0.1846, allocations: 0 / 0.5889 GB, free: 4.059 MB / 446.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.006462/0.191, allocations: 3.672 MB / 0.5925 GB, free: 324 kB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.397e-05/0.1911, allocations: 12.03 kB / 0.5925 GB, free: 312 kB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.2845/0.4756, allocations: 2.955 MB / 0.5954 GB, free: 33.5 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003434/0.4791, allocations: 1.538 MB / 0.5969 GB, free: 33.16 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001654/0.4792, allocations: 174.6 kB / 0.597 GB, free: 33.15 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008195/0.48, allocations: 224.9 kB / 0.5972 GB, free: 33.15 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01533/0.4954, allocations: 9.47 MB / 0.6065 GB, free: 29.94 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.28e-05/0.4954, allocations: 22.84 kB / 0.6065 GB, free: 29.93 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003185/0.4957, allocations: 110 kB / 0.6066 GB, free: 29.89 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004118/0.4999, allocations: 2.374 MB / 0.6089 GB, free: 29.47 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01524/0.5151, allocations: 8.668 MB / 0.6174 GB, free: 26.04 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0333/0.5484, allocations: 29.16 MB / 0.6459 GB, free: 12.4 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005304/0.5537, allocations: 2.943 MB / 0.6488 GB, free: 9.219 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001439/0.5551, allocations: 0.8989 MB / 0.6496 GB, free: 8.32 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009184/0.5643, allocations: 4.855 MB / 0.6544 GB, free: 3.277 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.418e-05/0.5644, allocations: 39.22 kB / 0.6544 GB, free: 3.23 MB / 462.1 MB Notification: Performance of pre-optimization done (n=126): time 3.787e-06/0.5644, allocations: 0 / 0.6544 GB, free: 3.23 MB / 462.1 MB Notification: Performance of matching and sorting (n=126): time 0.006444/0.5708, allocations: 2.749 MB / 0.6571 GB, free: 488 kB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.007e-05/0.5709, allocations: 64.06 kB / 0.6572 GB, free: 412 kB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003872/0.5747, allocations: 2.566 MB / 0.6597 GB, free: 13.8 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001338/0.5749, allocations: 41.61 kB / 0.6597 GB, free: 13.76 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0022/0.5771, allocations: 2.759 MB / 0.6624 GB, free: 10.98 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006168/0.5777, allocations: 0.504 MB / 0.6629 GB, free: 10.47 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001248/0.5789, allocations: 0.9091 MB / 0.6638 GB, free: 9.547 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.000208/0.5791, allocations: 353.9 kB / 0.6641 GB, free: 9.195 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002045/0.5812, allocations: 1.352 MB / 0.6654 GB, free: 7.836 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004301/0.5855, allocations: 4.126 MB / 0.6695 GB, free: 2.32 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007599/0.5931, allocations: 5.956 MB / 0.6753 GB, free: 10.98 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.607e-05/0.5931, allocations: 29.97 kB / 0.6753 GB, free: 10.96 MB / 494.1 MB Notification: Performance of matching and sorting (n=588) (initialization): time 0.008759/0.6019, allocations: 5.299 MB / 0.6805 GB, free: 5.656 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.156e-05/0.602, allocations: 49.88 kB / 0.6805 GB, free: 5.609 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001131/0.6021, allocations: 100 kB / 0.6806 GB, free: 5.512 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001735/0.6023, allocations: 136 kB / 0.6808 GB, free: 5.379 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002913/0.6052, allocations: 0.9786 MB / 0.6817 GB, free: 4.398 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001691/0.6053, allocations: 191.2 kB / 0.6819 GB, free: 4.211 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002769/0.6081, allocations: 0.6088 MB / 0.6825 GB, free: 3.598 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004018/0.6085, allocations: 284.2 kB / 0.6828 GB, free: 3.32 MB / 494.1 MB 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.003055/0.6116, allocations: 1.897 MB / 0.6846 GB, free: 1.414 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003727/0.6119, allocations: 226.5 kB / 0.6848 GB, free: 1.191 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005657/0.6125, allocations: 275.2 kB / 0.6851 GB, free: 0.918 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.058e-05/0.6125, allocations: 16 kB / 0.6851 GB, free: 0.9023 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.527e-06/0.6125, allocations: 0 / 0.6851 GB, free: 0.9023 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.137e-06/0.6126, allocations: 3.984 kB / 0.6851 GB, free: 0.8984 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009146/0.6217, allocations: 5.61 MB / 0.6906 GB, free: 11.16 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.566e-06/0.6217, allocations: 4 kB / 0.6906 GB, free: 11.16 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005865/0.6223, allocations: 139.8 kB / 0.6907 GB, free: 11.02 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.14e-05/0.6223, allocations: 8 kB / 0.6907 GB, free: 11.02 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001033/0.6224, allocations: 20.56 kB / 0.6908 GB, free: 11 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.348e-05/0.6224, allocations: 15.94 kB / 0.6908 GB, free: 10.98 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.3e-06/0.6224, allocations: 7.562 kB / 0.6908 GB, free: 10.98 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002415/0.6248, allocations: 1.805 MB / 0.6925 GB, free: 9.098 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000487/0.6253, allocations: 299.3 kB / 0.6928 GB, free: 8.785 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001991/0.6255, allocations: 19.98 kB / 0.6928 GB, free: 8.766 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005922/0.6261, allocations: 39.95 kB / 0.6929 GB, free: 8.727 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001547/0.6263, allocations: 64.42 kB / 0.6929 GB, free: 8.664 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.179e-05/0.6264, allocations: 39.94 kB / 0.693 GB, free: 8.625 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.002385/0.6287, allocations: 1.556 MB / 0.6945 GB, free: 7.055 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6287, allocations: 0 / 0.6945 GB, free: 7.055 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.003447/0.6322, allocations: 1.004 MB / 0.6955 GB, free: 6.047 MB / 0.4981 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.0003271/0.6325, allocations: 147 kB / 0.6956 GB, free: 5.895 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.004764/0.6373, allocations: 3.014 MB / 0.6986 GB, free: 2.906 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 5.089e-06/0.6373, allocations: 1.875 kB / 0.6986 GB, free: 2.906 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0009187/0.6382, allocations: 0.6915 MB / 0.6992 GB, free: 2.211 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001251/0.6395, allocations: 249.3 kB / 0.6995 GB, free: 1.969 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01332/0.6528, allocations: 7.686 MB / 0.707 GB, free: 10.18 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003768/0.6565, allocations: 2.978 MB / 0.7099 GB, free: 7.18 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006772/0.6572, allocations: 191.4 kB / 0.7101 GB, free: 6.992 MB / 0.5137 GB Notification: Performance of SimCode: time 1.803e-06/0.6572, allocations: 0 / 0.7101 GB, free: 6.992 MB / 0.5137 GB Notification: Performance of Templates: time 0.06894/0.7262, allocations: 42.49 MB / 0.7516 GB, free: 12.65 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.367500071995892]