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.0008691/0.0008691, allocations: 80.34 kB / 20.67 MB, free: 3.891 MB / 18.57 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.001018/0.001018, allocations: 156.9 kB / 23.94 MB, free: 0.6172 MB / 18.57 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 0.9079/0.9079, allocations: 177 MB / 204.1 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] 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.2363/0.2363, allocations: 34.23 MB / 294.8 MB, free: 0.6836 MB / 266.7 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: "" <> buildModelFMU(ModelicaTest.MultiBody.Visualizers.Shapes,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Visualizers_Shapes",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Visualizers.Shapes,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Visualizers_Shapes",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.453e-06/1.453e-06, allocations: 0 / 442.1 MB, free: 1.57 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.442e-05/1.587e-05, allocations: 12.61 kB / 442.1 MB, free: 1.559 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Shapes): time 0.1677/0.1677, allocations: 7.659 MB / 449.8 MB, free: 40.2 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.003466/0.1712, allocations: 2.192 MB / 452 MB, free: 38.85 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006386/0.1719, allocations: 49.72 kB / 452 MB, free: 38.84 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001598/0.1734, allocations: 1.567 MB / 453.6 MB, free: 38.16 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006861/0.1741, allocations: 0.5016 MB / 454.1 MB, free: 37.85 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002153/0.1744, allocations: 71.89 kB / 454.2 MB, free: 37.81 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005313/0.1749, allocations: 0.9556 MB / 455.1 MB, free: 37.35 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007561/0.1756, allocations: 1.212 MB / 456.3 MB, free: 36.8 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005032/0.1761, allocations: 0.8068 MB / 457.2 MB, free: 36.44 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005239/0.1767, allocations: 0.6107 MB / 457.8 MB, free: 36.24 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 9.094e-05/0.1768, allocations: 122.9 kB / 457.9 MB, free: 36.24 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001908/0.1769, allocations: 139.1 kB / 458 MB, free: 36.23 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003314/0.1773, allocations: 0.7782 MB / 458.8 MB, free: 35.89 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002596/0.1775, allocations: 499.3 kB / 459.3 MB, free: 35.66 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001152/0.1787, allocations: 2.253 MB / 461.5 MB, free: 34.82 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.071e-06/0.1787, allocations: 3.156 kB / 461.5 MB, free: 34.82 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.654e-06/0.1787, allocations: 0 / 461.5 MB, free: 34.82 MB / 410.7 MB Notification: Performance of Transformations before backend: time 2.318e-05/0.1787, allocations: 0 / 461.5 MB, free: 34.82 MB / 410.7 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.00141/0.1801, allocations: 1.897 MB / 463.4 MB, free: 33.61 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.09e-05/0.1802, allocations: 13.41 kB / 463.5 MB, free: 33.6 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001769/0.1803, allocations: 330.4 kB / 463.8 MB, free: 33.42 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003438/0.1807, allocations: 229 kB / 464 MB, free: 33.29 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006047/0.1813, allocations: 0.6598 MB / 464.7 MB, free: 32.86 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.743e-05/0.1813, allocations: 121.9 kB / 464.8 MB, free: 32.8 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.261e-05/0.1814, allocations: 147.7 kB / 464.9 MB, free: 32.75 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001941/0.1834, allocations: 3.378 MB / 468.3 MB, free: 30.96 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.689e-05/0.1834, allocations: 21.97 kB / 468.3 MB, free: 30.95 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.506e-05/0.1835, allocations: 82.92 kB / 468.4 MB, free: 30.89 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000351/0.1838, allocations: 0.614 MB / 469 MB, free: 30.79 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001607/0.1854, allocations: 1.853 MB / 470.9 MB, free: 30.17 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005634/0.1911, allocations: 12.93 MB / 483.8 MB, free: 19.55 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.517e-05/0.1911, allocations: 168.4 kB / 484 MB, free: 19.38 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.432e-05/0.1911, allocations: 80.14 kB / 484 MB, free: 19.3 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.143e-05/0.1911, allocations: 75.28 kB / 484.1 MB, free: 19.23 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.975e-05/0.1912, allocations: 116.1 kB / 484.2 MB, free: 19.11 MB / 410.7 MB Notification: Performance of pre-optimization done (n=0): time 2.274e-06/0.1912, allocations: 4 kB / 484.2 MB, free: 19.11 MB / 410.7 MB Notification: Performance of matching and sorting (n=0): time 0.0001685/0.1913, allocations: 157.2 kB / 484.4 MB, free: 19 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.19e-05/0.1914, allocations: 130.7 kB / 484.5 MB, free: 18.86 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001189/0.1926, allocations: 1.748 MB / 486.3 MB, free: 18.14 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 6.202e-06/0.1926, allocations: 25.7 kB / 486.3 MB, free: 18.11 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004303/0.193, allocations: 1.399 MB / 487.7 MB, free: 16.98 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.582e-05/0.193, allocations: 46.91 kB / 487.7 MB, free: 16.96 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003507/0.1934, allocations: 418.2 kB / 488.1 MB, free: 16.75 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 6.831e-05/0.1934, allocations: 357.3 kB / 488.5 MB, free: 16.42 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003617/0.1938, allocations: 370.7 kB / 488.9 MB, free: 16.32 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008263/0.1946, allocations: 1.933 MB / 490.8 MB, free: 14.04 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001463/0.1961, allocations: 2.51 MB / 493.3 MB, free: 11.39 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.374e-05/0.1961, allocations: 16.38 kB / 493.3 MB, free: 11.39 MB / 410.7 MB Notification: Performance of matching and sorting (n=260) (initialization): time 0.002382/0.1985, allocations: 2.115 MB / 495.4 MB, free: 10.54 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.403e-05/0.1985, allocations: 30.78 kB / 495.5 MB, free: 10.54 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.869e-05/0.1986, allocations: 60.75 kB / 495.5 MB, free: 10.54 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.5e-05/0.1987, allocations: 77.41 kB / 495.6 MB, free: 10.53 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008233/0.1995, allocations: 491.7 kB / 496.1 MB, free: 10.46 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.112e-05/0.1996, allocations: 110.7 kB / 496.2 MB, free: 10.44 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001091/0.2007, allocations: 326.1 kB / 496.5 MB, free: 10.23 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001402/0.2008, allocations: 144 kB / 496.6 MB, free: 10.21 MB / 410.7 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.001163/0.202, allocations: 0.8623 MB / 497.5 MB, free: 9.723 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001743/0.2022, allocations: 235.9 kB / 497.7 MB, free: 9.539 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000138/0.2023, allocations: 228.4 kB / 498 MB, free: 9.383 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.801e-05/0.2023, allocations: 177.4 kB / 498.1 MB, free: 9.203 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.198e-05/0.2023, allocations: 187 kB / 498.3 MB, free: 9.02 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.37e-05/0.2024, allocations: 177.6 kB / 498.5 MB, free: 8.84 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001304/0.2037, allocations: 1.42 MB / 499.9 MB, free: 8.109 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.856e-06/0.2037, allocations: 102.4 kB / 0.4883 GB, free: 8.004 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.093e-05/0.2037, allocations: 109.9 kB / 0.4884 GB, free: 7.895 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.867e-05/0.2037, allocations: 186.5 kB / 0.4886 GB, free: 7.707 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.752e-05/0.2037, allocations: 181.9 kB / 0.4887 GB, free: 7.523 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.7e-05/0.2037, allocations: 189.6 kB / 0.4889 GB, free: 7.332 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.534e-05/0.2038, allocations: 177.5 kB / 0.4891 GB, free: 7.152 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000161/0.2039, allocations: 437.3 kB / 0.4895 GB, free: 6.762 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001502/0.2041, allocations: 227.3 kB / 0.4897 GB, free: 6.574 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.081e-05/0.2041, allocations: 185.3 kB / 0.4899 GB, free: 6.387 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001436/0.2043, allocations: 103 kB / 0.49 GB, free: 6.281 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.962e-05/0.2043, allocations: 185.4 kB / 0.4902 GB, free: 6.098 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.454e-06/0.2043, allocations: 101 kB / 0.4903 GB, free: 5.992 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0008648/0.2052, allocations: 1.014 MB / 0.4913 GB, free: 5.625 MB / 410.7 MB Notification: Performance of sort global known variables: time 2.2e-07/0.2052, allocations: 1.219 kB / 0.4913 GB, free: 5.625 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001195/0.2064, allocations: 428.6 kB / 0.4917 GB, free: 5.5 MB / 410.7 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.0002812/0.2067, allocations: 0.9444 MB / 0.4926 GB, free: 4.613 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0009539/0.2076, allocations: 0.8655 MB / 0.4934 GB, free: 4.312 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.2076, allocations: 3.5 kB / 0.4934 GB, free: 4.312 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 2.064e-06/0.2076, allocations: 0 / 0.4934 GB, free: 4.312 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000485/0.2081, allocations: 0.5812 MB / 0.494 GB, free: 3.797 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01494/0.223, allocations: 13.49 MB / 0.5072 GB, free: 10.47 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001253/0.2243, allocations: 0.9851 MB / 0.5082 GB, free: 10.18 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.001071/0.2254, allocations: 0.4922 MB / 0.5086 GB, free: 10.12 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006257/0.226, allocations: 0.6615 MB / 0.5093 GB, free: 9.574 MB / 426.7 MB Notification: Performance of SimCode: time 2.474e-06/0.226, allocations: 0 / 0.5093 GB, free: 9.574 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03848/0.2645, allocations: 22.35 MB / 0.5311 GB, free: 6.891 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.406/7.67, allocations: 7.062 kB / 0.5311 GB, free: 6.887 MB / 442.7 MB " [Timeout remaining time 652] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Shapes_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_MultiBody_Visualizers_Shapes_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_MultiBody_Visualizers_Shapes.fmu > ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Shapes.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Shapes_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Visualizers/Shapes/Shapes.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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.79091559164226]