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.0008674/0.0008674, allocations: 83.69 kB / 20.67 MB, free: 3.887 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.0008763/0.0008763, 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.8835/0.8835, allocations: 177.1 MB / 204.3 MB, free: 5.715 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.2511/0.2511, allocations: 32.79 MB / 293.5 MB, free: 1.223 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 1.663e-06/1.663e-06, allocations: 0 / 439.6 MB, free: 4.258 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.076e-05/2.242e-05, allocations: 2.281 kB / 439.6 MB, free: 4.254 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Shapes): time 0.1824/0.1824, allocations: 7.672 MB / 447.2 MB, free: 42.43 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.003214/0.1856, allocations: 2.194 MB / 449.4 MB, free: 41.5 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005643/0.1862, allocations: 43.41 kB / 449.5 MB, free: 41.5 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001475/0.1877, allocations: 1.571 MB / 451 MB, free: 40.81 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005744/0.1883, allocations: 0.4934 MB / 451.5 MB, free: 40.52 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000208/0.1885, allocations: 80.52 kB / 451.6 MB, free: 40.47 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.000705/0.1892, allocations: 0.9572 MB / 452.6 MB, free: 40.01 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008231/0.19, allocations: 1.215 MB / 453.8 MB, free: 39.46 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005573/0.1906, allocations: 0.7998 MB / 454.6 MB, free: 39.11 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006005/0.1912, allocations: 0.6144 MB / 455.2 MB, free: 38.9 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001199/0.1913, allocations: 118.3 kB / 455.3 MB, free: 38.9 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001913/0.1915, allocations: 139.6 kB / 455.5 MB, free: 38.89 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003539/0.1918, allocations: 0.773 MB / 456.2 MB, free: 38.56 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000344/0.1922, allocations: 0.4926 MB / 456.7 MB, free: 38.32 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001283/0.1934, allocations: 2.258 MB / 459 MB, free: 37.48 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.568e-06/0.1935, allocations: 0 / 459 MB, free: 37.48 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.535e-06/0.1935, allocations: 0 / 459 MB, free: 37.48 MB / 410.7 MB Notification: Performance of Transformations before backend: time 2.363e-05/0.1935, allocations: 0 / 459 MB, free: 37.48 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.00143/0.1949, allocations: 1.898 MB / 460.9 MB, free: 36.27 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.972e-05/0.1949, allocations: 9.875 kB / 460.9 MB, free: 36.27 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001994/0.1951, allocations: 331 kB / 461.2 MB, free: 36.09 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000353/0.1955, allocations: 222.3 kB / 461.4 MB, free: 35.96 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005979/0.1961, allocations: 0.6733 MB / 462.1 MB, free: 35.51 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.88e-05/0.1961, allocations: 112.4 kB / 462.2 MB, free: 35.46 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.209e-05/0.1962, allocations: 149.7 kB / 462.4 MB, free: 35.41 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001988/0.1982, allocations: 3.373 MB / 465.7 MB, free: 33.63 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.074e-05/0.1983, allocations: 18.44 kB / 465.8 MB, free: 33.62 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.913e-05/0.1983, allocations: 74.75 kB / 465.8 MB, free: 33.57 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003571/0.1987, allocations: 0.6181 MB / 466.4 MB, free: 33.46 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001576/0.2003, allocations: 1.862 MB / 468.3 MB, free: 32.83 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004997/0.2053, allocations: 12.93 MB / 481.2 MB, free: 22.22 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.411e-05/0.2053, allocations: 172.1 kB / 481.4 MB, free: 22.04 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.22e-05/0.2053, allocations: 84.08 kB / 481.5 MB, free: 21.96 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.927e-06/0.2053, allocations: 75.28 kB / 481.6 MB, free: 21.88 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.835e-05/0.2053, allocations: 108.9 kB / 481.7 MB, free: 21.77 MB / 410.7 MB Notification: Performance of pre-optimization done (n=0): time 1.022e-06/0.2053, allocations: 0 / 481.7 MB, free: 21.77 MB / 410.7 MB Notification: Performance of matching and sorting (n=0): time 0.0001136/0.2055, allocations: 158.3 kB / 481.8 MB, free: 21.66 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.4e-05/0.2055, allocations: 129.6 kB / 481.9 MB, free: 21.53 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001036/0.2065, allocations: 1.75 MB / 483.7 MB, free: 20.8 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 4.479e-06/0.2065, allocations: 32.95 kB / 483.7 MB, free: 20.77 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000355/0.2069, allocations: 1.398 MB / 485.1 MB, free: 19.64 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.342e-05/0.2069, allocations: 45.25 kB / 485.2 MB, free: 19.63 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00022/0.2071, allocations: 420 kB / 485.6 MB, free: 19.41 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 5.32e-05/0.2072, allocations: 358.4 kB / 485.9 MB, free: 19.08 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002828/0.2075, allocations: 374.7 kB / 486.3 MB, free: 18.98 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006452/0.2081, allocations: 1.93 MB / 488.2 MB, free: 16.7 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001135/0.2092, allocations: 2.511 MB / 490.7 MB, free: 14.05 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.929e-05/0.2093, allocations: 16.03 kB / 490.8 MB, free: 14.05 MB / 410.7 MB Notification: Performance of matching and sorting (n=260) (initialization): time 0.001916/0.2112, allocations: 2.108 MB / 492.9 MB, free: 13.2 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.67e-05/0.2112, allocations: 29.56 kB / 492.9 MB, free: 13.2 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.215e-05/0.2113, allocations: 61.47 kB / 493 MB, free: 13.2 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.139e-05/0.2114, allocations: 73.38 kB / 493 MB, free: 13.2 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007104/0.2121, allocations: 492.6 kB / 493.5 MB, free: 13.13 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.011e-05/0.2121, allocations: 107.9 kB / 493.6 MB, free: 13.11 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000732/0.2129, allocations: 337.8 kB / 493.9 MB, free: 12.89 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001043/0.213, allocations: 142.4 kB / 494.1 MB, free: 12.87 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.000576/0.2135, allocations: 0.8579 MB / 494.9 MB, free: 12.38 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.987e-05/0.2136, allocations: 235.2 kB / 495.2 MB, free: 12.2 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001032/0.2137, allocations: 225.4 kB / 495.4 MB, free: 12.05 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.698e-05/0.2137, allocations: 189.8 kB / 495.6 MB, free: 11.86 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.848e-05/0.2138, allocations: 177.3 kB / 495.7 MB, free: 11.68 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.778e-05/0.2138, allocations: 181.5 kB / 495.9 MB, free: 11.5 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00108/0.2149, allocations: 1.42 MB / 497.3 MB, free: 10.77 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.184e-05/0.2149, allocations: 102.2 kB / 497.4 MB, free: 10.66 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.644e-05/0.2149, allocations: 106.2 kB / 497.5 MB, free: 10.55 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.088e-05/0.2149, allocations: 182.1 kB / 497.7 MB, free: 10.37 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.201e-05/0.2149, allocations: 181.5 kB / 497.9 MB, free: 10.19 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.312e-05/0.215, allocations: 190 kB / 498.1 MB, free: 10 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.11e-05/0.215, allocations: 177.5 kB / 498.3 MB, free: 9.82 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000145/0.2151, allocations: 432.7 kB / 498.7 MB, free: 9.43 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001302/0.2153, allocations: 229.6 kB / 498.9 MB, free: 9.238 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.737e-05/0.2153, allocations: 192.6 kB / 499.1 MB, free: 9.051 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001451/0.2155, allocations: 107 kB / 499.2 MB, free: 8.941 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.319e-05/0.2155, allocations: 181.4 kB / 499.4 MB, free: 8.758 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.026e-05/0.2155, allocations: 104.4 kB / 499.5 MB, free: 8.652 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0008495/0.2164, allocations: 1.014 MB / 0.4888 GB, free: 8.289 MB / 410.7 MB Notification: Performance of sort global known variables: time 9e-08/0.2164, allocations: 1.25 kB / 0.4888 GB, free: 8.289 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0009562/0.2173, allocations: 428.9 kB / 0.4892 GB, free: 8.164 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.0002708/0.2176, allocations: 0.9414 MB / 0.4901 GB, free: 7.281 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0007768/0.2184, allocations: 0.8732 MB / 0.4909 GB, free: 6.973 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.2184, allocations: 0 / 0.4909 GB, free: 6.973 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 1.302e-06/0.2184, allocations: 0 / 0.4909 GB, free: 6.973 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005042/0.2189, allocations: 0.5746 MB / 0.4915 GB, free: 6.457 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01056/0.2294, allocations: 13.49 MB / 0.5047 GB, free: 13.13 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009728/0.2304, allocations: 0.9865 MB / 0.5056 GB, free: 12.83 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0007807/0.2312, allocations: 0.4901 MB / 0.5061 GB, free: 12.77 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005363/0.2317, allocations: 0.6668 MB / 0.5068 GB, free: 12.23 MB / 426.7 MB Notification: Performance of SimCode: time 1.092e-06/0.2317, allocations: 0 / 0.5068 GB, free: 12.23 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03173/0.2634, allocations: 22.37 MB / 0.5286 GB, free: 10.92 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.377/7.64, allocations: 4 kB / 0.5286 GB, free: 10.91 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Shapes_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_MultiBody_Visualizers_Shapes_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 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.mat","/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.75135272089392]