Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.001022/0.001022, allocations: 79.7 kB / 20.67 MB, free: 3.891 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.001026/0.001026, allocations: 174 kB / 23.94 MB, free: 0.6172 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.8909/0.8909, allocations: 177.1 MB / 204.2 MB, free: 5.727 MB / 186.7 MB " [Timeout remaining time 179] 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.2373/0.2373, allocations: 34.25 MB / 294.9 MB, free: 0.7227 MB / 266.7 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: "" <> buildModelFMU(ModelicaTest.MultiBody.Visualizers.Shapes,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_MultiBody_Visualizers_Shapes",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Visualizers.Shapes,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_MultiBody_Visualizers_Shapes",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.392e-06/1.392e-06, allocations: 3.938 kB / 442.2 MB, free: 1.695 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.701e-05/1.84e-05, allocations: 7.125 kB / 442.2 MB, free: 1.688 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Shapes): time 0.1852/0.1852, allocations: 7.671 MB / 449.8 MB, free: 40.29 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.003008/0.1882, allocations: 2.188 MB / 452 MB, free: 38.95 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004989/0.1887, allocations: 49.38 kB / 452.1 MB, free: 38.94 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001398/0.1901, allocations: 1.565 MB / 453.6 MB, free: 38.25 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005791/0.1907, allocations: 0.4946 MB / 454.1 MB, free: 37.95 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002014/0.1909, allocations: 76.62 kB / 454.2 MB, free: 37.91 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005333/0.1915, allocations: 0.9598 MB / 455.2 MB, free: 37.45 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007817/0.1922, allocations: 1.206 MB / 456.4 MB, free: 36.9 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005321/0.1928, allocations: 0.8115 MB / 457.2 MB, free: 36.54 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005305/0.1933, allocations: 0.6154 MB / 457.8 MB, free: 36.34 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001042/0.1934, allocations: 118 kB / 457.9 MB, free: 36.34 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001937/0.1936, allocations: 134.4 kB / 458 MB, free: 36.33 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003281/0.1939, allocations: 0.7728 MB / 458.8 MB, free: 36 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000282/0.1942, allocations: 499.7 kB / 459.3 MB, free: 35.76 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001242/0.1955, allocations: 2.257 MB / 461.6 MB, free: 34.93 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.851e-06/0.1955, allocations: 0 / 461.6 MB, free: 34.93 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.094e-06/0.1955, allocations: 0 / 461.6 MB, free: 34.93 MB / 410.7 MB Notification: Performance of Transformations before backend: time 2.622e-05/0.1955, allocations: 4 kB / 461.6 MB, free: 34.93 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.001434/0.1969, allocations: 1.899 MB / 463.5 MB, free: 33.71 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.807e-05/0.197, allocations: 9.25 kB / 463.5 MB, free: 33.71 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001701/0.1971, allocations: 329.8 kB / 463.8 MB, free: 33.53 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000365/0.1975, allocations: 225.1 kB / 464 MB, free: 33.4 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006323/0.1981, allocations: 0.6663 MB / 464.7 MB, free: 32.96 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.976e-05/0.1982, allocations: 121 kB / 464.8 MB, free: 32.9 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.347e-05/0.1983, allocations: 148.5 kB / 464.9 MB, free: 32.85 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002017/0.2003, allocations: 3.377 MB / 468.3 MB, free: 31.07 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.269e-05/0.2003, allocations: 20.47 kB / 468.3 MB, free: 31.05 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.422e-05/0.2004, allocations: 70.81 kB / 468.4 MB, free: 31 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003599/0.2007, allocations: 0.6179 MB / 469 MB, free: 30.89 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001604/0.2023, allocations: 1.857 MB / 470.9 MB, free: 30.27 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005666/0.208, allocations: 12.94 MB / 483.8 MB, free: 19.65 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.471e-05/0.2081, allocations: 172.2 kB / 484 MB, free: 19.48 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.84e-05/0.2081, allocations: 80.14 kB / 484.1 MB, free: 19.39 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.206e-05/0.2081, allocations: 75.28 kB / 484.1 MB, free: 19.32 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.76e-05/0.2081, allocations: 105.8 kB / 484.3 MB, free: 19.21 MB / 410.7 MB Notification: Performance of pre-optimization done (n=0): time 2.545e-06/0.2081, allocations: 3.219 kB / 484.3 MB, free: 19.21 MB / 410.7 MB Notification: Performance of matching and sorting (n=0): time 0.0001745/0.2083, allocations: 159.1 kB / 484.4 MB, free: 19.1 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.629e-05/0.2083, allocations: 126.7 kB / 484.5 MB, free: 18.96 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001114/0.2094, allocations: 1.756 MB / 486.3 MB, free: 18.24 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 4.699e-06/0.2094, allocations: 25.7 kB / 486.3 MB, free: 18.21 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003543/0.2098, allocations: 1.395 MB / 487.7 MB, free: 17.09 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.065e-05/0.2098, allocations: 43.86 kB / 487.8 MB, free: 17.07 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002276/0.2101, allocations: 424 kB / 488.2 MB, free: 16.84 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 5.849e-05/0.2101, allocations: 356.4 kB / 488.5 MB, free: 16.52 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003472/0.2105, allocations: 371.7 kB / 488.9 MB, free: 16.42 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007587/0.2112, allocations: 1.931 MB / 490.8 MB, free: 14.14 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001286/0.2125, allocations: 2.507 MB / 493.3 MB, free: 11.5 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.335e-05/0.2125, allocations: 16.41 kB / 493.3 MB, free: 11.5 MB / 410.7 MB Notification: Performance of matching and sorting (n=260) (initialization): time 0.001927/0.2145, allocations: 2.121 MB / 495.5 MB, free: 10.64 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.007e-05/0.2145, allocations: 29.5 kB / 495.5 MB, free: 10.64 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.561e-05/0.2145, allocations: 62.89 kB / 495.5 MB, free: 10.63 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.918e-05/0.2146, allocations: 72.19 kB / 495.6 MB, free: 10.63 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007015/0.2153, allocations: 487 kB / 496.1 MB, free: 10.57 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.529e-05/0.2154, allocations: 113.8 kB / 496.2 MB, free: 10.54 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008944/0.2163, allocations: 326.2 kB / 496.5 MB, free: 10.33 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000101/0.2164, allocations: 142 kB / 496.7 MB, free: 10.31 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.0007547/0.2171, allocations: 0.8712 MB / 497.5 MB, free: 9.816 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.598e-05/0.2172, allocations: 227.6 kB / 497.8 MB, free: 9.641 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.691e-05/0.2173, allocations: 233.2 kB / 498 MB, free: 9.48 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.436e-05/0.2173, allocations: 182.5 kB / 498.2 MB, free: 9.301 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.578e-05/0.2173, allocations: 181.2 kB / 498.3 MB, free: 9.117 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.709e-05/0.2173, allocations: 178.9 kB / 498.5 MB, free: 8.938 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001007/0.2184, allocations: 1.415 MB / 499.9 MB, free: 8.215 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.141e-05/0.2184, allocations: 115 kB / 0.4883 GB, free: 8.098 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.346e-06/0.2184, allocations: 102.3 kB / 0.4884 GB, free: 7.992 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.792e-05/0.2184, allocations: 192.8 kB / 0.4886 GB, free: 7.801 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.603e-05/0.2184, allocations: 182.5 kB / 0.4888 GB, free: 7.617 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.466e-05/0.2184, allocations: 180.6 kB / 0.4889 GB, free: 7.438 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.539e-05/0.2184, allocations: 181.7 kB / 0.4891 GB, free: 7.254 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001277/0.2186, allocations: 436.6 kB / 0.4895 GB, free: 6.863 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001245/0.2187, allocations: 225.2 kB / 0.4897 GB, free: 6.676 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.558e-05/0.2188, allocations: 182.3 kB / 0.4899 GB, free: 6.492 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001503/0.2189, allocations: 106.2 kB / 0.49 GB, free: 6.383 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.345e-05/0.2189, allocations: 178.9 kB / 0.4902 GB, free: 6.203 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.235e-05/0.2189, allocations: 114.5 kB / 0.4903 GB, free: 6.09 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0008135/0.2198, allocations: 1.016 MB / 0.4913 GB, free: 5.723 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.2198, allocations: 0 / 0.4913 GB, free: 5.723 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001116/0.2209, allocations: 430 kB / 0.4917 GB, free: 5.598 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.0002721/0.2211, allocations: 0.9332 MB / 0.4926 GB, free: 4.723 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0008544/0.222, allocations: 0.8739 MB / 0.4935 GB, free: 4.414 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.222, allocations: 448 / 0.4935 GB, free: 4.414 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 2.414e-06/0.222, allocations: 5.125 kB / 0.4935 GB, free: 4.41 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004824/0.2225, allocations: 0.5679 MB / 0.494 GB, free: 3.898 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01253/0.235, allocations: 13.5 MB / 0.5072 GB, free: 10.56 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001028/0.236, allocations: 0.9881 MB / 0.5082 GB, free: 10.27 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0008379/0.2369, allocations: 0.4892 MB / 0.5087 GB, free: 10.21 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004744/0.2374, allocations: 0.6691 MB / 0.5093 GB, free: 9.66 MB / 426.7 MB Notification: Performance of SimCode: time 1.483e-06/0.2374, allocations: 3.938 kB / 0.5093 GB, free: 9.656 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.035/0.2724, allocations: 22.34 MB / 0.5311 GB, free: 7.074 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.392/7.665, allocations: 7.266 kB / 0.5311 GB, free: 7.07 MB / 442.7 MB " [Timeout remaining time 652] (rm -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Visualizers.Shapes.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.MultiBody.Visualizers.Shapes.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.MultiBody.Visualizers.Shapes.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Visualizers.Shapes.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.MultiBody.Visualizers.Shapes_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_MultiBody_Visualizers_Shapes_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_MultiBody_Visualizers_Shapes.fmu > ModelicaTest_4.1.0_ModelicaTest.MultiBody.Visualizers.Shapes.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_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_4.1.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.80136929731816]