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.0008567/0.0008567, allocations: 79.53 kB / 20.02 MB, free: 4.508 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.0008439/0.0008439, allocations: 173.9 kB / 23.32 MB, free: 1.203 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.8745/0.8745, allocations: 158.6 MB / 185.1 MB, free: 2.992 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.1294/0.1294, allocations: 32.37 MB / 269.7 MB, free: 14.9 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.364e-06/2.364e-06, allocations: 0 / 407 MB, free: 13.42 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.693e-05/1.93e-05, allocations: 2.281 kB / 407 MB, free: 13.42 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Shapes): time 0.008682/0.008701, allocations: 7.705 MB / 414.8 MB, free: 5.68 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0057/0.0144, allocations: 2.161 MB / 416.9 MB, free: 3.508 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001009/0.01541, allocations: 43.88 kB / 417 MB, free: 3.465 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002257/0.01767, allocations: 1.561 MB / 418.5 MB, free: 1.898 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008947/0.01856, allocations: 0.5045 MB / 419 MB, free: 1.391 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002525/0.01881, allocations: 79.77 kB / 419.1 MB, free: 1.312 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009386/0.01975, allocations: 0.9756 MB / 420.1 MB, free: 340 kB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009951/0.02075, allocations: 1.221 MB / 421.3 MB, free: 15.09 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006891/0.02144, allocations: 0.8106 MB / 422.1 MB, free: 14.28 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006109/0.02205, allocations: 0.6153 MB / 422.7 MB, free: 13.66 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001172/0.02217, allocations: 120 kB / 422.8 MB, free: 13.54 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002136/0.02238, allocations: 143.9 kB / 423 MB, free: 13.4 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004239/0.0228, allocations: 0.779 MB / 423.8 MB, free: 12.62 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006413/0.02344, allocations: 0.5023 MB / 424.3 MB, free: 12.12 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001362/0.02481, allocations: 2.269 MB / 426.5 MB, free: 9.84 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.02481, allocations: 7.922 kB / 426.5 MB, free: 9.832 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.904e-06/0.02481, allocations: 0 / 426.5 MB, free: 9.832 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.948e-05/0.02483, allocations: 0 / 426.5 MB, free: 9.832 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.001578/0.02641, allocations: 1.912 MB / 428.5 MB, free: 7.879 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.043e-05/0.02645, allocations: 12.03 kB / 428.5 MB, free: 7.867 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002162/0.02667, allocations: 330.5 kB / 428.8 MB, free: 7.535 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003628/0.02703, allocations: 223.4 kB / 429 MB, free: 7.316 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006707/0.0277, allocations: 0.6773 MB / 429.7 MB, free: 6.609 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.748e-05/0.02776, allocations: 115.4 kB / 429.8 MB, free: 6.496 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001124/0.02787, allocations: 144.3 kB / 429.9 MB, free: 6.355 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002631/0.0305, allocations: 3.383 MB / 433.3 MB, free: 2.637 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.035e-05/0.03053, allocations: 11.88 kB / 433.3 MB, free: 2.625 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.151e-05/0.03061, allocations: 75.94 kB / 433.4 MB, free: 2.551 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004401/0.03105, allocations: 0.6189 MB / 434 MB, free: 1.934 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001837/0.03289, allocations: 1.858 MB / 435.9 MB, free: 76 kB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1832/0.2161, allocations: 12.96 MB / 448.8 MB, free: 27.64 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.533e-05/0.2161, allocations: 176.3 kB / 449 MB, free: 27.47 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.231e-05/0.2162, allocations: 85.2 kB / 449.1 MB, free: 27.39 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.165e-05/0.2162, allocations: 76.44 kB / 449.2 MB, free: 27.31 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.358e-05/0.2162, allocations: 116.5 kB / 449.3 MB, free: 27.2 MB / 362.7 MB Notification: Performance of pre-optimization done (n=0): time 2.114e-06/0.2162, allocations: 0 / 449.3 MB, free: 27.2 MB / 362.7 MB Notification: Performance of matching and sorting (n=0): time 0.0001728/0.2164, allocations: 152.9 kB / 449.4 MB, free: 27.09 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.27e-05/0.2164, allocations: 134.5 kB / 449.6 MB, free: 26.95 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001581/0.218, allocations: 1.757 MB / 451.3 MB, free: 26.3 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 6.022e-06/0.218, allocations: 25.7 kB / 451.3 MB, free: 26.27 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005301/0.2185, allocations: 1.408 MB / 452.8 MB, free: 25.24 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.49e-05/0.2185, allocations: 44.69 kB / 452.8 MB, free: 25.22 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000278/0.2188, allocations: 418.6 kB / 453.2 MB, free: 25 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 7.54e-05/0.2189, allocations: 355.8 kB / 453.6 MB, free: 24.68 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003901/0.2193, allocations: 368.9 kB / 453.9 MB, free: 24.58 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008931/0.2202, allocations: 1.93 MB / 455.8 MB, free: 22.31 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001679/0.2219, allocations: 2.511 MB / 458.4 MB, free: 19.68 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.102e-05/0.2219, allocations: 16.91 kB / 458.4 MB, free: 19.68 MB / 362.7 MB Notification: Performance of matching and sorting (n=260) (initialization): time 0.002299/0.2242, allocations: 2.113 MB / 460.5 MB, free: 18.83 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.674e-05/0.2242, allocations: 35.91 kB / 460.5 MB, free: 18.83 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.944e-05/0.2243, allocations: 57 kB / 460.6 MB, free: 18.83 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.739e-05/0.2244, allocations: 74.73 kB / 460.6 MB, free: 18.83 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007356/0.2251, allocations: 487.5 kB / 461.1 MB, free: 18.77 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.465e-05/0.2252, allocations: 116.9 kB / 461.2 MB, free: 18.73 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009132/0.2261, allocations: 330.8 kB / 461.6 MB, free: 18.52 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001233/0.2262, allocations: 138.5 kB / 461.7 MB, free: 18.5 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.0008422/0.227, allocations: 0.8628 MB / 462.6 MB, free: 18.01 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001103/0.2272, allocations: 229.7 kB / 462.8 MB, free: 17.84 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001449/0.2273, allocations: 229.5 kB / 463 MB, free: 17.68 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.857e-05/0.2273, allocations: 185.5 kB / 463.2 MB, free: 17.49 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.373e-05/0.2273, allocations: 184.2 kB / 463.4 MB, free: 17.31 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.25e-05/0.2274, allocations: 190.1 kB / 463.6 MB, free: 17.12 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001147/0.2285, allocations: 1.415 MB / 465 MB, free: 16.39 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.146e-05/0.2285, allocations: 103.1 kB / 465.1 MB, free: 16.29 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.092e-05/0.2285, allocations: 107 kB / 465.2 MB, free: 16.18 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.151e-05/0.2286, allocations: 182.5 kB / 465.4 MB, free: 16 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.055e-05/0.2286, allocations: 181.6 kB / 465.5 MB, free: 15.81 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.514e-05/0.2286, allocations: 178.3 kB / 465.7 MB, free: 15.63 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.439e-05/0.2286, allocations: 182.3 kB / 465.9 MB, free: 15.45 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001226/0.2287, allocations: 439.1 kB / 466.3 MB, free: 15.05 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000116/0.2288, allocations: 226.5 kB / 466.5 MB, free: 14.87 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.681e-05/0.2289, allocations: 178.8 kB / 466.7 MB, free: 14.69 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001302/0.229, allocations: 107 kB / 466.8 MB, free: 14.58 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.35e-05/0.2291, allocations: 186.7 kB / 467 MB, free: 14.39 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.347e-06/0.2291, allocations: 103.9 kB / 467.1 MB, free: 14.29 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0009159/0.23, allocations: 1.021 MB / 468.1 MB, free: 13.92 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.23, allocations: 0 / 468.1 MB, free: 13.92 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0009787/0.231, allocations: 435.5 kB / 468.5 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.0002702/0.2312, allocations: 0.9426 MB / 469.5 MB, free: 12.91 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0007473/0.232, allocations: 0.8719 MB / 470.4 MB, free: 12.6 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.232, allocations: 0 / 470.4 MB, free: 12.6 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 1.413e-06/0.232, allocations: 3.375 kB / 470.4 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.0004519/0.2324, allocations: 0.5799 MB / 470.9 MB, free: 12.08 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008051/0.2405, allocations: 13.51 MB / 484.5 MB, free: 14.25 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001037/0.2415, allocations: 0.9897 MB / 485.4 MB, free: 13.22 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0006388/0.2422, allocations: 491.4 kB / 485.9 MB, free: 12.73 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004872/0.2427, allocations: 0.6721 MB / 486.6 MB, free: 12.06 MB / 378.7 MB Notification: Performance of SimCode: time 1.162e-06/0.2427, allocations: 0 / 486.6 MB, free: 12.06 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03265/0.2753, allocations: 22.47 MB / 0.4971 GB, free: 5.598 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.473/7.748, allocations: 0 / 0.4971 GB, free: 5.598 MB / 394.7 MB " [Timeout remaining time 652] (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 & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_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.0004 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.708370134234428] Failed to read output from testmodel.py, exit status != 0: 7.839590732939541 7.850723469 7.824139261 Calling exit ...