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.001319/0.001319, allocations: 113.8 kB / 19.69 MB, free: 2.047 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.002312/0.002312, allocations: 222 kB / 23.01 MB, free: 4.934 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.532/1.532, allocations: 207.6 MB / 233.8 MB, free: 9.996 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.2368/0.2368, allocations: 44.23 MB / 330.3 MB, free: 9.52 MB / 270.1 MB " [Timeout remaining time 179] 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.002433/0.002433, allocations: 72.45 kB / 467.5 MB, free: 4.496 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1152/0.1176, allocations: 61.04 MB / 0.5162 GB, free: 7.316 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Shapes): time 0.01157/0.1292, allocations: 8.795 MB / 0.5247 GB, free: 14.48 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.005654/0.1349, allocations: 2.275 MB / 0.527 GB, free: 12.2 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001407/0.1363, allocations: 43.88 kB / 0.527 GB, free: 12.15 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00355/0.1398, allocations: 1.554 MB / 0.5285 GB, free: 10.59 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001617/0.1414, allocations: 0.4934 MB / 0.529 GB, free: 10.1 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004654/0.1419, allocations: 71.84 kB / 0.5291 GB, free: 10.03 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.001842/0.1437, allocations: 0.9409 MB / 0.53 GB, free: 9.082 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001842/0.1456, allocations: 1.213 MB / 0.5312 GB, free: 7.84 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009654/0.1465, allocations: 0.5566 MB / 0.5317 GB, free: 7.281 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001373/0.1479, allocations: 0.72 MB / 0.5324 GB, free: 6.559 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003491/0.1483, allocations: 120 kB / 0.5325 GB, free: 6.441 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000467/0.1487, allocations: 123.9 kB / 0.5327 GB, free: 6.32 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008879/0.1496, allocations: 0.7556 MB / 0.5334 GB, free: 5.562 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001339/0.151, allocations: 0.8619 MB / 0.5342 GB, free: 4.695 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003125/0.1541, allocations: 2.345 MB / 0.5365 GB, free: 2.34 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.542e-06/0.1541, allocations: 0 / 0.5365 GB, free: 2.34 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.874e-06/0.1541, allocations: 0 / 0.5365 GB, free: 2.34 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0001119/0.1542, allocations: 4 kB / 0.5365 GB, free: 2.336 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.003653/0.1579, allocations: 1.931 MB / 0.5384 GB, free: 372 kB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.676e-05/0.1579, allocations: 12.03 kB / 0.5384 GB, free: 360 kB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005352/0.1584, allocations: 334.5 kB / 0.5388 GB, free: 16 kB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.2036/0.362, allocations: 221.1 kB / 0.539 GB, free: 28.38 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001592/0.3636, allocations: 0.6594 MB / 0.5396 GB, free: 28.21 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001029/0.3637, allocations: 116.8 kB / 0.5397 GB, free: 28.21 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002921/0.364, allocations: 148.5 kB / 0.5399 GB, free: 28.21 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005169/0.3692, allocations: 3.382 MB / 0.5432 GB, free: 27.05 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.942e-05/0.3692, allocations: 19.31 kB / 0.5432 GB, free: 27.05 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001393/0.3694, allocations: 73.39 kB / 0.5433 GB, free: 27.02 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007926/0.3702, allocations: 0.6221 MB / 0.5439 GB, free: 26.91 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003842/0.374, allocations: 1.862 MB / 0.5457 GB, free: 26.29 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0123/0.3863, allocations: 13.43 MB / 0.5588 GB, free: 15.64 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.247e-05/0.3864, allocations: 174.1 kB / 0.559 GB, free: 15.46 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.914e-05/0.3864, allocations: 80.92 kB / 0.559 GB, free: 15.38 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.626e-05/0.3864, allocations: 79.89 kB / 0.5591 GB, free: 15.3 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.399e-05/0.3864, allocations: 107.8 kB / 0.5592 GB, free: 15.18 MB / 414.1 MB Notification: Performance of pre-optimization done (n=0): time 2.455e-06/0.3864, allocations: 0 / 0.5592 GB, free: 15.18 MB / 414.1 MB Notification: Performance of matching and sorting (n=0): time 0.0003248/0.3868, allocations: 156.7 kB / 0.5594 GB, free: 15.08 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.191e-05/0.3868, allocations: 132.5 kB / 0.5595 GB, free: 14.94 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002257/0.389, allocations: 1.663 MB / 0.5611 GB, free: 14.33 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 8.326e-06/0.3891, allocations: 31.2 kB / 0.5611 GB, free: 14.29 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006807/0.3897, allocations: 1.413 MB / 0.5625 GB, free: 13.2 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.196e-05/0.3898, allocations: 46.72 kB / 0.5626 GB, free: 13.18 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004182/0.3902, allocations: 429 kB / 0.563 GB, free: 12.96 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001436/0.3903, allocations: 354.6 kB / 0.5633 GB, free: 12.64 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005406/0.3909, allocations: 377.4 kB / 0.5637 GB, free: 12.53 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001029/0.3919, allocations: 1.924 MB / 0.5656 GB, free: 10.21 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001847/0.3938, allocations: 2.508 MB / 0.568 GB, free: 7.52 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.832e-05/0.3938, allocations: 22.66 kB / 0.568 GB, free: 7.516 MB / 414.1 MB Notification: Performance of matching and sorting (n=260) (initialization): time 0.003692/0.3975, allocations: 2.112 MB / 0.5701 GB, free: 6.664 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.412e-05/0.3975, allocations: 33.97 kB / 0.5701 GB, free: 6.66 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.855e-05/0.3976, allocations: 57.81 kB / 0.5702 GB, free: 6.66 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001054/0.3977, allocations: 73.27 kB / 0.5702 GB, free: 6.66 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001448/0.3992, allocations: 493 kB / 0.5707 GB, free: 6.594 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000111/0.3993, allocations: 109.7 kB / 0.5708 GB, free: 6.57 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0017/0.401, allocations: 327.6 kB / 0.5711 GB, free: 6.359 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002033/0.4012, allocations: 144.5 kB / 0.5713 GB, free: 6.34 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.001192/0.4024, allocations: 0.866 MB / 0.5721 GB, free: 5.844 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002002/0.4026, allocations: 236.7 kB / 0.5723 GB, free: 5.66 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002074/0.4028, allocations: 221.5 kB / 0.5726 GB, free: 5.512 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.157e-05/0.4028, allocations: 191.6 kB / 0.5727 GB, free: 5.32 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.523e-05/0.4029, allocations: 177 kB / 0.5729 GB, free: 5.141 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.706e-05/0.4029, allocations: 190.1 kB / 0.5731 GB, free: 4.953 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002448/0.4053, allocations: 1.442 MB / 0.5745 GB, free: 4.223 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.741e-05/0.4054, allocations: 106.5 kB / 0.5746 GB, free: 4.113 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.787e-05/0.4054, allocations: 110.7 kB / 0.5747 GB, free: 4 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.073e-05/0.4054, allocations: 186.1 kB / 0.5749 GB, free: 3.812 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.687e-05/0.4055, allocations: 182.6 kB / 0.5751 GB, free: 3.629 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.015e-05/0.4055, allocations: 177.1 kB / 0.5752 GB, free: 3.449 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.969e-05/0.4055, allocations: 178.4 kB / 0.5754 GB, free: 3.27 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002612/0.4058, allocations: 442.3 kB / 0.5758 GB, free: 2.871 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003517/0.4061, allocations: 224.1 kB / 0.576 GB, free: 2.684 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001412/0.4063, allocations: 183.7 kB / 0.5762 GB, free: 2.5 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000289/0.4066, allocations: 103.8 kB / 0.5763 GB, free: 2.395 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.357e-05/0.4066, allocations: 186 kB / 0.5765 GB, free: 2.207 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.792e-05/0.4066, allocations: 106.7 kB / 0.5766 GB, free: 2.098 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.001428/0.408, allocations: 1.02 MB / 0.5776 GB, free: 1.73 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.408, allocations: 0 / 0.5776 GB, free: 1.73 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.002018/0.4101, allocations: 436.2 kB / 0.578 GB, free: 1.602 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.0004978/0.4106, allocations: 0.948 MB / 0.5789 GB, free: 0.7109 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001755/0.4123, allocations: 0.8678 MB / 0.5798 GB, free: 420 kB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 7.865e-06/0.4123, allocations: 0 / 0.5798 GB, free: 420 kB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 2.985e-06/0.4123, allocations: 1.688 kB / 0.5798 GB, free: 420 kB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001011/0.4133, allocations: 0.5774 MB / 0.5803 GB, free: 15.89 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02355/0.4369, allocations: 13.61 MB / 0.5936 GB, free: 5.465 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001819/0.4387, allocations: 1.587 MB / 0.5952 GB, free: 4.211 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.001312/0.44, allocations: 489.1 kB / 0.5956 GB, free: 3.73 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001012/0.441, allocations: 0.6672 MB / 0.5963 GB, free: 3.062 MB / 430.1 MB Notification: Performance of SimCode: time 1.192e-06/0.441, allocations: 4 kB / 0.5963 GB, free: 3.059 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06273/0.5038, allocations: 23.42 MB / 0.6192 GB, free: 11.66 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.38/13.89, allocations: 16.94 kB / 0.6192 GB, free: 11.64 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: 16.828970855101943] Failed to read output from testmodel.py, exit status != 0: 14.007135486928746 14.027085704 13.868696292 Calling exit ...