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.001313/0.001313, allocations: 108.3 kB / 19.7 MB, free: 1.918 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.001513/0.001513, allocations: 214.1 kB / 22.99 MB, free: 4.977 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.43/1.43, allocations: 207.7 MB / 233.8 MB, free: 9.801 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.2152/0.2152, allocations: 44.27 MB / 330.3 MB, free: 9.309 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="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.002339/0.002339, allocations: 75.83 kB / 467.5 MB, free: 4.328 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1265/0.1288, allocations: 61.05 MB / 0.5162 GB, free: 7.148 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Shapes): time 0.01075/0.1396, allocations: 7.687 MB / 0.5237 GB, free: 15.42 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.005488/0.1451, allocations: 2.154 MB / 0.5258 GB, free: 13.26 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001251/0.1463, allocations: 43.88 kB / 0.5258 GB, free: 13.21 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003467/0.1498, allocations: 1.487 MB / 0.5273 GB, free: 11.72 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001409/0.1512, allocations: 0.4934 MB / 0.5278 GB, free: 11.23 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002951/0.1515, allocations: 71.84 kB / 0.5278 GB, free: 11.16 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.001192/0.1527, allocations: 0.9449 MB / 0.5288 GB, free: 10.21 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001625/0.1543, allocations: 1.209 MB / 0.5299 GB, free: 8.969 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008316/0.1551, allocations: 0.5488 MB / 0.5305 GB, free: 8.418 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009746/0.1561, allocations: 0.6575 MB / 0.5311 GB, free: 7.758 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002041/0.1563, allocations: 120 kB / 0.5312 GB, free: 7.641 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003085/0.1566, allocations: 120 kB / 0.5313 GB, free: 7.523 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007509/0.1574, allocations: 0.7517 MB / 0.5321 GB, free: 6.77 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006742/0.1581, allocations: 0.6483 MB / 0.5327 GB, free: 6.117 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002544/0.1606, allocations: 2.372 MB / 0.535 GB, free: 3.734 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.101e-06/0.1606, allocations: 4 kB / 0.535 GB, free: 3.73 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.974e-06/0.1606, allocations: 3.938 kB / 0.535 GB, free: 3.727 MB / 414.1 MB Notification: Performance of Transformations before backend: time 3.235e-05/0.1606, allocations: 0 / 0.535 GB, free: 3.727 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.002809/0.1635, allocations: 1.935 MB / 0.5369 GB, free: 1.75 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.491e-05/0.1635, allocations: 12.03 kB / 0.5369 GB, free: 1.738 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003584/0.1639, allocations: 326.5 kB / 0.5373 GB, free: 1.41 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005886/0.1644, allocations: 219.4 kB / 0.5375 GB, free: 1.195 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001326/0.1658, allocations: 0.6703 MB / 0.5381 GB, free: 0.5 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001142/0.1659, allocations: 119.4 kB / 0.5382 GB, free: 392 kB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001949/0.1661, allocations: 155.9 kB / 0.5384 GB, free: 236 kB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2397/0.4057, allocations: 3.375 MB / 0.5417 GB, free: 27.65 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.734e-05/0.4058, allocations: 14.47 kB / 0.5417 GB, free: 27.64 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001136/0.4059, allocations: 70.98 kB / 0.5418 GB, free: 27.61 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007491/0.4067, allocations: 0.6198 MB / 0.5424 GB, free: 27.5 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002844/0.4095, allocations: 1.859 MB / 0.5442 GB, free: 26.87 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008942/0.4185, allocations: 12.97 MB / 0.5568 GB, free: 16.43 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.516e-05/0.4185, allocations: 171.6 kB / 0.557 GB, free: 16.25 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.649e-05/0.4185, allocations: 86.31 kB / 0.5571 GB, free: 16.17 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.494e-05/0.4186, allocations: 77.59 kB / 0.5572 GB, free: 16.09 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.682e-05/0.4186, allocations: 107.7 kB / 0.5573 GB, free: 15.98 MB / 414.1 MB Notification: Performance of pre-optimization done (n=0): time 2.104e-06/0.4186, allocations: 0 / 0.5573 GB, free: 15.98 MB / 414.1 MB Notification: Performance of matching and sorting (n=0): time 0.0001983/0.4188, allocations: 156.7 kB / 0.5574 GB, free: 15.88 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.264e-05/0.4188, allocations: 127.8 kB / 0.5575 GB, free: 15.74 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001952/0.4208, allocations: 1.754 MB / 0.5592 GB, free: 15.09 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 5.871e-06/0.4208, allocations: 26.23 kB / 0.5593 GB, free: 15.05 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006725/0.4214, allocations: 1.422 MB / 0.5607 GB, free: 14.03 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.893e-05/0.4215, allocations: 45.33 kB / 0.5607 GB, free: 14.02 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003718/0.4219, allocations: 422.4 kB / 0.5611 GB, free: 13.8 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 8.302e-05/0.4219, allocations: 361.9 kB / 0.5615 GB, free: 13.47 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004847/0.4224, allocations: 373 kB / 0.5618 GB, free: 13.37 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001011/0.4234, allocations: 1.93 MB / 0.5637 GB, free: 11.1 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001898/0.4253, allocations: 2.514 MB / 0.5661 GB, free: 8.492 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.125e-05/0.4254, allocations: 16.16 kB / 0.5662 GB, free: 8.492 MB / 414.1 MB Notification: Performance of matching and sorting (n=260) (initialization): time 0.003146/0.4285, allocations: 2.12 MB / 0.5682 GB, free: 7.633 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.228e-05/0.4286, allocations: 33 kB / 0.5683 GB, free: 7.629 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.965e-05/0.4286, allocations: 60.39 kB / 0.5683 GB, free: 7.629 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.77e-05/0.4287, allocations: 73 kB / 0.5684 GB, free: 7.629 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001218/0.4299, allocations: 491.2 kB / 0.5689 GB, free: 7.562 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001008/0.43, allocations: 109.3 kB / 0.569 GB, free: 7.539 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00146/0.4315, allocations: 322.8 kB / 0.5693 GB, free: 7.332 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000175/0.4317, allocations: 139.2 kB / 0.5694 GB, free: 7.316 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.0009587/0.4326, allocations: 0.8678 MB / 0.5703 GB, free: 6.82 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000159/0.4328, allocations: 238.3 kB / 0.5705 GB, free: 6.637 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001506/0.4329, allocations: 225 kB / 0.5707 GB, free: 6.484 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.426e-05/0.433, allocations: 183 kB / 0.5709 GB, free: 6.301 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.361e-05/0.433, allocations: 178.1 kB / 0.571 GB, free: 6.121 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.589e-05/0.433, allocations: 182.1 kB / 0.5712 GB, free: 5.938 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00152/0.4345, allocations: 1.434 MB / 0.5726 GB, free: 5.199 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.378e-05/0.4345, allocations: 102.9 kB / 0.5727 GB, free: 5.094 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.447e-05/0.4346, allocations: 106.6 kB / 0.5728 GB, free: 4.984 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.222e-05/0.4346, allocations: 182.3 kB / 0.573 GB, free: 4.801 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.587e-05/0.4346, allocations: 182 kB / 0.5732 GB, free: 4.617 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.449e-05/0.4346, allocations: 182.9 kB / 0.5733 GB, free: 4.434 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.414e-05/0.4347, allocations: 178.8 kB / 0.5735 GB, free: 4.254 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000155/0.4348, allocations: 439.1 kB / 0.5739 GB, free: 3.859 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002399/0.4351, allocations: 229.3 kB / 0.5741 GB, free: 3.668 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001196/0.4352, allocations: 183.6 kB / 0.5743 GB, free: 3.488 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002551/0.4354, allocations: 102.9 kB / 0.5744 GB, free: 3.383 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.542e-05/0.4355, allocations: 182.9 kB / 0.5746 GB, free: 3.199 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.444e-05/0.4355, allocations: 103.1 kB / 0.5747 GB, free: 3.094 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.001231/0.4367, allocations: 1.019 MB / 0.5757 GB, free: 2.727 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4367, allocations: 4 kB / 0.5757 GB, free: 2.723 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001613/0.4383, allocations: 432.6 kB / 0.5761 GB, free: 2.598 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.0003639/0.4387, allocations: 0.9503 MB / 0.577 GB, free: 1.707 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001406/0.4401, allocations: 0.8662 MB / 0.5779 GB, free: 1.406 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.375e-06/0.4401, allocations: 1.219 kB / 0.5779 GB, free: 1.406 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 2.064e-06/0.4401, allocations: 0.8125 kB / 0.5779 GB, free: 1.406 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007291/0.4408, allocations: 0.569 MB / 0.5784 GB, free: 0.8945 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01924/0.4601, allocations: 13.62 MB / 0.5917 GB, free: 7.051 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001569/0.4616, allocations: 0.9973 MB / 0.5927 GB, free: 6.219 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.001248/0.4629, allocations: 488.5 kB / 0.5932 GB, free: 5.738 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008449/0.4637, allocations: 0.6695 MB / 0.5938 GB, free: 5.07 MB / 430.1 MB Notification: Performance of SimCode: time 9.62e-07/0.4637, allocations: 4 kB / 0.5938 GB, free: 5.066 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06521/0.5289, allocations: 22.36 MB / 0.6157 GB, free: 14.75 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12/12.53, allocations: 0 / 0.6157 GB, free: 14.75 MB / 462.1 MB " [Timeout remaining time 647] (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: 15.326546777971089] Failed to read output from testmodel.py, exit status != 0: 12.649118932895362 12.674551665 12.508961293 Calling exit ...