Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Shapes.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.001629/0.001629, allocations: 114 kB / 19.13 MB, free: 3.961 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.001829/0.001829, allocations: 208.9 kB / 22.08 MB, free: 1.008 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.487/1.487, allocations: 227.4 MB / 252.3 MB, free: 56 kB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2256/0.2256, allocations: 46.16 MB / 351.8 MB, free: 14.28 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/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.Shapes,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Shapes") translateModel(ModelicaTest.MultiBody.Visualizers.Shapes,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Shapes") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002325/0.002326, allocations: 81.34 kB / 490.8 MB, free: 28.05 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1142/0.1166, allocations: 62.44 MB / 0.5403 GB, free: 4.242 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Shapes): time 0.01069/0.1273, allocations: 8.702 MB / 0.5488 GB, free: 11.49 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.005156/0.1325, allocations: 2.285 MB / 0.5511 GB, free: 9.191 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008933/0.1335, allocations: 40 kB / 0.5511 GB, free: 9.152 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003116/0.1366, allocations: 1.546 MB / 0.5526 GB, free: 7.602 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00125/0.1379, allocations: 469.3 kB / 0.553 GB, free: 7.141 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002775/0.1382, allocations: 75.89 kB / 0.5531 GB, free: 7.066 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.001265/0.1395, allocations: 0.9215 MB / 0.554 GB, free: 6.141 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001776/0.1412, allocations: 1.498 MB / 0.5555 GB, free: 4.617 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007112/0.142, allocations: 0.541 MB / 0.556 GB, free: 4.074 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009016/0.1429, allocations: 0.6733 MB / 0.5567 GB, free: 3.398 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002136/0.1431, allocations: 116 kB / 0.5568 GB, free: 3.285 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003212/0.1434, allocations: 131.9 kB / 0.5569 GB, free: 3.156 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000688/0.1441, allocations: 0.7246 MB / 0.5576 GB, free: 2.43 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000833/0.145, allocations: 0.8541 MB / 0.5584 GB, free: 1.57 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002474/0.1474, allocations: 2.325 MB / 0.5607 GB, free: 15.23 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.718e-06/0.1475, allocations: 0 / 0.5607 GB, free: 15.23 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.1475, allocations: 4 kB / 0.5607 GB, free: 15.23 MB / 430.1 MB Notification: Performance of Transformations before backend: time 4.039e-05/0.1475, allocations: 0 / 0.5607 GB, free: 15.23 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: 645 * Number of variables: 645 Notification: Performance of Generate backend data structure: time 0.002845/0.1504, allocations: 1.994 MB / 0.5627 GB, free: 13.18 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.673e-05/0.1504, allocations: 8.031 kB / 0.5627 GB, free: 13.17 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005834/0.151, allocations: 227.4 kB / 0.5629 GB, free: 12.95 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001058/0.1521, allocations: 0.7345 MB / 0.5636 GB, free: 12.18 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.955e-05/0.1522, allocations: 115.4 kB / 0.5637 GB, free: 12.06 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000187/0.1524, allocations: 152.1 kB / 0.5639 GB, free: 11.91 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004293/0.1567, allocations: 3.379 MB / 0.5672 GB, free: 8.199 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.397e-05/0.1568, allocations: 19.86 kB / 0.5672 GB, free: 8.18 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001454/0.1569, allocations: 71.94 kB / 0.5673 GB, free: 8.109 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007715/0.1577, allocations: 0.611 MB / 0.5679 GB, free: 7.5 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003037/0.1607, allocations: 1.865 MB / 0.5697 GB, free: 5.633 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01332/0.1741, allocations: 13.51 MB / 0.5829 GB, free: 7.695 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000122/0.1742, allocations: 169.1 kB / 0.583 GB, free: 7.52 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.065e-05/0.1743, allocations: 80.14 kB / 0.5831 GB, free: 7.438 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.107e-05/0.1743, allocations: 83.22 kB / 0.5832 GB, free: 7.355 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.014e-05/0.1744, allocations: 113.8 kB / 0.5833 GB, free: 7.234 MB / 446.1 MB Notification: Performance of pre-optimization done (n=0): time 1.934e-06/0.1744, allocations: 0 / 0.5833 GB, free: 7.234 MB / 446.1 MB Notification: Performance of matching and sorting (n=0): time 0.0002565/0.1747, allocations: 152.9 kB / 0.5834 GB, free: 7.078 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.388e-05/0.1748, allocations: 134.7 kB / 0.5836 GB, free: 6.934 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002091/0.1769, allocations: 1.647 MB / 0.5852 GB, free: 5.277 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.821e-05/0.1769, allocations: 29.7 kB / 0.5852 GB, free: 5.242 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001095/0.178, allocations: 1.419 MB / 0.5866 GB, free: 3.805 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.132e-05/0.178, allocations: 47.94 kB / 0.5866 GB, free: 3.758 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004851/0.1785, allocations: 427.1 kB / 0.587 GB, free: 3.332 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001931/0.1787, allocations: 353.9 kB / 0.5874 GB, free: 2.98 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005494/0.1793, allocations: 371.8 kB / 0.5877 GB, free: 2.613 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001911/0.1812, allocations: 1.929 MB / 0.5896 GB, free: 15.87 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002909/0.1841, allocations: 2.511 MB / 0.5921 GB, free: 12.55 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.794e-05/0.1842, allocations: 16 kB / 0.5921 GB, free: 12.54 MB / 462.1 MB Notification: Performance of matching and sorting (n=260) (initialization): time 0.003469/0.1876, allocations: 2.116 MB / 0.5942 GB, free: 10.42 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.685e-05/0.1877, allocations: 32.25 kB / 0.5942 GB, free: 10.39 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.053e-05/0.1878, allocations: 63.94 kB / 0.5942 GB, free: 10.32 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.733e-05/0.1879, allocations: 72 kB / 0.5943 GB, free: 10.25 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001135/0.189, allocations: 487 kB / 0.5948 GB, free: 9.777 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.767e-05/0.1891, allocations: 111.6 kB / 0.5949 GB, free: 9.668 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001385/0.1905, allocations: 325.5 kB / 0.5952 GB, free: 9.348 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001408/0.1906, allocations: 140 kB / 0.5953 GB, free: 9.211 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 260 * Number of states: 0 () * Number of discrete variables: 39 (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],cone.color[3],cone.color[2],cone.color[1],spring.color[3],spring.color[2],spring.color[1],gearwheel.color[3],gearwheel.color[2],gearwheel.color[1],beam.color[3],beam.color[2],beam.color[1],pipe.color[3],pipe.color[2],pipe.color[1],cylinder.color[3],cylinder.color[2],cylinder.color[1],sphere.color[3],sphere.color[2],sphere.color[1],box.color[3],box.color[2],box.color[1],fixed.color[3],fixed.color[2],fixed.color[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (260): * Single equations (assignments): 260 * Array equations: 0 * 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.001194/0.1918, allocations: 0.8744 MB / 0.5962 GB, free: 8.324 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002322/0.1921, allocations: 232.1 kB / 0.5964 GB, free: 8.09 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002158/0.1923, allocations: 232.2 kB / 0.5966 GB, free: 7.852 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.888e-05/0.1924, allocations: 184.2 kB / 0.5968 GB, free: 7.664 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.2e-05/0.1925, allocations: 176.3 kB / 0.597 GB, free: 7.484 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.231e-05/0.1926, allocations: 188.2 kB / 0.5972 GB, free: 7.293 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001824/0.1944, allocations: 1.473 MB / 0.5986 GB, free: 5.762 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.715e-05/0.1945, allocations: 108.9 kB / 0.5987 GB, free: 5.648 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.517e-05/0.1946, allocations: 104.9 kB / 0.5988 GB, free: 5.539 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.955e-05/0.1946, allocations: 176.3 kB / 0.599 GB, free: 5.359 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.081e-05/0.1947, allocations: 188.1 kB / 0.5991 GB, free: 5.168 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.638e-05/0.1948, allocations: 180.3 kB / 0.5993 GB, free: 4.984 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.916e-05/0.1949, allocations: 184.2 kB / 0.5995 GB, free: 4.797 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003272/0.1953, allocations: 429.9 kB / 0.5999 GB, free: 4.352 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003349/0.1956, allocations: 313.1 kB / 0.6002 GB, free: 4.02 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001771/0.1958, allocations: 176.3 kB / 0.6004 GB, free: 3.84 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003058/0.1961, allocations: 109 kB / 0.6005 GB, free: 3.727 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.309e-05/0.1962, allocations: 188.2 kB / 0.6006 GB, free: 3.535 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.161e-05/0.1963, allocations: 105 kB / 0.6007 GB, free: 3.426 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001365/0.1976, allocations: 1.01 MB / 0.6017 GB, free: 2.418 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.1976, allocations: 0 / 0.6017 GB, free: 2.418 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001688/0.1993, allocations: 438.7 kB / 0.6022 GB, free: 1.988 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (0): * Single equations (assignments): 0 * Array equations: 0 * 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.0002027/0.1995, allocations: 166.5 kB / 0.6023 GB, free: 1.816 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.001465/0.201, allocations: 0.907 MB / 0.6032 GB, free: 0.9219 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 8.365e-06/0.201, allocations: 0 / 0.6032 GB, free: 0.9219 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 2.675e-06/0.201, allocations: 0.6875 kB / 0.6032 GB, free: 0.9219 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008801/0.2019, allocations: 0.5728 MB / 0.6038 GB, free: 352 kB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2454/0.4473, allocations: 2.989 MB / 0.6067 GB, free: 59.84 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001372/0.4487, allocations: 1.574 MB / 0.6082 GB, free: 59.12 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002225/0.449, allocations: 91.62 kB / 0.6083 GB, free: 59.11 MB / 462.1 MB Notification: Performance of SimCode: time 7.71e-07/0.449, allocations: 4.656 kB / 0.6083 GB, free: 59.11 MB / 462.1 MB Notification: Performance of Templates: time 0.03379/0.4828, allocations: 17.88 MB / 0.6258 GB, free: 52.88 MB / 462.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Shapes.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Shapes.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Shapes.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Shapes.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Shapes.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Shapes -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Shapes.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Shapes_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Visualizers/Shapes/Shapes.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Shapes.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: 9.085927509935573]