Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Shapes.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.0008602/0.0008602, allocations: 83.69 kB / 20.68 MB, free: 3.883 MB / 18.57 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.0009044/0.0009044, allocations: 170 kB / 23.95 MB, free: 0.6094 MB / 18.57 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 0.881/0.881, allocations: 177.1 MB / 204.3 MB, free: 5.707 MB / 186.7 MB " [Timeout remaining time 179] 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.2382/0.2382, allocations: 32.79 MB / 293.5 MB, free: 1.25 MB / 266.7 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: "" <> buildModelFMU(ModelicaTest.MultiBody.Visualizers.Shapes,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Visualizers_Shapes",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Visualizers.Shapes,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Visualizers_Shapes",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.225e-06/2.225e-06, allocations: 0 / 439.6 MB, free: 4.281 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.775e-05/1.998e-05, allocations: 10.28 kB / 439.6 MB, free: 4.27 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Shapes): time 0.1792/0.1793, allocations: 7.676 MB / 447.2 MB, free: 42.45 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.002957/0.1822, allocations: 2.189 MB / 449.4 MB, free: 41.53 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004547/0.1827, allocations: 48.84 kB / 449.5 MB, free: 41.52 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001452/0.1841, allocations: 1.572 MB / 451 MB, free: 40.83 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005263/0.1847, allocations: 0.4987 MB / 451.5 MB, free: 40.53 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001942/0.1849, allocations: 71.42 kB / 451.6 MB, free: 40.49 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005703/0.1854, allocations: 0.9583 MB / 452.6 MB, free: 40.03 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007877/0.1862, allocations: 1.204 MB / 453.8 MB, free: 39.48 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004675/0.1867, allocations: 0.8091 MB / 454.6 MB, free: 39.12 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005076/0.1872, allocations: 0.6203 MB / 455.2 MB, free: 38.91 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 9.201e-05/0.1873, allocations: 117.2 kB / 455.3 MB, free: 38.91 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001743/0.1875, allocations: 133.4 kB / 455.5 MB, free: 38.91 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003142/0.1878, allocations: 0.7733 MB / 456.2 MB, free: 38.58 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000247/0.188, allocations: 0.4973 MB / 456.7 MB, free: 38.34 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001086/0.1891, allocations: 2.254 MB / 459 MB, free: 37.5 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.587e-06/0.1891, allocations: 0 / 459 MB, free: 37.5 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.833e-06/0.1891, allocations: 0 / 459 MB, free: 37.5 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.741e-05/0.1891, allocations: 0 / 459 MB, free: 37.5 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.001402/0.1905, allocations: 1.898 MB / 460.9 MB, free: 36.28 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.173e-05/0.1906, allocations: 9.562 kB / 460.9 MB, free: 36.28 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001872/0.1908, allocations: 332.8 kB / 461.2 MB, free: 36.1 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003265/0.1911, allocations: 223.7 kB / 461.4 MB, free: 35.98 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005984/0.1917, allocations: 0.6682 MB / 462.1 MB, free: 35.54 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.238e-05/0.1917, allocations: 118.1 kB / 462.2 MB, free: 35.48 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.64e-05/0.1918, allocations: 150.7 kB / 462.4 MB, free: 35.43 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002038/0.1939, allocations: 3.365 MB / 465.7 MB, free: 33.65 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.988e-05/0.1939, allocations: 26.25 kB / 465.7 MB, free: 33.63 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.845e-05/0.194, allocations: 74.94 kB / 465.8 MB, free: 33.58 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003676/0.1943, allocations: 0.6189 MB / 466.4 MB, free: 33.47 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001563/0.1959, allocations: 1.854 MB / 468.3 MB, free: 32.85 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005094/0.201, allocations: 12.93 MB / 481.2 MB, free: 22.24 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.873e-05/0.201, allocations: 175.2 kB / 481.4 MB, free: 22.06 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.345e-05/0.2011, allocations: 80.14 kB / 481.5 MB, free: 21.98 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.148e-05/0.2011, allocations: 75.28 kB / 481.6 MB, free: 21.91 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.246e-05/0.2011, allocations: 112.7 kB / 481.7 MB, free: 21.79 MB / 410.7 MB Notification: Performance of pre-optimization done (n=0): time 1.463e-06/0.2011, allocations: 4 kB / 481.7 MB, free: 21.79 MB / 410.7 MB Notification: Performance of matching and sorting (n=0): time 0.0001176/0.2012, allocations: 155.7 kB / 481.8 MB, free: 21.68 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.748e-05/0.2012, allocations: 126.7 kB / 481.9 MB, free: 21.54 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001073/0.2023, allocations: 1.755 MB / 483.7 MB, free: 20.82 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 4.999e-06/0.2023, allocations: 25.7 kB / 483.7 MB, free: 20.79 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003739/0.2027, allocations: 1.399 MB / 485.1 MB, free: 19.66 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.612e-05/0.2027, allocations: 45.12 kB / 485.2 MB, free: 19.65 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002425/0.203, allocations: 420.8 kB / 485.6 MB, free: 19.43 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 6.819e-05/0.203, allocations: 358.2 kB / 485.9 MB, free: 19.1 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003404/0.2034, allocations: 372 kB / 486.3 MB, free: 19 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008174/0.2042, allocations: 1.936 MB / 488.2 MB, free: 16.71 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001539/0.2057, allocations: 2.501 MB / 490.7 MB, free: 14.07 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.519e-05/0.2057, allocations: 20.73 kB / 490.7 MB, free: 14.07 MB / 410.7 MB Notification: Performance of matching and sorting (n=260) (initialization): time 0.002118/0.2079, allocations: 2.11 MB / 492.9 MB, free: 13.22 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.978e-05/0.2079, allocations: 29.19 kB / 492.9 MB, free: 13.22 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.649e-05/0.208, allocations: 60.84 kB / 492.9 MB, free: 13.22 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.46e-05/0.208, allocations: 77.53 kB / 493 MB, free: 13.21 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007907/0.2088, allocations: 491.6 kB / 493.5 MB, free: 13.15 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.745e-05/0.2089, allocations: 110.8 kB / 493.6 MB, free: 13.12 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009848/0.2099, allocations: 334 kB / 493.9 MB, free: 12.91 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001295/0.21, allocations: 138.4 kB / 494.1 MB, free: 12.89 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.0007733/0.2108, allocations: 0.8665 MB / 494.9 MB, free: 12.4 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001377/0.2109, allocations: 235.5 kB / 495.2 MB, free: 12.21 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001232/0.2111, allocations: 230.2 kB / 495.4 MB, free: 12.06 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.867e-05/0.2111, allocations: 181.4 kB / 495.6 MB, free: 11.88 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.023e-05/0.2111, allocations: 181.6 kB / 495.7 MB, free: 11.7 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.734e-05/0.2111, allocations: 177.4 kB / 495.9 MB, free: 11.52 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001147/0.2123, allocations: 1.424 MB / 497.3 MB, free: 10.79 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.868e-06/0.2123, allocations: 101 kB / 497.4 MB, free: 10.68 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.997e-06/0.2123, allocations: 102.2 kB / 497.5 MB, free: 10.57 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.743e-05/0.2123, allocations: 187.6 kB / 497.7 MB, free: 10.39 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.74e-05/0.2123, allocations: 188.6 kB / 497.9 MB, free: 10.2 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.615e-05/0.2123, allocations: 186.8 kB / 498.1 MB, free: 10.01 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.459e-05/0.2123, allocations: 177.5 kB / 498.3 MB, free: 9.832 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001472/0.2125, allocations: 436.3 kB / 498.7 MB, free: 9.441 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001277/0.2126, allocations: 226.2 kB / 498.9 MB, free: 9.254 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.034e-05/0.2127, allocations: 185.4 kB / 499.1 MB, free: 9.066 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001413/0.2128, allocations: 106.2 kB / 499.2 MB, free: 8.957 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.291e-05/0.2129, allocations: 182.6 kB / 499.4 MB, free: 8.773 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.958e-06/0.2129, allocations: 107.7 kB / 499.5 MB, free: 8.668 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0009615/0.2138, allocations: 1.011 MB / 0.4888 GB, free: 8.305 MB / 410.7 MB Notification: Performance of sort global known variables: time 8e-08/0.2138, allocations: 0 / 0.4888 GB, free: 8.305 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001116/0.2149, allocations: 433.4 kB / 0.4892 GB, free: 8.176 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.0002893/0.2152, allocations: 0.9419 MB / 0.4901 GB, free: 7.293 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0008733/0.2161, allocations: 0.8728 MB / 0.4909 GB, free: 6.988 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.086e-06/0.2161, allocations: 0 / 0.4909 GB, free: 6.988 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 2.455e-06/0.2161, allocations: 1.688 kB / 0.4909 GB, free: 6.988 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005263/0.2166, allocations: 0.5796 MB / 0.4915 GB, free: 6.469 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01239/0.229, allocations: 13.48 MB / 0.5047 GB, free: 13.15 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001172/0.2302, allocations: 0.9905 MB / 0.5056 GB, free: 12.85 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.000902/0.2311, allocations: 498.9 kB / 0.5061 GB, free: 12.79 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005766/0.2317, allocations: 0.6661 MB / 0.5068 GB, free: 12.25 MB / 426.7 MB Notification: Performance of SimCode: time 1.022e-06/0.2317, allocations: 0 / 0.5068 GB, free: 12.25 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03719/0.2689, allocations: 22.36 MB / 0.5286 GB, free: 10.94 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.494/7.762, allocations: 8 kB / 0.5286 GB, free: 10.93 MB / 442.7 MB " [Timeout remaining time 652] (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Shapes.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Shapes.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Shapes.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Shapes.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Shapes_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00019992 ModelicaTest_4_0_0_ModelicaTest_MultiBody_Visualizers_Shapes.fmu > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Shapes.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Shapes_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Visualizers/Shapes/Shapes.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_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.776301669888198]