Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Parts.PointMass.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.00178/0.00178, allocations: 120.2 kB / 18.5 MB, free: 4.578 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.002087/0.002087, allocations: 205 kB / 21.45 MB, free: 1.629 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.492/1.492, allocations: 230.4 MB / 254.7 MB, free: 15.04 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.2351/0.2351, allocations: 46.93 MB / 357.7 MB, free: 10.21 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.Parts.PointMass,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_MultiBody_Parts_PointMass",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Parts.PointMass,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_MultiBody_Parts_PointMass",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.002338/0.002338, allocations: 84.2 kB / 0.4917 GB, free: 7.758 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1106/0.1129, allocations: 66.04 MB / 0.5561 GB, free: 5.59 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.PointMass): time 0.008709/0.1216, allocations: 6.803 MB / 0.5628 GB, free: 14.75 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.004843/0.1265, allocations: 2.446 MB / 0.5652 GB, free: 12.29 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006306/0.1271, allocations: 39.88 kB / 0.5652 GB, free: 12.25 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002182/0.1293, allocations: 1.07 MB / 0.5663 GB, free: 11.18 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001944/0.1312, allocations: 0.8558 MB / 0.5671 GB, free: 10.32 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007437/0.132, allocations: 307.2 kB / 0.5674 GB, free: 10.02 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.002368/0.1344, allocations: 1.872 MB / 0.5692 GB, free: 8.141 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001385/0.1357, allocations: 1.076 MB / 0.5703 GB, free: 7.047 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009962/0.1367, allocations: 0.7199 MB / 0.571 GB, free: 6.324 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001389/0.1381, allocations: 1.063 MB / 0.572 GB, free: 5.258 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002632/0.1384, allocations: 128 kB / 0.5721 GB, free: 5.133 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00132/0.1397, allocations: 0.7721 MB / 0.5729 GB, free: 4.359 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009278/0.1406, allocations: 0.9424 MB / 0.5738 GB, free: 3.414 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001135/0.1418, allocations: 1.125 MB / 0.5749 GB, free: 2.281 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004503/0.1463, allocations: 3.734 MB / 0.5785 GB, free: 14.53 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.059e-06/0.1463, allocations: 3.938 kB / 0.5786 GB, free: 14.53 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.944e-06/0.1463, allocations: 0 / 0.5786 GB, free: 14.53 MB / 446.1 MB Notification: Performance of Transformations before backend: time 6.505e-05/0.1463, allocations: 4 kB / 0.5786 GB, free: 14.52 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 949 * Number of variables: 949 Notification: Performance of Generate backend data structure: time 0.004768/0.1511, allocations: 2.719 MB / 0.5812 GB, free: 11.74 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.74e-05/0.1511, allocations: 11.97 kB / 0.5812 GB, free: 11.73 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005696/0.1517, allocations: 458.4 kB / 0.5817 GB, free: 11.27 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005546/0.1573, allocations: 1.582 MB / 0.5832 GB, free: 9.688 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0019/0.1592, allocations: 1.085 MB / 0.5843 GB, free: 8.562 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.593e-05/0.1593, allocations: 115.3 kB / 0.5844 GB, free: 8.449 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003234/0.1596, allocations: 163.8 kB / 0.5845 GB, free: 8.289 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008894/0.1685, allocations: 6.178 MB / 0.5906 GB, free: 1.621 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.807e-05/0.1685, allocations: 31.75 kB / 0.5906 GB, free: 1.59 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002347/0.1688, allocations: 75.89 kB / 0.5907 GB, free: 1.516 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00257/0.1713, allocations: 1.441 MB / 0.5921 GB, free: 72 kB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.2199/0.3913, allocations: 5.388 MB / 0.5973 GB, free: 30.89 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02164/0.4129, allocations: 24.81 MB / 0.6216 GB, free: 12.89 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004039/0.4169, allocations: 2.259 MB / 0.6238 GB, free: 11.76 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000954/0.4179, allocations: 0.8758 MB / 0.6246 GB, free: 11.42 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002562/0.4181, allocations: 321.6 kB / 0.6249 GB, free: 11.13 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.399e-05/0.4182, allocations: 42.94 kB / 0.625 GB, free: 11.08 MB / 446.1 MB Notification: Performance of pre-optimization done (n=96): time 3.407e-06/0.4182, allocations: 0 / 0.625 GB, free: 11.08 MB / 446.1 MB Notification: Performance of matching and sorting (n=106): time 0.02057/0.4387, allocations: 8.558 MB / 0.6333 GB, free: 6.812 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.452e-05/0.4388, allocations: 143.5 kB / 0.6335 GB, free: 6.652 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002475/0.4413, allocations: 2.639 MB / 0.636 GB, free: 5.297 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 8.697e-05/0.4413, allocations: 43.89 kB / 0.6361 GB, free: 5.254 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007644/0.4421, allocations: 2.108 MB / 0.6381 GB, free: 3.211 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002512/0.4424, allocations: 456.1 kB / 0.6386 GB, free: 2.77 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007404/0.4431, allocations: 0.8618 MB / 0.6394 GB, free: 1.895 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 3.567e-05/0.4431, allocations: 309.1 kB / 0.6397 GB, free: 1.59 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001398/0.4445, allocations: 1.34 MB / 0.641 GB, free: 248 kB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004302/0.4488, allocations: 4.107 MB / 0.645 GB, free: 10.74 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007094/0.4559, allocations: 5.935 MB / 0.6508 GB, free: 3.422 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.825e-05/0.456, allocations: 31.94 kB / 0.6509 GB, free: 3.391 MB / 462.1 MB Notification: Performance of matching and sorting (n=560) (initialization): time 0.00952/0.4655, allocations: 5.497 MB / 0.6562 GB, free: 13.89 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.073e-05/0.4656, allocations: 48 kB / 0.6563 GB, free: 13.84 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001109/0.4657, allocations: 96 kB / 0.6564 GB, free: 13.75 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001161/0.4669, allocations: 469.9 kB / 0.6568 GB, free: 13.29 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002784/0.4696, allocations: 0.9786 MB / 0.6578 GB, free: 12.3 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004671/0.4743, allocations: 3.668 MB / 0.6614 GB, free: 8.512 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002593/0.4769, allocations: 231.7 kB / 0.6616 GB, free: 8.285 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003969/0.4773, allocations: 268 kB / 0.6618 GB, free: 8.023 MB / 478.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 450 * Number of states: 0 () * Number of discrete variables: 21 (rev.cylinderColor[3],rev.cylinderColor[2],rev.cylinderColor[1],pointMass.sphereColor[3],pointMass.sphereColor[2],pointMass.sphereColor[1],fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (527): * Single equations (assignments): 523 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001992/0.4793, allocations: 1.364 MB / 0.6632 GB, free: 6.645 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004081/0.4797, allocations: 226.5 kB / 0.6634 GB, free: 6.422 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00258/0.4823, allocations: 1.325 MB / 0.6647 GB, free: 5.082 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.125e-05/0.4823, allocations: 12 kB / 0.6647 GB, free: 5.07 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.025e-06/0.4823, allocations: 4 kB / 0.6647 GB, free: 5.066 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.699e-06/0.4823, allocations: 3.984 kB / 0.6647 GB, free: 5.062 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007558/0.4899, allocations: 4.205 MB / 0.6688 GB, free: 0.8164 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.255e-06/0.4899, allocations: 4.875 kB / 0.6688 GB, free: 0.8164 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006454/0.4905, allocations: 135.8 kB / 0.6689 GB, free: 0.6836 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009162/0.4915, allocations: 316.5 kB / 0.6692 GB, free: 380 kB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.986e-05/0.4915, allocations: 20 kB / 0.6693 GB, free: 360 kB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00374/0.4953, allocations: 3.062 MB / 0.6722 GB, free: 13.16 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.878e-06/0.4953, allocations: 4.031 kB / 0.6723 GB, free: 13.15 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004668/0.4999, allocations: 3.085 MB / 0.6753 GB, free: 10.05 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006543/0.5006, allocations: 287.5 kB / 0.6755 GB, free: 9.75 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002579/0.5008, allocations: 15.94 kB / 0.6756 GB, free: 9.734 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000787/0.5016, allocations: 52 kB / 0.6756 GB, free: 9.684 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000174/0.5018, allocations: 52.36 kB / 0.6757 GB, free: 9.633 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.845e-05/0.5019, allocations: 31.94 kB / 0.6757 GB, free: 9.602 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.002594/0.5045, allocations: 1.625 MB / 0.6773 GB, free: 7.965 MB / 494.1 MB Notification: Performance of sort global known variables: time 2.31e-07/0.5045, allocations: 0 / 0.6773 GB, free: 7.965 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.003298/0.5078, allocations: 0.5897 MB / 0.6778 GB, free: 7.375 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 2 (rev.phi,rev.w) * 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 (77): * Single equations (assignments): 73 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,7,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.005088/0.5129, allocations: 3.698 MB / 0.6815 GB, free: 3.652 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.005107/0.518, allocations: 3.097 MB / 0.6845 GB, free: 0.5625 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.447e-06/0.518, allocations: 0 / 0.6845 GB, free: 0.5625 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001226/0.5192, allocations: 0.8091 MB / 0.6853 GB, free: 15.74 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00138/0.5206, allocations: 211.1 kB / 0.6855 GB, free: 15.54 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04291/0.5635, allocations: 28.36 MB / 0.7132 GB, free: 15.45 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00268/0.5662, allocations: 2.167 MB / 0.7153 GB, free: 13.25 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.003102/0.5693, allocations: 1.379 MB / 0.7166 GB, free: 11.86 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00156/0.5708, allocations: 1.023 MB / 0.7176 GB, free: 10.84 MB / 0.5294 GB Notification: Performance of SimCode: time 9.51e-07/0.5708, allocations: 0 / 0.7176 GB, free: 10.84 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08526/0.6561, allocations: 38.64 MB / 0.7554 GB, free: 4.422 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 18.68/19.34, allocations: 6.953 kB / 0.7554 GB, free: 4.418 MB / 0.5606 GB " [Timeout remaining time 641] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Parts.PointMass.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Parts.PointMass.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Parts.PointMass.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Parts.PointMass.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Parts.PointMass_res.csv --start-time 0 --stop-time 1.1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000219912 ModelicaTest_4_1_0-beta_om_ModelicaTest_MultiBody_Parts_PointMass.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Parts.PointMass.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 22.441303431987762] Failed to read output from testmodel.py, exit status != 0: ['time', 'rev.phi', 'rev.w'] 19.453161471989006 19.485027586 19.333541554 Calling exit ...