Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Visualizers.Shapes.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001908/0.001908, allocations: 105.1 kB / 21.22 MB, free: 0.6797 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002442/0.002442, allocations: 209.7 kB / 24.54 MB, free: 4.055 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.548/1.548, allocations: 230.5 MB / 258.2 MB, free: 8.039 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2327/0.2327, allocations: 46.93 MB / 361.6 MB, free: 4.195 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Visualizers.Shapes,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_MultiBody_Visualizers_Shapes",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Visualizers.Shapes,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_MultiBody_Visualizers_Shapes",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002385/0.002385, allocations: 76.11 kB / 0.497 GB, free: 7.746 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3266/0.329, allocations: 66.09 MB / 0.5615 GB, free: 4.406 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Shapes): time 0.01049/0.3395, allocations: 8.745 MB / 0.5701 GB, free: 11.62 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.004673/0.3442, allocations: 2.319 MB / 0.5723 GB, free: 9.293 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006243/0.3448, allocations: 43.88 kB / 0.5724 GB, free: 9.25 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00294/0.3477, allocations: 1.565 MB / 0.5739 GB, free: 7.68 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009547/0.3487, allocations: 489.3 kB / 0.5744 GB, free: 7.199 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002557/0.3489, allocations: 83.83 kB / 0.5745 GB, free: 7.117 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.001125/0.3501, allocations: 0.9176 MB / 0.5754 GB, free: 6.195 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001401/0.3515, allocations: 1.209 MB / 0.5765 GB, free: 4.957 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006162/0.3521, allocations: 0.5411 MB / 0.5771 GB, free: 4.414 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009707/0.353, allocations: 0.7239 MB / 0.5778 GB, free: 3.688 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001725/0.3532, allocations: 120 kB / 0.5779 GB, free: 3.57 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002827/0.3535, allocations: 127.9 kB / 0.578 GB, free: 3.445 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000683/0.3542, allocations: 0.7478 MB / 0.5787 GB, free: 2.695 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008015/0.355, allocations: 0.8502 MB / 0.5796 GB, free: 1.84 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002429/0.3574, allocations: 2.325 MB / 0.5818 GB, free: 15.5 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.99e-06/0.3574, allocations: 0 / 0.5818 GB, free: 15.5 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.223e-06/0.3574, allocations: 0 / 0.5818 GB, free: 15.5 MB / 430.1 MB Notification: Performance of Transformations before backend: time 3.748e-05/0.3575, allocations: 0 / 0.5818 GB, free: 15.5 MB / 430.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.002736/0.3602, allocations: 1.924 MB / 0.5837 GB, free: 13.54 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.495e-05/0.3602, allocations: 12.03 kB / 0.5837 GB, free: 13.53 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003532/0.3606, allocations: 334.5 kB / 0.584 GB, free: 13.19 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005445/0.3611, allocations: 223.4 kB / 0.5843 GB, free: 12.97 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001203/0.3623, allocations: 0.6586 MB / 0.5849 GB, free: 12.29 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000126/0.3625, allocations: 119.4 kB / 0.585 GB, free: 12.17 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002018/0.3627, allocations: 151.9 kB / 0.5852 GB, free: 12.02 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005166/0.3678, allocations: 3.383 MB / 0.5885 GB, free: 8.301 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.538e-05/0.3679, allocations: 15.81 kB / 0.5885 GB, free: 8.285 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001293/0.368, allocations: 75.94 kB / 0.5886 GB, free: 8.211 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007937/0.3688, allocations: 0.6188 MB / 0.5892 GB, free: 7.594 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003106/0.3719, allocations: 1.854 MB / 0.591 GB, free: 5.738 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01408/0.386, allocations: 13.45 MB / 0.6041 GB, free: 7.855 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001222/0.3861, allocations: 169.1 kB / 0.6043 GB, free: 7.68 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.631e-05/0.3861, allocations: 84.08 kB / 0.6043 GB, free: 7.594 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.116e-05/0.3862, allocations: 79.22 kB / 0.6044 GB, free: 7.516 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.888e-05/0.3863, allocations: 105.8 kB / 0.6045 GB, free: 7.402 MB / 446.1 MB Notification: Performance of pre-optimization done (n=0): time 2.014e-06/0.3863, allocations: 8 kB / 0.6045 GB, free: 7.395 MB / 446.1 MB Notification: Performance of matching and sorting (n=0): time 0.0002635/0.3865, allocations: 148.9 kB / 0.6047 GB, free: 7.242 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.867e-05/0.3866, allocations: 126.7 kB / 0.6048 GB, free: 7.105 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00219/0.3888, allocations: 1.655 MB / 0.6064 GB, free: 5.441 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.678e-05/0.3888, allocations: 25.7 kB / 0.6064 GB, free: 5.41 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001195/0.39, allocations: 1.419 MB / 0.6078 GB, free: 3.973 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.706e-05/0.3901, allocations: 43.95 kB / 0.6079 GB, free: 3.93 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004871/0.3905, allocations: 427.1 kB / 0.6083 GB, free: 3.504 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001982/0.3907, allocations: 357.9 kB / 0.6086 GB, free: 3.148 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005845/0.3913, allocations: 375.8 kB / 0.609 GB, free: 2.777 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001957/0.3933, allocations: 1.937 MB / 0.6109 GB, free: 24 kB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002897/0.3962, allocations: 2.504 MB / 0.6133 GB, free: 12.71 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.157e-05/0.3962, allocations: 16 kB / 0.6133 GB, free: 12.7 MB / 462.1 MB Notification: Performance of matching and sorting (n=260) (initialization): time 0.003534/0.3998, allocations: 2.119 MB / 0.6154 GB, free: 10.57 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.967e-05/0.3998, allocations: 28 kB / 0.6154 GB, free: 10.55 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.941e-05/0.3999, allocations: 56 kB / 0.6155 GB, free: 10.49 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.8e-05/0.3999, allocations: 76 kB / 0.6155 GB, free: 10.42 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001211/0.4012, allocations: 495.6 kB / 0.616 GB, free: 9.934 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.311e-05/0.4013, allocations: 111.6 kB / 0.6161 GB, free: 9.824 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001397/0.4026, allocations: 333.5 kB / 0.6164 GB, free: 9.496 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001398/0.4028, allocations: 136 kB / 0.6166 GB, free: 9.363 MB / 462.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.001166/0.404, allocations: 0.8636 MB / 0.6174 GB, free: 8.488 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002198/0.4042, allocations: 240 kB / 0.6176 GB, free: 8.246 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002194/0.4044, allocations: 224.2 kB / 0.6178 GB, free: 8.012 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.171e-05/0.4045, allocations: 184.3 kB / 0.618 GB, free: 7.824 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.172e-05/0.4046, allocations: 188.2 kB / 0.6182 GB, free: 7.633 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.456e-05/0.4047, allocations: 176.3 kB / 0.6184 GB, free: 7.453 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001777/0.4064, allocations: 1.453 MB / 0.6198 GB, free: 5.949 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.805e-05/0.4065, allocations: 109 kB / 0.6199 GB, free: 5.836 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.793e-05/0.4065, allocations: 108.9 kB / 0.62 GB, free: 5.723 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.372e-05/0.4066, allocations: 176.3 kB / 0.6202 GB, free: 5.543 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.802e-05/0.4067, allocations: 184.2 kB / 0.6203 GB, free: 5.355 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.642e-05/0.4068, allocations: 180.2 kB / 0.6205 GB, free: 5.172 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.56e-05/0.4069, allocations: 184.3 kB / 0.6207 GB, free: 4.984 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003037/0.4072, allocations: 437.9 kB / 0.6211 GB, free: 4.531 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003099/0.4075, allocations: 220.1 kB / 0.6213 GB, free: 4.309 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002024/0.4077, allocations: 184.2 kB / 0.6215 GB, free: 4.121 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003102/0.408, allocations: 105 kB / 0.6216 GB, free: 4.012 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00011/0.4081, allocations: 184.2 kB / 0.6218 GB, free: 3.824 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.284e-05/0.4082, allocations: 101 kB / 0.6219 GB, free: 3.719 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001446/0.4096, allocations: 1.018 MB / 0.6229 GB, free: 2.703 MB / 462.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.4096, allocations: 0 / 0.6229 GB, free: 2.703 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001596/0.4112, allocations: 434.7 kB / 0.6233 GB, free: 2.277 MB / 462.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.0006602/0.4119, allocations: 0.9407 MB / 0.6242 GB, free: 1.309 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.001402/0.4133, allocations: 0.8643 MB / 0.625 GB, free: 468 kB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.4133, allocations: 0 / 0.625 GB, free: 468 kB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 4.138e-06/0.4133, allocations: 4 kB / 0.625 GB, free: 464 kB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008661/0.4141, allocations: 0.5679 MB / 0.6256 GB, free: 15.88 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01869/0.4328, allocations: 13.61 MB / 0.6389 GB, free: 500 kB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001603/0.4344, allocations: 1.579 MB / 0.6404 GB, free: 14.88 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.001181/0.4356, allocations: 495.2 kB / 0.6409 GB, free: 14.39 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007813/0.4364, allocations: 0.6711 MB / 0.6415 GB, free: 13.71 MB / 494.1 MB Notification: Performance of SimCode: time 1.493e-06/0.4364, allocations: 0 / 0.6415 GB, free: 13.71 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05708/0.4935, allocations: 23.27 MB / 0.6643 GB, free: 6.57 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.88/11.38, allocations: 4 kB / 0.6643 GB, free: 6.566 MB / 0.4981 GB " [Timeout remaining time 649] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Visualizers.Shapes.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Visualizers.Shapes.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Visualizers.Shapes.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Visualizers.Shapes.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Visualizers.Shapes_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_MultiBody_Visualizers_Shapes_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_MultiBody_Visualizers_Shapes.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Visualizers.Shapes.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 14.40591888409108] Failed to read output from testmodel.py, exit status != 0: ['time'] 11.463108825031668 11.481257744 11.120335338 Calling exit ...