Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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.000755/0.000755, allocations: 76.48 kB / 19.92 MB, free: 4.633 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.0007706/0.0007706, allocations: 169.9 kB / 23.21 MB, free: 1.352 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.8499/0.8499, allocations: 158.6 MB / 185 MB, free: 3.035 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1346/0.1346, allocations: 32.37 MB / 269.6 MB, free: 14.97 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3_2_3_ModelicaTest_MultiBody_Visualizers_Shapes",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Visualizers.Shapes,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Visualizers_Shapes",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.805e-06/2.805e-06, allocations: 3.984 kB / 406.8 MB, free: 13.54 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.517e-05/2.797e-05, allocations: 5.516 kB / 406.8 MB, free: 13.54 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Shapes): time 0.006389/0.006417, allocations: 7.69 MB / 414.5 MB, free: 5.809 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.004344/0.01076, allocations: 2.165 MB / 416.7 MB, free: 3.633 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009238/0.01169, allocations: 43.88 kB / 416.7 MB, free: 3.59 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001862/0.01355, allocations: 1.561 MB / 418.3 MB, free: 2.023 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001198/0.01475, allocations: 0.5084 MB / 418.8 MB, free: 1.512 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002662/0.01501, allocations: 71.78 kB / 418.9 MB, free: 1.441 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.000987/0.016, allocations: 0.9756 MB / 419.8 MB, free: 472 kB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001068/0.01707, allocations: 1.217 MB / 421.1 MB, free: 15.22 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008886/0.01795, allocations: 0.8222 MB / 421.9 MB, free: 14.4 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008187/0.01877, allocations: 0.6193 MB / 422.5 MB, free: 13.78 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001712/0.01894, allocations: 120 kB / 422.6 MB, free: 13.66 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002984/0.01924, allocations: 139.9 kB / 422.8 MB, free: 13.52 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004709/0.01971, allocations: 0.779 MB / 423.5 MB, free: 12.74 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000433/0.02015, allocations: 0.4945 MB / 424 MB, free: 12.25 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001499/0.02165, allocations: 2.273 MB / 426.3 MB, free: 9.965 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.531e-06/0.02165, allocations: 4 kB / 426.3 MB, free: 9.961 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.234e-06/0.02165, allocations: 0 / 426.3 MB, free: 9.961 MB / 362.7 MB Notification: Performance of Transformations before backend: time 7.692e-05/0.02173, allocations: 0 / 426.3 MB, free: 9.961 MB / 362.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.001862/0.02359, allocations: 1.916 MB / 428.2 MB, free: 8.004 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.399e-05/0.02364, allocations: 12.03 kB / 428.2 MB, free: 7.992 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002147/0.02385, allocations: 334.5 kB / 428.6 MB, free: 7.656 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003615/0.02421, allocations: 219.4 kB / 428.8 MB, free: 7.441 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006972/0.02491, allocations: 0.6657 MB / 429.4 MB, free: 6.746 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.601e-05/0.02497, allocations: 115.4 kB / 429.6 MB, free: 6.633 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001089/0.02507, allocations: 152.3 kB / 429.7 MB, free: 6.484 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002482/0.02756, allocations: 3.383 MB / 433.1 MB, free: 2.766 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.843e-05/0.02758, allocations: 23.81 kB / 433.1 MB, free: 2.742 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.195e-05/0.02766, allocations: 67.95 kB / 433.2 MB, free: 2.676 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004221/0.02808, allocations: 0.6189 MB / 433.8 MB, free: 2.059 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001868/0.02995, allocations: 1.858 MB / 435.7 MB, free: 204 kB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1834/0.2133, allocations: 12.93 MB / 448.6 MB, free: 27.62 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.336e-05/0.2134, allocations: 171.7 kB / 448.7 MB, free: 27.45 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.811e-05/0.2134, allocations: 80.8 kB / 448.8 MB, free: 27.37 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.438e-05/0.2134, allocations: 80.05 kB / 448.9 MB, free: 27.29 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.421e-05/0.2134, allocations: 111.7 kB / 449 MB, free: 27.18 MB / 362.7 MB Notification: Performance of pre-optimization done (n=0): time 2.415e-06/0.2134, allocations: 1.094 kB / 449 MB, free: 27.18 MB / 362.7 MB Notification: Performance of matching and sorting (n=0): time 0.0002278/0.2137, allocations: 156.7 kB / 449.2 MB, free: 27.07 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.588e-05/0.2137, allocations: 127.8 kB / 449.3 MB, free: 26.93 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001744/0.2154, allocations: 1.762 MB / 451.1 MB, free: 26.28 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 7.855e-06/0.2154, allocations: 29.61 kB / 451.1 MB, free: 26.25 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005691/0.216, allocations: 1.407 MB / 452.5 MB, free: 25.24 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.504e-05/0.2161, allocations: 44.92 kB / 452.5 MB, free: 25.22 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003153/0.2164, allocations: 417.9 kB / 452.9 MB, free: 25 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001026/0.2165, allocations: 355 kB / 453.3 MB, free: 24.68 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004671/0.2169, allocations: 369.3 kB / 453.6 MB, free: 24.58 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008578/0.2178, allocations: 1.928 MB / 455.6 MB, free: 22.31 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00193/0.2197, allocations: 2.511 MB / 458.1 MB, free: 19.69 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.727e-05/0.2198, allocations: 16.78 kB / 458.1 MB, free: 19.69 MB / 362.7 MB Notification: Performance of matching and sorting (n=260) (initialization): time 0.002673/0.2224, allocations: 2.116 MB / 460.2 MB, free: 18.83 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.728e-05/0.2225, allocations: 33.66 kB / 460.3 MB, free: 18.83 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.505e-05/0.2225, allocations: 56.72 kB / 460.3 MB, free: 18.83 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.215e-05/0.2226, allocations: 78.12 kB / 460.4 MB, free: 18.83 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008019/0.2234, allocations: 487.2 kB / 460.9 MB, free: 18.77 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.84e-05/0.2235, allocations: 109.9 kB / 461 MB, free: 18.74 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001227/0.2247, allocations: 337.8 kB / 461.3 MB, free: 18.52 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001086/0.2249, allocations: 137.4 kB / 461.4 MB, free: 18.51 MB / 362.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.0009397/0.2258, allocations: 0.865 MB / 462.3 MB, free: 18.02 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001122/0.2259, allocations: 236.9 kB / 462.5 MB, free: 17.83 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001183/0.226, allocations: 234.7 kB / 462.8 MB, free: 17.67 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.772e-05/0.226, allocations: 179.5 kB / 462.9 MB, free: 17.49 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.734e-05/0.2261, allocations: 179 kB / 463.1 MB, free: 17.31 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.809e-05/0.2261, allocations: 194.1 kB / 463.3 MB, free: 17.12 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001226/0.2273, allocations: 1.416 MB / 464.7 MB, free: 16.39 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.121e-05/0.2273, allocations: 106.6 kB / 464.8 MB, free: 16.29 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.057e-05/0.2273, allocations: 102.6 kB / 464.9 MB, free: 16.18 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.76e-05/0.2273, allocations: 178.3 kB / 465.1 MB, free: 16 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.997e-05/0.2274, allocations: 186.3 kB / 465.3 MB, free: 15.81 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.517e-05/0.2274, allocations: 183.5 kB / 465.5 MB, free: 15.63 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.615e-05/0.2274, allocations: 182.4 kB / 465.6 MB, free: 15.45 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001251/0.2275, allocations: 431 kB / 466.1 MB, free: 15.06 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001256/0.2276, allocations: 225.3 kB / 466.3 MB, free: 14.87 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.265e-05/0.2277, allocations: 179.2 kB / 466.4 MB, free: 14.69 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001468/0.2279, allocations: 112 kB / 466.6 MB, free: 14.58 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.146e-05/0.2279, allocations: 178.3 kB / 466.7 MB, free: 14.4 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.032e-05/0.2279, allocations: 107 kB / 466.8 MB, free: 14.29 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0009277/0.2288, allocations: 1.024 MB / 467.9 MB, free: 13.92 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.2288, allocations: 0 / 467.9 MB, free: 13.92 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001162/0.23, allocations: 436.2 kB / 468.3 MB, free: 13.79 MB / 362.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.0003096/0.2303, allocations: 0.9423 MB / 469.2 MB, free: 12.91 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001005/0.2313, allocations: 0.8712 MB / 470.1 MB, free: 12.6 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.2313, allocations: 1.875 kB / 470.1 MB, free: 12.6 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 2.305e-06/0.2313, allocations: 3.938 kB / 470.1 MB, free: 12.6 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004949/0.2318, allocations: 0.5761 MB / 470.7 MB, free: 12.08 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008732/0.2405, allocations: 13.51 MB / 484.2 MB, free: 14.4 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007759/0.2413, allocations: 0.9905 MB / 485.2 MB, free: 13.37 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0006893/0.242, allocations: 495.4 kB / 485.7 MB, free: 12.88 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004444/0.2424, allocations: 0.6721 MB / 486.3 MB, free: 12.21 MB / 378.7 MB Notification: Performance of SimCode: time 1.182e-06/0.2424, allocations: 0 / 486.3 MB, free: 12.21 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03402/0.2765, allocations: 22.42 MB / 0.4968 GB, free: 5.809 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.033/7.309, allocations: 3.984 kB / 0.4968 GB, free: 5.805 MB / 394.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Visualizers.Shapes.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Visualizers.Shapes.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Visualizers.Shapes.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Visualizers.Shapes.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_MultiBody_Visualizers_Shapes_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_MultiBody_Visualizers_Shapes.fmu > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Visualizers.Shapes.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.189339061267674] Failed to read output from testmodel.py, exit status != 0: 7.3999297991395 7.407588247 7.384207782 Calling exit ...