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.001837/0.001837, allocations: 109 kB / 20.48 MB, free: 1.477 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.002375/0.002375, allocations: 209.7 kB / 23.79 MB, free: 4.688 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.482/1.482, allocations: 207.6 MB / 234.5 MB, free: 9.977 MB / 190.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.2214/0.2214, allocations: 44.24 MB / 331.1 MB, free: 9.512 MB / 270.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.002228/0.002228, allocations: 70.56 kB / 468.3 MB, free: 4.48 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1089/0.1112, allocations: 61.04 MB / 0.5169 GB, free: 7.293 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Shapes): time 0.01026/0.1214, allocations: 8.79 MB / 0.5255 GB, free: 14.46 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.005103/0.1265, allocations: 2.271 MB / 0.5277 GB, free: 12.18 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001285/0.1278, allocations: 43.88 kB / 0.5278 GB, free: 12.14 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003084/0.1309, allocations: 1.55 MB / 0.5293 GB, free: 10.58 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001406/0.1323, allocations: 0.4895 MB / 0.5298 GB, free: 10.09 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002933/0.1326, allocations: 71.89 kB / 0.5298 GB, free: 10.02 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.001296/0.1339, allocations: 0.9449 MB / 0.5308 GB, free: 9.07 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00135/0.1352, allocations: 1.213 MB / 0.532 GB, free: 7.828 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000664/0.1359, allocations: 0.5527 MB / 0.5325 GB, free: 7.273 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009592/0.1369, allocations: 0.7239 MB / 0.5332 GB, free: 6.547 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001853/0.137, allocations: 120 kB / 0.5333 GB, free: 6.43 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002853/0.1373, allocations: 127.9 kB / 0.5334 GB, free: 6.305 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007012/0.138, allocations: 0.7478 MB / 0.5342 GB, free: 5.555 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008041/0.1388, allocations: 0.858 MB / 0.535 GB, free: 4.691 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002464/0.1413, allocations: 2.349 MB / 0.5373 GB, free: 2.332 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.359e-06/0.1413, allocations: 0 / 0.5373 GB, free: 2.332 MB / 414.1 MB Notification: Performance of FrontEnd: time 3.637e-06/0.1413, allocations: 7.938 kB / 0.5373 GB, free: 2.324 MB / 414.1 MB Notification: Performance of Transformations before backend: time 4.158e-05/0.1414, allocations: 4 kB / 0.5373 GB, free: 2.32 MB / 414.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.002808/0.1442, allocations: 1.932 MB / 0.5392 GB, free: 356 kB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.913e-05/0.1442, allocations: 8.031 kB / 0.5392 GB, free: 348 kB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 5.679e-05/0.1443, allocations: 51.23 kB / 0.5393 GB, free: 296 kB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.1936/0.3379, allocations: 330.4 kB / 0.5396 GB, free: 28.38 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008159/0.3387, allocations: 226 kB / 0.5398 GB, free: 28.28 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001208/0.3399, allocations: 0.6556 MB / 0.5404 GB, free: 28.11 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.926e-05/0.34, allocations: 119.6 kB / 0.5405 GB, free: 28.11 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001868/0.3402, allocations: 151.5 kB / 0.5407 GB, free: 28.11 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004566/0.3448, allocations: 3.383 MB / 0.544 GB, free: 26.95 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.472e-05/0.3448, allocations: 14.86 kB / 0.544 GB, free: 26.95 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001198/0.3449, allocations: 72.03 kB / 0.5441 GB, free: 26.91 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007578/0.3457, allocations: 0.6188 MB / 0.5447 GB, free: 26.81 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003751/0.3494, allocations: 1.86 MB / 0.5465 GB, free: 26.19 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01084/0.3603, allocations: 13.44 MB / 0.5596 GB, free: 15.54 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.297e-05/0.3603, allocations: 166.5 kB / 0.5598 GB, free: 15.36 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.716e-05/0.3603, allocations: 81.52 kB / 0.5598 GB, free: 15.28 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.489e-05/0.3604, allocations: 79.98 kB / 0.5599 GB, free: 15.2 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.076e-05/0.3604, allocations: 105.8 kB / 0.56 GB, free: 15.09 MB / 414.1 MB Notification: Performance of pre-optimization done (n=0): time 2.014e-06/0.3604, allocations: 5.531 kB / 0.56 GB, free: 15.09 MB / 414.1 MB Notification: Performance of matching and sorting (n=0): time 0.0002354/0.3606, allocations: 168 kB / 0.5602 GB, free: 14.97 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.57e-05/0.3607, allocations: 127.3 kB / 0.5603 GB, free: 14.84 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002479/0.3631, allocations: 1.658 MB / 0.5619 GB, free: 14.23 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 6.322e-06/0.3631, allocations: 25.7 kB / 0.562 GB, free: 14.2 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009091/0.364, allocations: 1.419 MB / 0.5633 GB, free: 13.1 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.39e-05/0.3641, allocations: 45.94 kB / 0.5634 GB, free: 13.09 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005653/0.3647, allocations: 423 kB / 0.5638 GB, free: 12.87 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001284/0.3648, allocations: 359.6 kB / 0.5641 GB, free: 12.54 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000843/0.3656, allocations: 372.8 kB / 0.5645 GB, free: 12.44 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001555/0.3672, allocations: 1.925 MB / 0.5664 GB, free: 10.12 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002636/0.3698, allocations: 2.511 MB / 0.5688 GB, free: 7.422 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.929e-05/0.3699, allocations: 16.59 kB / 0.5688 GB, free: 7.422 MB / 414.1 MB Notification: Performance of matching and sorting (n=260) (initialization): time 0.005541/0.3754, allocations: 2.121 MB / 0.5709 GB, free: 6.562 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001218/0.3756, allocations: 36.34 kB / 0.5709 GB, free: 6.559 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002001/0.3758, allocations: 57.31 kB / 0.571 GB, free: 6.559 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002165/0.376, allocations: 74.45 kB / 0.5711 GB, free: 6.559 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002142/0.3781, allocations: 488.1 kB / 0.5715 GB, free: 6.496 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001969/0.3783, allocations: 113.7 kB / 0.5716 GB, free: 6.469 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002878/0.3812, allocations: 330.6 kB / 0.572 GB, free: 6.254 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004095/0.3816, allocations: 141.9 kB / 0.5721 GB, free: 6.234 MB / 414.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.001819/0.3834, allocations: 0.8588 MB / 0.5729 GB, free: 5.746 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003682/0.3838, allocations: 237 kB / 0.5732 GB, free: 5.562 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003869/0.3842, allocations: 230.2 kB / 0.5734 GB, free: 5.406 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.371e-05/0.3842, allocations: 183.1 kB / 0.5736 GB, free: 5.223 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.542e-05/0.3842, allocations: 182 kB / 0.5737 GB, free: 5.039 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.024e-05/0.3843, allocations: 186.1 kB / 0.5739 GB, free: 4.852 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003435/0.3877, allocations: 1.45 MB / 0.5753 GB, free: 4.117 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.237e-05/0.3877, allocations: 106.8 kB / 0.5754 GB, free: 4.008 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.141e-05/0.3878, allocations: 102.9 kB / 0.5755 GB, free: 3.902 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.012e-05/0.3878, allocations: 189.9 kB / 0.5757 GB, free: 3.711 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.788e-05/0.3878, allocations: 178 kB / 0.5759 GB, free: 3.531 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.441e-05/0.3879, allocations: 182.1 kB / 0.576 GB, free: 3.348 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.172e-05/0.3879, allocations: 178 kB / 0.5762 GB, free: 3.168 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003491/0.3883, allocations: 438 kB / 0.5766 GB, free: 2.773 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005333/0.3888, allocations: 231.7 kB / 0.5769 GB, free: 2.586 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003792/0.3892, allocations: 185.8 kB / 0.577 GB, free: 2.398 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004779/0.3896, allocations: 103.5 kB / 0.5771 GB, free: 2.293 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.781e-05/0.3897, allocations: 182.2 kB / 0.5773 GB, free: 2.109 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.042e-05/0.3897, allocations: 106.9 kB / 0.5774 GB, free: 2 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.002533/0.3922, allocations: 1.02 MB / 0.5784 GB, free: 1.633 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3922, allocations: 0 / 0.5784 GB, free: 1.633 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.003132/0.3954, allocations: 432.6 kB / 0.5788 GB, free: 1.508 MB / 414.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.000619/0.396, allocations: 0.9482 MB / 0.5797 GB, free: 0.6172 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.002112/0.3981, allocations: 0.872 MB / 0.5806 GB, free: 320 kB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.296e-06/0.3981, allocations: 0 / 0.5806 GB, free: 320 kB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 4.489e-06/0.3981, allocations: 0 / 0.5806 GB, free: 320 kB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001304/0.3994, allocations: 0.568 MB / 0.5811 GB, free: 15.8 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02367/0.4231, allocations: 13.63 MB / 0.5945 GB, free: 5.352 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001551/0.4246, allocations: 1.578 MB / 0.596 GB, free: 4.059 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.001122/0.4258, allocations: 492.5 kB / 0.5965 GB, free: 3.574 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007962/0.4266, allocations: 0.6711 MB / 0.5971 GB, free: 2.902 MB / 430.1 MB Notification: Performance of SimCode: time 1.082e-06/0.4266, allocations: 3.938 kB / 0.5971 GB, free: 2.898 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05606/0.4826, allocations: 23.44 MB / 0.62 GB, free: 11.48 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.82/14.3, allocations: 5.062 kB / 0.62 GB, free: 11.48 MB / 462.1 MB " [Timeout remaining time 646] (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: 17.331850615039002] Failed to read output from testmodel.py, exit status != 0: 14.484024640987627 14.515139216 14.368313843 Calling exit ...