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.001642/0.001642, allocations: 106.5 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.002123/0.002123, allocations: 209.3 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.471/1.471, allocations: 230.5 MB / 258.2 MB, free: 8.051 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.2365/0.2365, allocations: 46.93 MB / 361.6 MB, free: 4.215 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.002462/0.002462, allocations: 83.86 kB / 0.497 GB, free: 7.762 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3363/0.3388, allocations: 66.08 MB / 0.5615 GB, free: 4.312 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Shapes): time 0.01048/0.3493, allocations: 8.745 MB / 0.5701 GB, free: 11.52 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.005016/0.3543, allocations: 2.318 MB / 0.5723 GB, free: 9.199 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008144/0.3551, allocations: 43.88 kB / 0.5724 GB, free: 9.156 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003144/0.3582, allocations: 1.561 MB / 0.5739 GB, free: 7.59 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001359/0.3596, allocations: 493.3 kB / 0.5744 GB, free: 7.105 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002792/0.3599, allocations: 75.84 kB / 0.5744 GB, free: 7.031 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.001233/0.3611, allocations: 0.9331 MB / 0.5754 GB, free: 6.094 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00145/0.3626, allocations: 1.201 MB / 0.5765 GB, free: 4.863 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007447/0.3633, allocations: 0.545 MB / 0.5771 GB, free: 4.316 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001019/0.3643, allocations: 0.7161 MB / 0.5778 GB, free: 3.598 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002031/0.3645, allocations: 120 kB / 0.5779 GB, free: 3.48 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002985/0.3648, allocations: 131.9 kB / 0.578 GB, free: 3.352 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007015/0.3655, allocations: 0.7478 MB / 0.5787 GB, free: 2.602 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008613/0.3664, allocations: 0.8541 MB / 0.5796 GB, free: 1.742 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002592/0.369, allocations: 2.329 MB / 0.5818 GB, free: 15.4 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.16e-06/0.369, allocations: 0 / 0.5818 GB, free: 15.4 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.369, allocations: 0 / 0.5818 GB, free: 15.4 MB / 430.1 MB Notification: Performance of Transformations before backend: time 5.53e-05/0.369, allocations: 0 / 0.5818 GB, free: 15.4 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.002926/0.372, allocations: 1.92 MB / 0.5837 GB, free: 13.44 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.367e-05/0.372, allocations: 12.03 kB / 0.5837 GB, free: 13.43 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000389/0.3724, allocations: 330.5 kB / 0.584 GB, free: 13.1 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005609/0.373, allocations: 223.4 kB / 0.5843 GB, free: 12.88 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001176/0.3741, allocations: 0.6586 MB / 0.5849 GB, free: 12.19 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.933e-05/0.3742, allocations: 115.4 kB / 0.585 GB, free: 12.08 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002076/0.3744, allocations: 155.9 kB / 0.5852 GB, free: 11.93 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004515/0.379, allocations: 3.379 MB / 0.5885 GB, free: 8.211 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.815e-05/0.379, allocations: 11.88 kB / 0.5885 GB, free: 8.199 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001261/0.3791, allocations: 75.92 kB / 0.5885 GB, free: 8.125 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000735/0.3799, allocations: 0.6227 MB / 0.5891 GB, free: 7.504 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003105/0.383, allocations: 1.866 MB / 0.591 GB, free: 5.637 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01304/0.396, allocations: 13.44 MB / 0.6041 GB, free: 7.758 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001145/0.3961, allocations: 169.1 kB / 0.6043 GB, free: 7.582 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.212e-05/0.3962, allocations: 84.08 kB / 0.6043 GB, free: 7.496 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.822e-05/0.3962, allocations: 75.28 kB / 0.6044 GB, free: 7.422 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.105e-05/0.3963, allocations: 105.8 kB / 0.6045 GB, free: 7.309 MB / 446.1 MB Notification: Performance of pre-optimization done (n=0): time 1.864e-06/0.3963, allocations: 4 kB / 0.6045 GB, free: 7.305 MB / 446.1 MB Notification: Performance of matching and sorting (n=0): time 0.0002465/0.3965, allocations: 156.8 kB / 0.6047 GB, free: 7.145 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.042e-05/0.3966, allocations: 130.6 kB / 0.6048 GB, free: 7.004 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002098/0.3987, allocations: 1.655 MB / 0.6064 GB, free: 5.328 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.161e-05/0.3987, allocations: 25.7 kB / 0.6064 GB, free: 5.297 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00103/0.3997, allocations: 1.416 MB / 0.6078 GB, free: 3.863 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.582e-05/0.3998, allocations: 47.95 kB / 0.6079 GB, free: 3.816 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004501/0.4002, allocations: 431.1 kB / 0.6083 GB, free: 3.387 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001777/0.4004, allocations: 353.9 kB / 0.6086 GB, free: 3.035 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000581/0.401, allocations: 375.8 kB / 0.609 GB, free: 2.664 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001861/0.4028, allocations: 1.933 MB / 0.6109 GB, free: 15.91 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002866/0.4057, allocations: 2.507 MB / 0.6133 GB, free: 12.6 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.365e-05/0.4057, allocations: 16 kB / 0.6133 GB, free: 12.59 MB / 462.1 MB Notification: Performance of matching and sorting (n=260) (initialization): time 0.003555/0.4093, allocations: 2.123 MB / 0.6154 GB, free: 10.46 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.929e-05/0.4093, allocations: 31.98 kB / 0.6154 GB, free: 10.43 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.82e-05/0.4094, allocations: 56 kB / 0.6155 GB, free: 10.37 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.149e-05/0.4095, allocations: 76 kB / 0.6155 GB, free: 10.3 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001203/0.4107, allocations: 483.8 kB / 0.616 GB, free: 9.824 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.709e-05/0.4108, allocations: 111.6 kB / 0.6161 GB, free: 9.715 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001382/0.4122, allocations: 333.5 kB / 0.6164 GB, free: 9.387 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001469/0.4123, allocations: 136 kB / 0.6166 GB, free: 9.254 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.001164/0.4135, allocations: 0.8636 MB / 0.6174 GB, free: 8.379 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002361/0.4137, allocations: 236.1 kB / 0.6176 GB, free: 8.141 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002221/0.4139, allocations: 232.2 kB / 0.6179 GB, free: 7.898 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.444e-05/0.414, allocations: 180.3 kB / 0.618 GB, free: 7.715 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.163e-05/0.4141, allocations: 188.3 kB / 0.6182 GB, free: 7.523 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.001e-05/0.4142, allocations: 180.2 kB / 0.6184 GB, free: 7.34 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001756/0.4159, allocations: 1.453 MB / 0.6198 GB, free: 5.836 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.326e-05/0.416, allocations: 116.9 kB / 0.6199 GB, free: 5.715 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.475e-05/0.416, allocations: 108.9 kB / 0.62 GB, free: 5.602 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.831e-05/0.4161, allocations: 176.3 kB / 0.6202 GB, free: 5.422 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.167e-05/0.4162, allocations: 180.2 kB / 0.6203 GB, free: 5.238 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.093e-05/0.4163, allocations: 180.2 kB / 0.6205 GB, free: 5.055 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.139e-05/0.4163, allocations: 188.2 kB / 0.6207 GB, free: 4.863 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002911/0.4166, allocations: 430 kB / 0.6211 GB, free: 4.418 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003051/0.4169, allocations: 228 kB / 0.6213 GB, free: 4.188 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001726/0.4171, allocations: 176.3 kB / 0.6215 GB, free: 4.008 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002843/0.4174, allocations: 104.9 kB / 0.6216 GB, free: 3.898 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.126e-05/0.4175, allocations: 184.3 kB / 0.6218 GB, free: 3.711 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.866e-05/0.4175, allocations: 105 kB / 0.6219 GB, free: 3.602 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001395/0.4189, allocations: 1.014 MB / 0.6229 GB, free: 2.59 MB / 462.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.4189, allocations: 0 / 0.6229 GB, free: 2.59 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001689/0.4206, allocations: 434.7 kB / 0.6233 GB, free: 2.164 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.0006465/0.4213, allocations: 0.9445 MB / 0.6242 GB, free: 1.191 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.001499/0.4228, allocations: 0.8643 MB / 0.625 GB, free: 348 kB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.424e-06/0.4228, allocations: 0 / 0.625 GB, free: 348 kB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 2.124e-06/0.4228, allocations: 0 / 0.625 GB, free: 348 kB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009259/0.4237, allocations: 0.5756 MB / 0.6256 GB, free: 15.76 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01942/0.4431, allocations: 13.59 MB / 0.6389 GB, free: 388 kB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001535/0.4446, allocations: 1.575 MB / 0.6404 GB, free: 14.77 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.001153/0.4458, allocations: 499.2 kB / 0.6409 GB, free: 14.27 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008157/0.4466, allocations: 0.6672 MB / 0.6415 GB, free: 13.61 MB / 494.1 MB Notification: Performance of SimCode: time 1.453e-06/0.4466, allocations: 0 / 0.6415 GB, free: 13.61 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05728/0.5039, allocations: 23.26 MB / 0.6643 GB, free: 6.465 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.7/11.2, allocations: 7.922 kB / 0.6643 GB, free: 6.457 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 & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Visualizers.Shapes_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00019992 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.148916765116155] Failed to read output from testmodel.py, exit status != 0: ['time'] 11.291042947210371 11.316035853 10.942055851 Calling exit ...