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.001657/0.001657, allocations: 120.3 kB / 17.84 MB, free: 5.203 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.001893/0.001893, allocations: 211.9 kB / 20.8 MB, free: 2.258 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.528/1.528, allocations: 207.6 MB / 231.2 MB, free: 4.113 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.3333/0.3333, allocations: 44.23 MB / 327.3 MB, free: 6.695 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Visualizers.Shapes,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Visualizers_Shapes",fmuType="cs",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.002269/0.002269, allocations: 71.91 kB / 462.9 MB, free: 0.8594 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2962/0.2985, allocations: 61 MB / 0.5117 GB, free: 13.22 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Shapes): time 0.008887/0.3074, allocations: 8.767 MB / 0.5202 GB, free: 6.152 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.005086/0.3125, allocations: 2.267 MB / 0.5224 GB, free: 3.879 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001755/0.3142, allocations: 43.88 kB / 0.5225 GB, free: 3.836 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002883/0.3171, allocations: 1.538 MB / 0.524 GB, free: 2.293 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001492/0.3186, allocations: 0.4981 MB / 0.5245 GB, free: 1.793 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004443/0.319, allocations: 71.84 kB / 0.5245 GB, free: 1.723 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001453/0.3205, allocations: 0.941 MB / 0.5255 GB, free: 0.7773 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001645/0.3221, allocations: 1.299 MB / 0.5267 GB, free: 15.45 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001153/0.3233, allocations: 0.545 MB / 0.5273 GB, free: 14.91 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001431/0.3247, allocations: 0.72 MB / 0.528 GB, free: 14.18 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004062/0.3251, allocations: 119.9 kB / 0.5281 GB, free: 14.06 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005679/0.3257, allocations: 132 kB / 0.5282 GB, free: 13.93 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001/0.3267, allocations: 0.7478 MB / 0.5289 GB, free: 13.18 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001286/0.328, allocations: 0.858 MB / 0.5298 GB, free: 12.32 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002929/0.3309, allocations: 2.348 MB / 0.5321 GB, free: 9.965 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.312e-06/0.3309, allocations: 0 / 0.5321 GB, free: 9.965 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.903e-06/0.3309, allocations: 0 / 0.5321 GB, free: 9.965 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.965e-05/0.331, allocations: 0 / 0.5321 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.003174/0.3342, allocations: 2.007 MB / 0.534 GB, free: 7.898 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 0.0001083/0.3343, allocations: 23.77 kB / 0.534 GB, free: 7.875 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 6.498e-05/0.3343, allocations: 47.23 kB / 0.5341 GB, free: 7.828 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004024/0.3347, allocations: 334.5 kB / 0.5344 GB, free: 7.492 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006134/0.3354, allocations: 223.4 kB / 0.5346 GB, free: 7.273 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001193/0.3365, allocations: 0.7228 MB / 0.5353 GB, free: 6.508 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.583e-05/0.3366, allocations: 123.1 kB / 0.5354 GB, free: 6.387 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001979/0.3368, allocations: 151.9 kB / 0.5356 GB, free: 6.238 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004862/0.3417, allocations: 3.383 MB / 0.5389 GB, free: 2.52 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.931e-05/0.3417, allocations: 15.88 kB / 0.5389 GB, free: 2.504 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001362/0.3419, allocations: 75.94 kB / 0.539 GB, free: 2.43 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000793/0.3427, allocations: 0.6188 MB / 0.5396 GB, free: 1.812 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003182/0.3459, allocations: 1.854 MB / 0.5414 GB, free: 15.95 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01383/0.3597, allocations: 13.52 MB / 0.5546 GB, free: 2.016 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001143/0.3598, allocations: 173.1 kB / 0.5548 GB, free: 1.836 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.01e-05/0.3598, allocations: 80.14 kB / 0.5548 GB, free: 1.754 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.874e-05/0.3599, allocations: 75.28 kB / 0.5549 GB, free: 1.68 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.316e-05/0.3599, allocations: 113.8 kB / 0.555 GB, free: 1.559 MB / 414.1 MB Notification: Performance of pre-optimization done (n=0): time 1.874e-06/0.36, allocations: 0 / 0.555 GB, free: 1.559 MB / 414.1 MB Notification: Performance of matching and sorting (n=0): time 0.0002709/0.3602, allocations: 156.8 kB / 0.5552 GB, free: 1.398 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.004e-05/0.3603, allocations: 126.7 kB / 0.5553 GB, free: 1.262 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002209/0.3625, allocations: 1.659 MB / 0.5569 GB, free: 15.59 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.729e-05/0.3625, allocations: 25.7 kB / 0.5569 GB, free: 15.56 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001164/0.3637, allocations: 1.419 MB / 0.5583 GB, free: 14.12 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.806e-05/0.3637, allocations: 43.95 kB / 0.5584 GB, free: 14.08 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004803/0.3642, allocations: 431.2 kB / 0.5588 GB, free: 13.65 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001906/0.3644, allocations: 357.9 kB / 0.5591 GB, free: 13.3 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005621/0.365, allocations: 371.8 kB / 0.5595 GB, free: 12.93 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001916/0.3669, allocations: 1.925 MB / 0.5613 GB, free: 10.19 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003133/0.37, allocations: 2.515 MB / 0.5638 GB, free: 6.871 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.825e-05/0.3701, allocations: 16 kB / 0.5638 GB, free: 6.855 MB / 430.1 MB Notification: Performance of matching and sorting (n=260) (initialization): time 0.004238/0.3743, allocations: 2.119 MB / 0.5659 GB, free: 4.73 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.91e-05/0.3744, allocations: 32 kB / 0.5659 GB, free: 4.699 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.274e-05/0.3744, allocations: 56.84 kB / 0.566 GB, free: 4.645 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.673e-05/0.3745, allocations: 72 kB / 0.566 GB, free: 4.574 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001271/0.3758, allocations: 491.1 kB / 0.5665 GB, free: 4.094 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.413e-05/0.3759, allocations: 107.6 kB / 0.5666 GB, free: 3.988 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001594/0.3775, allocations: 333.5 kB / 0.5669 GB, free: 3.66 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001605/0.3776, allocations: 140 kB / 0.5671 GB, free: 3.523 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.001254/0.3789, allocations: 0.8705 MB / 0.5679 GB, free: 2.641 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000274/0.3792, allocations: 232.1 kB / 0.5681 GB, free: 2.406 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002559/0.3794, allocations: 232.4 kB / 0.5684 GB, free: 2.164 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.232e-05/0.3795, allocations: 176.3 kB / 0.5685 GB, free: 1.984 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.539e-05/0.3796, allocations: 184.2 kB / 0.5687 GB, free: 1.797 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.365e-05/0.3797, allocations: 176.4 kB / 0.5689 GB, free: 1.617 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00204/0.3817, allocations: 1.485 MB / 0.5703 GB, free: 76 kB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.958e-05/0.3818, allocations: 109 kB / 0.5704 GB, free: 15.96 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.73e-05/0.3818, allocations: 101 kB / 0.5705 GB, free: 15.85 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.782e-05/0.3819, allocations: 192.2 kB / 0.5707 GB, free: 15.66 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.06e-05/0.382, allocations: 176.3 kB / 0.5709 GB, free: 15.48 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.271e-05/0.3821, allocations: 176.3 kB / 0.571 GB, free: 15.3 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.964e-05/0.3822, allocations: 184.2 kB / 0.5712 GB, free: 15.11 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003407/0.3825, allocations: 449.9 kB / 0.5716 GB, free: 14.64 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003485/0.3829, allocations: 297.2 kB / 0.5719 GB, free: 14.33 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001753/0.3831, allocations: 176.3 kB / 0.5721 GB, free: 14.15 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003258/0.3834, allocations: 112.9 kB / 0.5722 GB, free: 14.03 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.429e-05/0.3835, allocations: 184.3 kB / 0.5724 GB, free: 13.84 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.65e-05/0.3835, allocations: 104.9 kB / 0.5725 GB, free: 13.73 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001537/0.3851, allocations: 1.022 MB / 0.5735 GB, free: 12.71 MB / 446.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3851, allocations: 0 / 0.5735 GB, free: 12.71 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001868/0.387, allocations: 434.7 kB / 0.5739 GB, free: 12.29 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.0008201/0.3878, allocations: 0.9407 MB / 0.5748 GB, free: 11.32 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001662/0.3894, allocations: 0.8755 MB / 0.5757 GB, free: 10.46 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.737e-06/0.3894, allocations: 1 kB / 0.5757 GB, free: 10.46 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 2.846e-06/0.3894, allocations: 0 / 0.5757 GB, free: 10.46 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009497/0.3904, allocations: 0.5751 MB / 0.5762 GB, free: 9.875 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02063/0.411, allocations: 13.63 MB / 0.5895 GB, free: 10.45 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001656/0.4127, allocations: 1.575 MB / 0.5911 GB, free: 8.844 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.001209/0.4139, allocations: 495.4 kB / 0.5915 GB, free: 8.355 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008973/0.4148, allocations: 0.6671 MB / 0.5922 GB, free: 7.688 MB / 462.1 MB Notification: Performance of SimCode: time 1.223e-06/0.4148, allocations: 4 kB / 0.5922 GB, free: 7.684 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05001/0.4648, allocations: 21.89 MB / 0.6136 GB, free: 1.766 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.6/11.07, allocations: 16 kB / 0.6136 GB, free: 1.75 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 & /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: 14.014587699028198] Failed to read output from testmodel.py, exit status != 0: 11.211097980034538 11.240220532 10.903610425 Calling exit ...