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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001621/0.001621, allocations: 111.9 kB / 17.12 MB, free: 5.941 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001789/0.001789, allocations: 196.6 kB / 20.08 MB, free: 3 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.596/1.596, allocations: 207.6 MB / 230.5 MB, free: 4.227 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.3374/0.3374, allocations: 44.23 MB / 326.5 MB, free: 6.809 MB / 254.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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.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: 75.8 kB / 462.2 MB, free: 0.9766 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.28/0.2822, allocations: 61.01 MB / 0.5109 GB, free: 13.17 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Shapes): time 0.007184/0.2894, allocations: 8.762 MB / 0.5195 GB, free: 6.223 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.003803/0.2932, allocations: 2.274 MB / 0.5217 GB, free: 3.941 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000855/0.294, allocations: 43.94 kB / 0.5217 GB, free: 3.898 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002301/0.2963, allocations: 1.538 MB / 0.5232 GB, free: 2.355 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009345/0.2973, allocations: 0.4989 MB / 0.5237 GB, free: 1.855 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002312/0.2975, allocations: 71.84 kB / 0.5238 GB, free: 1.785 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007744/0.2983, allocations: 0.937 MB / 0.5247 GB, free: 0.8438 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001187/0.2995, allocations: 1.299 MB / 0.526 GB, free: 15.52 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006632/0.3001, allocations: 0.5372 MB / 0.5265 GB, free: 14.98 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001152/0.3013, allocations: 0.72 MB / 0.5272 GB, free: 14.25 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002596/0.3015, allocations: 116 kB / 0.5273 GB, free: 14.14 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003649/0.3019, allocations: 135.9 kB / 0.5275 GB, free: 14 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008248/0.3027, allocations: 0.7517 MB / 0.5282 GB, free: 13.25 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009264/0.3036, allocations: 0.858 MB / 0.529 GB, free: 12.39 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002668/0.3063, allocations: 2.348 MB / 0.5313 GB, free: 10.03 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.999e-06/0.3063, allocations: 0 / 0.5313 GB, free: 10.03 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.3063, allocations: 0 / 0.5313 GB, free: 10.03 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.461e-05/0.3064, allocations: 0 / 0.5313 GB, free: 10.03 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.003036/0.3094, allocations: 2.007 MB / 0.5333 GB, free: 7.965 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.475e-05/0.3095, allocations: 15.89 kB / 0.5333 GB, free: 7.949 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000396/0.3099, allocations: 334.5 kB / 0.5336 GB, free: 7.613 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000609/0.3105, allocations: 227.4 kB / 0.5338 GB, free: 7.391 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001419/0.3119, allocations: 0.719 MB / 0.5345 GB, free: 6.629 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.663e-05/0.312, allocations: 119.4 kB / 0.5346 GB, free: 6.512 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000196/0.3122, allocations: 151.9 kB / 0.5348 GB, free: 6.363 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004603/0.3168, allocations: 3.383 MB / 0.5381 GB, free: 2.648 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.117e-05/0.3168, allocations: 11.88 kB / 0.5381 GB, free: 2.637 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001384/0.317, allocations: 75.94 kB / 0.5382 GB, free: 2.562 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007658/0.3177, allocations: 0.6188 MB / 0.5388 GB, free: 1.945 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003487/0.3212, allocations: 1.865 MB / 0.5406 GB, free: 84 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01453/0.3357, allocations: 13.52 MB / 0.5538 GB, free: 2.141 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001158/0.3359, allocations: 165.1 kB / 0.554 GB, free: 1.969 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.269e-05/0.3359, allocations: 84.08 kB / 0.554 GB, free: 1.883 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.316e-05/0.3359, allocations: 75.28 kB / 0.5541 GB, free: 1.809 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.374e-05/0.336, allocations: 113.8 kB / 0.5542 GB, free: 1.688 MB / 414.1 MB Notification: Performance of pre-optimization done (n=0): time 5.42e-06/0.336, allocations: 4 kB / 0.5542 GB, free: 1.684 MB / 414.1 MB Notification: Performance of matching and sorting (n=0): time 0.0002844/0.3363, allocations: 156.8 kB / 0.5544 GB, free: 1.523 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.957e-05/0.3364, allocations: 126.7 kB / 0.5545 GB, free: 1.387 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002155/0.3385, allocations: 1.656 MB / 0.5561 GB, free: 15.72 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.479e-05/0.3385, allocations: 25.7 kB / 0.5561 GB, free: 15.69 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001095/0.3396, allocations: 1.416 MB / 0.5575 GB, free: 14.25 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.6e-05/0.3397, allocations: 43.95 kB / 0.5576 GB, free: 14.21 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004935/0.3402, allocations: 431.1 kB / 0.558 GB, free: 13.78 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001993/0.3404, allocations: 361.9 kB / 0.5583 GB, free: 13.42 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005768/0.3409, allocations: 371.8 kB / 0.5587 GB, free: 13.05 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002042/0.343, allocations: 1.929 MB / 0.5606 GB, free: 10.31 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002964/0.346, allocations: 2.511 MB / 0.563 GB, free: 6.996 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.071e-05/0.346, allocations: 16 kB / 0.563 GB, free: 6.98 MB / 430.1 MB Notification: Performance of matching and sorting (n=260) (initialization): time 0.003627/0.3496, allocations: 2.119 MB / 0.5651 GB, free: 4.859 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.497e-05/0.3497, allocations: 32 kB / 0.5651 GB, free: 4.828 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.746e-05/0.3498, allocations: 56 kB / 0.5652 GB, free: 4.773 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.757e-05/0.3498, allocations: 75.98 kB / 0.5652 GB, free: 4.699 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001246/0.3511, allocations: 487.1 kB / 0.5657 GB, free: 4.223 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.333e-05/0.3512, allocations: 108.1 kB / 0.5658 GB, free: 4.117 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001483/0.3527, allocations: 333.5 kB / 0.5661 GB, free: 3.789 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001755/0.3528, allocations: 140 kB / 0.5663 GB, free: 3.652 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.001249/0.3541, allocations: 0.8665 MB / 0.5671 GB, free: 2.773 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000269/0.3544, allocations: 228.1 kB / 0.5673 GB, free: 2.543 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002787/0.3546, allocations: 232.5 kB / 0.5676 GB, free: 2.301 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.347e-05/0.3547, allocations: 180.2 kB / 0.5677 GB, free: 2.117 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.558e-05/0.3548, allocations: 188.2 kB / 0.5679 GB, free: 1.926 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.928e-05/0.3549, allocations: 180.4 kB / 0.5681 GB, free: 1.742 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002167/0.3571, allocations: 1.481 MB / 0.5695 GB, free: 208 kB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.632e-05/0.3571, allocations: 108.9 kB / 0.5696 GB, free: 92 kB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.956e-05/0.3572, allocations: 105 kB / 0.5697 GB, free: 15.98 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.331e-05/0.3573, allocations: 184.2 kB / 0.5699 GB, free: 15.79 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.427e-05/0.3574, allocations: 180.3 kB / 0.5701 GB, free: 15.61 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.002e-05/0.3575, allocations: 180.2 kB / 0.5702 GB, free: 15.43 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.004e-05/0.3576, allocations: 184.2 kB / 0.5704 GB, free: 15.24 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003431/0.3579, allocations: 442 kB / 0.5708 GB, free: 14.78 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004526/0.3584, allocations: 297.2 kB / 0.5711 GB, free: 14.46 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002766/0.3586, allocations: 180.3 kB / 0.5713 GB, free: 14.28 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003485/0.359, allocations: 108.9 kB / 0.5714 GB, free: 14.17 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.632e-05/0.3591, allocations: 188.2 kB / 0.5716 GB, free: 13.98 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.946e-05/0.3591, allocations: 108.9 kB / 0.5717 GB, free: 13.86 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001523/0.3607, allocations: 1.018 MB / 0.5727 GB, free: 12.85 MB / 446.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.3607, allocations: 0 / 0.5727 GB, free: 12.85 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001771/0.3624, allocations: 434.7 kB / 0.5731 GB, free: 12.42 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.0007158/0.3631, allocations: 0.9445 MB / 0.574 GB, free: 11.45 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001757/0.3649, allocations: 0.8763 MB / 0.5749 GB, free: 10.59 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.779e-06/0.3649, allocations: 0 / 0.5749 GB, free: 10.59 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 4.389e-06/0.3649, allocations: 0 / 0.5749 GB, free: 10.59 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00113/0.366, allocations: 0.5675 MB / 0.5754 GB, free: 10.01 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02065/0.3867, allocations: 13.62 MB / 0.5887 GB, free: 10.59 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001947/0.3886, allocations: 1.591 MB / 0.5903 GB, free: 8.969 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0012/0.3898, allocations: 487.4 kB / 0.5907 GB, free: 8.488 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008961/0.3907, allocations: 0.675 MB / 0.5914 GB, free: 7.812 MB / 462.1 MB Notification: Performance of SimCode: time 1.232e-06/0.3907, allocations: 0 / 0.5914 GB, free: 7.812 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05814/0.4489, allocations: 21.86 MB / 0.6128 GB, free: 1.918 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.55/11, allocations: 4.938 kB / 0.6128 GB, free: 1.914 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: 13.948563220910728] Failed to read output from testmodel.py, exit status != 0: 11.087755340151489 11.110614806 10.799431717 Calling exit ...