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.001821/0.001821, allocations: 114.4 kB / 17.12 MB, free: 5.891 MB / 14.72 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.002181/0.002181, allocations: 211.2 kB / 20.09 MB, free: 2.941 MB / 14.72 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 1.473/1.473, allocations: 207.6 MB / 230.5 MB, free: 4.02 MB / 174.1 MB " [Timeout remaining time 178] 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.328/0.328, allocations: 44.23 MB / 326.6 MB, free: 6.805 MB / 254.1 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: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002347/0.002347, allocations: 71.89 kB / 462.2 MB, free: 0.875 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2702/0.2725, allocations: 61.01 MB / 0.511 GB, free: 13.16 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Shapes): time 0.007852/0.2804, allocations: 8.754 MB / 0.5195 GB, free: 6.168 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.006308/0.2867, allocations: 2.271 MB / 0.5217 GB, free: 3.891 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001398/0.2881, allocations: 43.88 kB / 0.5218 GB, free: 3.848 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002464/0.2905, allocations: 1.538 MB / 0.5233 GB, free: 2.305 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001221/0.2918, allocations: 0.4973 MB / 0.5238 GB, free: 1.805 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000278/0.292, allocations: 67.91 kB / 0.5238 GB, free: 1.738 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009317/0.293, allocations: 0.9526 MB / 0.5248 GB, free: 0.7812 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001319/0.2943, allocations: 1.296 MB / 0.526 GB, free: 15.46 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007769/0.2951, allocations: 0.5411 MB / 0.5266 GB, free: 14.91 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001034/0.2961, allocations: 0.72 MB / 0.5273 GB, free: 14.19 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002227/0.2963, allocations: 120 kB / 0.5274 GB, free: 14.07 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003249/0.2967, allocations: 127.9 kB / 0.5275 GB, free: 13.95 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007408/0.2974, allocations: 0.7556 MB / 0.5282 GB, free: 13.19 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008664/0.2983, allocations: 0.8619 MB / 0.5291 GB, free: 12.32 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00261/0.3009, allocations: 2.348 MB / 0.5314 GB, free: 9.965 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.668e-06/0.3009, allocations: 0 / 0.5314 GB, free: 9.965 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.3009, allocations: 0 / 0.5314 GB, free: 9.965 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.707e-05/0.3009, allocations: 0 / 0.5314 GB, free: 9.965 MB / 398.1 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.002957/0.3039, allocations: 1.999 MB / 0.5333 GB, free: 7.906 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.671e-05/0.3039, allocations: 15.89 kB / 0.5333 GB, free: 7.891 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003818/0.3043, allocations: 334.5 kB / 0.5337 GB, free: 7.555 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005878/0.3049, allocations: 231.4 kB / 0.5339 GB, free: 7.328 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001148/0.306, allocations: 0.7267 MB / 0.5346 GB, free: 6.559 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.292e-05/0.3061, allocations: 119.3 kB / 0.5347 GB, free: 6.441 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001972/0.3063, allocations: 155.9 kB / 0.5348 GB, free: 6.289 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004433/0.3108, allocations: 3.383 MB / 0.5382 GB, free: 2.57 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.98e-05/0.3108, allocations: 11.88 kB / 0.5382 GB, free: 2.559 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001393/0.3109, allocations: 71.94 kB / 0.5382 GB, free: 2.488 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007815/0.3117, allocations: 0.6149 MB / 0.5388 GB, free: 1.875 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003217/0.3149, allocations: 1.869 MB / 0.5407 GB, free: 8 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01334/0.3283, allocations: 13.51 MB / 0.5538 GB, free: 2.078 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001129/0.3284, allocations: 177.1 kB / 0.554 GB, free: 1.895 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.916e-05/0.3285, allocations: 84.08 kB / 0.5541 GB, free: 1.809 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.506e-05/0.3285, allocations: 75.28 kB / 0.5542 GB, free: 1.734 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.222e-05/0.3286, allocations: 109.8 kB / 0.5543 GB, free: 1.617 MB / 414.1 MB Notification: Performance of pre-optimization done (n=0): time 2.575e-06/0.3286, allocations: 0 / 0.5543 GB, free: 1.617 MB / 414.1 MB Notification: Performance of matching and sorting (n=0): time 0.000256/0.3288, allocations: 152.9 kB / 0.5544 GB, free: 1.461 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.01e-05/0.3289, allocations: 134.6 kB / 0.5545 GB, free: 1.316 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002116/0.331, allocations: 1.659 MB / 0.5562 GB, free: 15.65 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.572e-05/0.331, allocations: 25.7 kB / 0.5562 GB, free: 15.62 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001075/0.3321, allocations: 1.416 MB / 0.5576 GB, free: 14.18 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.445e-05/0.3321, allocations: 51.88 kB / 0.5576 GB, free: 14.13 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004686/0.3326, allocations: 423.2 kB / 0.558 GB, free: 13.71 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001794/0.3328, allocations: 353.9 kB / 0.5584 GB, free: 13.36 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005505/0.3333, allocations: 371.8 kB / 0.5587 GB, free: 12.99 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001876/0.3352, allocations: 1.937 MB / 0.5606 GB, free: 10.24 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00289/0.3381, allocations: 2.503 MB / 0.5631 GB, free: 6.934 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.363e-05/0.3381, allocations: 20 kB / 0.5631 GB, free: 6.914 MB / 430.1 MB Notification: Performance of matching and sorting (n=260) (initialization): time 0.003453/0.3416, allocations: 2.119 MB / 0.5651 GB, free: 4.789 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.397e-05/0.3416, allocations: 28 kB / 0.5652 GB, free: 4.762 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.7e-05/0.3417, allocations: 60 kB / 0.5652 GB, free: 4.703 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.776e-05/0.3418, allocations: 72 kB / 0.5653 GB, free: 4.633 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001177/0.343, allocations: 491 kB / 0.5658 GB, free: 4.152 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.807e-05/0.343, allocations: 111.6 kB / 0.5659 GB, free: 4.043 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00138/0.3444, allocations: 325.5 kB / 0.5662 GB, free: 3.723 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001501/0.3446, allocations: 140 kB / 0.5663 GB, free: 3.586 MB / 430.1 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.001118/0.3457, allocations: 0.8708 MB / 0.5672 GB, free: 2.703 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002202/0.3459, allocations: 236 kB / 0.5674 GB, free: 2.465 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002169/0.3461, allocations: 224.5 kB / 0.5676 GB, free: 2.23 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.159e-05/0.3462, allocations: 184.2 kB / 0.5678 GB, free: 2.043 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.446e-05/0.3463, allocations: 180.2 kB / 0.568 GB, free: 1.859 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.76e-05/0.3464, allocations: 184.3 kB / 0.5681 GB, free: 1.672 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001752/0.3481, allocations: 1.489 MB / 0.5696 GB, free: 128 kB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.705e-05/0.3482, allocations: 101 kB / 0.5697 GB, free: 20 kB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.242e-05/0.3482, allocations: 112.9 kB / 0.5698 GB, free: 15.9 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.586e-05/0.3483, allocations: 180.3 kB / 0.57 GB, free: 15.72 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.562e-05/0.3484, allocations: 184.2 kB / 0.5701 GB, free: 15.53 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.058e-05/0.3485, allocations: 176.3 kB / 0.5703 GB, free: 15.35 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.192e-05/0.3486, allocations: 184.2 kB / 0.5705 GB, free: 15.16 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003045/0.3489, allocations: 442 kB / 0.5709 GB, free: 14.71 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003126/0.3492, allocations: 301.2 kB / 0.5712 GB, free: 14.39 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001856/0.3494, allocations: 184.2 kB / 0.5714 GB, free: 14.2 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003015/0.3497, allocations: 104.9 kB / 0.5715 GB, free: 14.09 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.649e-05/0.3498, allocations: 176.3 kB / 0.5716 GB, free: 13.91 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.596e-05/0.3498, allocations: 109 kB / 0.5717 GB, free: 13.8 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001388/0.3512, allocations: 1.018 MB / 0.5727 GB, free: 12.78 MB / 446.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3512, allocations: 0 / 0.5727 GB, free: 12.78 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001652/0.3529, allocations: 438.7 kB / 0.5731 GB, free: 12.35 MB / 446.1 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.0007507/0.3536, allocations: 0.9484 MB / 0.5741 GB, free: 11.38 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001703/0.3553, allocations: 0.8635 MB / 0.5749 GB, free: 10.52 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.447e-06/0.3553, allocations: 0 / 0.5749 GB, free: 10.52 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 5.04e-06/0.3553, allocations: 4 kB / 0.5749 GB, free: 10.52 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001125/0.3564, allocations: 0.5802 MB / 0.5755 GB, free: 9.938 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01935/0.3758, allocations: 13.62 MB / 0.5888 GB, free: 10.52 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00177/0.3776, allocations: 1.583 MB / 0.5903 GB, free: 8.902 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.001182/0.3787, allocations: 491.3 kB / 0.5908 GB, free: 8.418 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008165/0.3796, allocations: 0.6633 MB / 0.5915 GB, free: 7.754 MB / 462.1 MB Notification: Performance of SimCode: time 1.383e-06/0.3796, allocations: 0 / 0.5915 GB, free: 7.754 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05935/0.4389, allocations: 21.86 MB / 0.6128 GB, free: 1.863 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.74/11.18, allocations: 25.27 kB / 0.6128 GB, free: 1.84 MB / 478.1 MB " [Timeout remaining time 649] (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: 13.959044047995121] Failed to read output from testmodel.py, exit status != 0: 11.265275830999599 11.290837831 10.985045319 Calling exit ...