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.0008851/0.0008851, 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.0008928/0.0008928, 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.8945/0.8945, allocations: 177.1 MB / 204.3 MB, free: 5.73 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.2448/0.2448, allocations: 34.24 MB / 294.9 MB, free: 0.6992 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 2.565e-06/2.565e-06, allocations: 3.938 kB / 442.2 MB, free: 1.664 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.594e-05/2.85e-05, allocations: 4.25 kB / 442.2 MB, free: 1.66 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Shapes): time 0.1924/0.1925, allocations: 7.66 MB / 449.8 MB, free: 40.27 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.00404/0.1965, allocations: 2.199 MB / 452 MB, free: 38.93 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001095/0.1976, allocations: 40.78 kB / 452.1 MB, free: 38.93 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001863/0.1995, allocations: 1.566 MB / 453.6 MB, free: 38.24 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000959/0.2004, allocations: 0.5007 MB / 454.1 MB, free: 37.94 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002973/0.2007, allocations: 72.59 kB / 454.2 MB, free: 37.9 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008626/0.2016, allocations: 0.9642 MB / 455.2 MB, free: 37.43 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009107/0.2025, allocations: 1.205 MB / 456.4 MB, free: 36.89 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007269/0.2032, allocations: 0.8037 MB / 457.2 MB, free: 36.53 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007349/0.204, allocations: 0.6173 MB / 457.8 MB, free: 36.33 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001526/0.2041, allocations: 118.8 kB / 457.9 MB, free: 36.33 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002949/0.2044, allocations: 139.6 kB / 458 MB, free: 36.32 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004656/0.2049, allocations: 0.7714 MB / 458.8 MB, free: 35.98 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000376/0.2052, allocations: 0.4899 MB / 459.3 MB, free: 35.75 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00154/0.2068, allocations: 2.256 MB / 461.6 MB, free: 34.91 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.745e-06/0.2068, allocations: 0 / 461.6 MB, free: 34.91 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.705e-06/0.2068, allocations: 0 / 461.6 MB, free: 34.91 MB / 410.7 MB Notification: Performance of Transformations before backend: time 3.443e-05/0.2068, allocations: 0 / 461.6 MB, free: 34.91 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.001726/0.2086, allocations: 1.895 MB / 463.5 MB, free: 33.7 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.525e-05/0.2086, allocations: 9.062 kB / 463.5 MB, free: 33.7 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000198/0.2088, allocations: 334 kB / 463.8 MB, free: 33.52 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004185/0.2092, allocations: 225.2 kB / 464 MB, free: 33.39 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006759/0.2099, allocations: 0.6707 MB / 464.7 MB, free: 32.95 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.039e-05/0.2099, allocations: 115.6 kB / 464.8 MB, free: 32.89 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.603e-05/0.21, allocations: 149.7 kB / 464.9 MB, free: 32.84 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002281/0.2123, allocations: 3.38 MB / 468.3 MB, free: 31.05 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.358e-05/0.2124, allocations: 17.94 kB / 468.3 MB, free: 31.04 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.286e-05/0.2124, allocations: 73.59 kB / 468.4 MB, free: 30.99 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004202/0.2128, allocations: 0.6165 MB / 469 MB, free: 30.88 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001959/0.2148, allocations: 1.863 MB / 470.9 MB, free: 30.25 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006584/0.2214, allocations: 12.94 MB / 483.8 MB, free: 19.64 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.14e-05/0.2214, allocations: 169.1 kB / 484 MB, free: 19.46 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.352e-05/0.2215, allocations: 80.14 kB / 484.1 MB, free: 19.38 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.036e-05/0.2215, allocations: 78.44 kB / 484.1 MB, free: 19.31 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.938e-05/0.2215, allocations: 105.8 kB / 484.2 MB, free: 19.2 MB / 410.7 MB Notification: Performance of pre-optimization done (n=0): time 1.723e-06/0.2215, allocations: 0 / 484.2 MB, free: 19.2 MB / 410.7 MB Notification: Performance of matching and sorting (n=0): time 0.0001838/0.2217, allocations: 157.6 kB / 484.4 MB, free: 19.09 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.062e-05/0.2217, allocations: 134.2 kB / 484.5 MB, free: 18.95 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001144/0.2228, allocations: 1.751 MB / 486.3 MB, free: 18.23 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 6.251e-06/0.2228, allocations: 25.7 kB / 486.3 MB, free: 18.2 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003761/0.2232, allocations: 1.401 MB / 487.7 MB, free: 17.07 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.256e-05/0.2232, allocations: 42.44 kB / 487.8 MB, free: 17.05 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002382/0.2235, allocations: 417.6 kB / 488.2 MB, free: 16.84 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 6.291e-05/0.2235, allocations: 363.6 kB / 488.5 MB, free: 16.5 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004108/0.224, allocations: 369.1 kB / 488.9 MB, free: 16.41 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009597/0.2249, allocations: 1.93 MB / 490.8 MB, free: 14.13 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001616/0.2265, allocations: 2.513 MB / 493.3 MB, free: 11.48 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.017e-05/0.2266, allocations: 16.81 kB / 493.3 MB, free: 11.48 MB / 410.7 MB Notification: Performance of matching and sorting (n=260) (initialization): time 0.002529/0.2291, allocations: 2.11 MB / 495.4 MB, free: 10.63 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.895e-05/0.2291, allocations: 29.34 kB / 495.5 MB, free: 10.63 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.659e-05/0.2292, allocations: 60.91 kB / 495.5 MB, free: 10.62 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.865e-05/0.2293, allocations: 76.92 kB / 495.6 MB, free: 10.62 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007705/0.2301, allocations: 491.5 kB / 496.1 MB, free: 10.56 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.475e-05/0.2301, allocations: 106.2 kB / 496.2 MB, free: 10.54 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001193/0.2313, allocations: 338.1 kB / 496.5 MB, free: 10.32 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001139/0.2314, allocations: 139.7 kB / 496.7 MB, free: 10.3 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.001031/0.2325, allocations: 0.8643 MB / 497.5 MB, free: 9.809 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001634/0.2326, allocations: 230.7 kB / 497.7 MB, free: 9.629 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001437/0.2328, allocations: 229 kB / 498 MB, free: 9.473 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.716e-05/0.2328, allocations: 188.7 kB / 498.2 MB, free: 9.285 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.805e-05/0.2328, allocations: 177.5 kB / 498.3 MB, free: 9.105 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.591e-05/0.2328, allocations: 178.5 kB / 498.5 MB, free: 8.926 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001227/0.234, allocations: 1.42 MB / 499.9 MB, free: 8.195 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.059e-05/0.2341, allocations: 106.6 kB / 0.4883 GB, free: 8.09 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.139e-05/0.2341, allocations: 109.4 kB / 0.4884 GB, free: 7.98 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.675e-05/0.2341, allocations: 185.3 kB / 0.4886 GB, free: 7.793 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.744e-05/0.2341, allocations: 185.7 kB / 0.4888 GB, free: 7.609 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.564e-05/0.2341, allocations: 181.4 kB / 0.4889 GB, free: 7.426 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.642e-05/0.2341, allocations: 180.7 kB / 0.4891 GB, free: 7.246 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001257/0.2343, allocations: 433 kB / 0.4895 GB, free: 6.855 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000163/0.2344, allocations: 236.4 kB / 0.4898 GB, free: 6.66 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.206e-05/0.2345, allocations: 180.2 kB / 0.4899 GB, free: 6.477 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001594/0.2347, allocations: 105.8 kB / 0.49 GB, free: 6.371 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.196e-05/0.2347, allocations: 181.9 kB / 0.4902 GB, free: 6.188 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.696e-06/0.2347, allocations: 103 kB / 0.4903 GB, free: 6.082 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.000936/0.2356, allocations: 1.019 MB / 0.4913 GB, free: 5.715 MB / 410.7 MB Notification: Performance of sort global known variables: time 2e-07/0.2356, allocations: 0 / 0.4913 GB, free: 5.715 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001403/0.237, allocations: 429.2 kB / 0.4917 GB, free: 5.59 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.0002791/0.2373, allocations: 0.9452 MB / 0.4926 GB, free: 4.703 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001/0.2383, allocations: 0.8686 MB / 0.4935 GB, free: 4.398 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/0.2383, allocations: 0 / 0.4935 GB, free: 4.398 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 2.444e-06/0.2383, allocations: 3.375 kB / 0.4935 GB, free: 4.398 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005309/0.2388, allocations: 0.5643 MB / 0.494 GB, free: 3.891 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0137/0.2525, allocations: 13.5 MB / 0.5072 GB, free: 10.55 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001081/0.2536, allocations: 0.9895 MB / 0.5082 GB, free: 10.25 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0008747/0.2545, allocations: 500 kB / 0.5087 GB, free: 10.2 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005375/0.255, allocations: 0.6655 MB / 0.5093 GB, free: 9.652 MB / 426.7 MB Notification: Performance of SimCode: time 2.004e-06/0.255, allocations: 3.938 kB / 0.5093 GB, free: 9.648 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04056/0.2956, allocations: 22.36 MB / 0.5311 GB, free: 7.059 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.698/7.994, allocations: 4.984 kB / 0.5311 GB, free: 7.055 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 & python3 -m fmpy simulate --output-file ModelicaTest_4.1.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_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.csv","/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: 10.095408823341131]