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.001374/0.001374, allocations: 105.1 kB / 21.22 MB, free: 0.5156 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.001425/0.001425, allocations: 217.3 kB / 24.54 MB, free: 3.898 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.443/1.443, allocations: 230.5 MB / 258.2 MB, free: 8.004 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.2256/0.2256, allocations: 46.92 MB / 361.6 MB, free: 4.242 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.002306/0.002306, allocations: 83.86 kB / 0.497 GB, free: 7.742 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3085/0.3108, allocations: 66.08 MB / 0.5615 GB, free: 4.273 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.PointMass): time 0.008448/0.3193, allocations: 6.818 MB / 0.5682 GB, free: 13.42 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.004668/0.324, allocations: 2.464 MB / 0.5706 GB, free: 10.95 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005741/0.3245, allocations: 31.88 kB / 0.5706 GB, free: 10.92 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002092/0.3266, allocations: 1.074 MB / 0.5716 GB, free: 9.84 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001932/0.3286, allocations: 0.8675 MB / 0.5725 GB, free: 8.969 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007823/0.3293, allocations: 315.2 kB / 0.5728 GB, free: 8.66 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.00245/0.3318, allocations: 1.876 MB / 0.5746 GB, free: 6.781 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001434/0.3332, allocations: 1.092 MB / 0.5757 GB, free: 5.664 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001061/0.3343, allocations: 0.7122 MB / 0.5764 GB, free: 4.949 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001542/0.3358, allocations: 1.07 MB / 0.5774 GB, free: 3.875 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00028/0.3361, allocations: 128 kB / 0.5776 GB, free: 3.75 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00135/0.3374, allocations: 0.7566 MB / 0.5783 GB, free: 2.992 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009076/0.3384, allocations: 0.9579 MB / 0.5792 GB, free: 2.031 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001204/0.3396, allocations: 1.129 MB / 0.5803 GB, free: 0.8945 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0044/0.344, allocations: 3.726 MB / 0.584 GB, free: 13.15 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.831e-06/0.344, allocations: 0 / 0.584 GB, free: 13.15 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.024e-06/0.344, allocations: 0 / 0.584 GB, free: 13.15 MB / 430.1 MB Notification: Performance of Transformations before backend: time 9.187e-05/0.3441, allocations: 0 / 0.584 GB, free: 13.15 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: 949 * Number of variables: 949 Notification: Performance of Generate backend data structure: time 0.004977/0.349, allocations: 2.647 MB / 0.5866 GB, free: 10.46 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.516e-05/0.3491, allocations: 12.03 kB / 0.5866 GB, free: 10.45 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000533/0.3496, allocations: 458.3 kB / 0.587 GB, free: 9.992 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005029/0.3547, allocations: 1.582 MB / 0.5886 GB, free: 8.406 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002233/0.3569, allocations: 1.015 MB / 0.5895 GB, free: 7.359 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001017/0.357, allocations: 115.3 kB / 0.5897 GB, free: 7.246 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000373/0.3574, allocations: 163.8 kB / 0.5898 GB, free: 7.086 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008953/0.3663, allocations: 6.186 MB / 0.5958 GB, free: 424 kB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.201e-05/0.3664, allocations: 31.75 kB / 0.5959 GB, free: 392 kB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002162/0.3666, allocations: 75.89 kB / 0.596 GB, free: 316 kB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002423/0.369, allocations: 1.441 MB / 0.5974 GB, free: 14.86 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009389/0.3784, allocations: 5.393 MB / 0.6026 GB, free: 9.473 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02875/0.4072, allocations: 24.71 MB / 0.6268 GB, free: 15.95 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004353/0.4115, allocations: 1.813 MB / 0.6285 GB, free: 14.09 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001189/0.4127, allocations: 0.8823 MB / 0.6294 GB, free: 13.2 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002575/0.413, allocations: 91.78 kB / 0.6295 GB, free: 13.11 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.146e-05/0.413, allocations: 50.5 kB / 0.6295 GB, free: 13.05 MB / 478.1 MB Notification: Performance of pre-optimization done (n=96): time 3.206e-06/0.413, allocations: 0 / 0.6295 GB, free: 13.05 MB / 478.1 MB Notification: Performance of matching and sorting (n=106): time 0.02221/0.4352, allocations: 8.327 MB / 0.6377 GB, free: 4.652 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.195e-05/0.4353, allocations: 136.5 kB / 0.6378 GB, free: 4.488 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003554/0.4389, allocations: 2.636 MB / 0.6404 GB, free: 1.828 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001217/0.439, allocations: 45.69 kB / 0.6404 GB, free: 1.777 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001605/0.4406, allocations: 2.104 MB / 0.6425 GB, free: 15.65 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004809/0.4411, allocations: 456.6 kB / 0.6429 GB, free: 15.2 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001114/0.4422, allocations: 0.8695 MB / 0.6437 GB, free: 14.32 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001298/0.4423, allocations: 309.1 kB / 0.644 GB, free: 14.02 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002011/0.4443, allocations: 1.34 MB / 0.6453 GB, free: 12.67 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004278/0.4486, allocations: 4.1 MB / 0.6493 GB, free: 7.164 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007563/0.4562, allocations: 5.938 MB / 0.6551 GB, free: 15.84 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.057e-05/0.4562, allocations: 32 kB / 0.6552 GB, free: 15.81 MB / 0.4981 GB Notification: Performance of matching and sorting (n=560) (initialization): time 0.01004/0.4663, allocations: 5.498 MB / 0.6605 GB, free: 10.3 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001018/0.4664, allocations: 48 kB / 0.6606 GB, free: 10.26 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001555/0.4665, allocations: 100 kB / 0.6607 GB, free: 10.16 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001204/0.4677, allocations: 465.2 kB / 0.6611 GB, free: 9.703 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003244/0.471, allocations: 0.9708 MB / 0.6621 GB, free: 8.73 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004619/0.4756, allocations: 3.57 MB / 0.6656 GB, free: 5.047 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00271/0.4783, allocations: 227.7 kB / 0.6658 GB, free: 4.824 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005279/0.4788, allocations: 276 kB / 0.666 GB, free: 4.555 MB / 0.4981 GB 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.002021/0.4809, allocations: 1.369 MB / 0.6674 GB, free: 3.176 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004021/0.4813, allocations: 234.4 kB / 0.6676 GB, free: 2.945 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002452/0.4837, allocations: 1.318 MB / 0.6689 GB, free: 1.613 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.198e-05/0.4837, allocations: 12 kB / 0.6689 GB, free: 1.602 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.397e-06/0.4837, allocations: 4 kB / 0.6689 GB, free: 1.598 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.403e-05/0.4838, allocations: 7.969 kB / 0.6689 GB, free: 1.59 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007768/0.4915, allocations: 4.17 MB / 0.673 GB, free: 13.36 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.244e-06/0.4915, allocations: 0 / 0.673 GB, free: 13.36 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006582/0.4922, allocations: 143.8 kB / 0.6731 GB, free: 13.22 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009077/0.4931, allocations: 320.5 kB / 0.6734 GB, free: 12.91 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.202e-05/0.4932, allocations: 12 kB / 0.6734 GB, free: 12.89 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003669/0.4968, allocations: 2.974 MB / 0.6763 GB, free: 9.801 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.478e-06/0.4969, allocations: 3.938 kB / 0.6764 GB, free: 9.797 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004568/0.5014, allocations: 3.076 MB / 0.6794 GB, free: 6.699 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005646/0.502, allocations: 206.3 kB / 0.6796 GB, free: 6.496 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003265/0.5023, allocations: 19.98 kB / 0.6796 GB, free: 6.477 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007898/0.5031, allocations: 48 kB / 0.6796 GB, free: 6.43 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001505/0.5032, allocations: 64.2 kB / 0.6797 GB, free: 6.367 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.213e-05/0.5033, allocations: 27.98 kB / 0.6797 GB, free: 6.34 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.002453/0.5058, allocations: 1.625 MB / 0.6813 GB, free: 4.703 MB / 0.5137 GB Notification: Performance of sort global known variables: time 9.1e-08/0.5058, allocations: 0 / 0.6813 GB, free: 4.703 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.002939/0.5087, allocations: 0.5936 MB / 0.6819 GB, free: 4.109 MB / 0.5137 GB 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.005128/0.5138, allocations: 3.687 MB / 0.6855 GB, free: 400 kB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.005618/0.5195, allocations: 3.107 MB / 0.6885 GB, free: 13.3 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 5.02e-06/0.5195, allocations: 0 / 0.6885 GB, free: 13.3 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.00126/0.5207, allocations: 0.8134 MB / 0.6893 GB, free: 12.47 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001396/0.5221, allocations: 208 kB / 0.6895 GB, free: 12.26 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0467/0.5688, allocations: 28.4 MB / 0.7172 GB, free: 12.12 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003056/0.5719, allocations: 2.167 MB / 0.7194 GB, free: 9.922 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.003249/0.5751, allocations: 1.391 MB / 0.7207 GB, free: 8.52 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001867/0.577, allocations: 1.023 MB / 0.7217 GB, free: 7.496 MB / 0.5606 GB Notification: Performance of SimCode: time 1.714e-06/0.577, allocations: 0 / 0.7217 GB, free: 7.496 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3075/0.8845, allocations: 42.1 MB / 0.7628 GB, free: 134.6 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.99/18.87, allocations: 13.67 kB / 0.7628 GB, free: 134.6 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: 21.733760027214885] Failed to read output from testmodel.py, exit status != 0: ['time', 'rev.phi', 'rev.w'] 18.985386920627207 19.001717534 18.65424485 Calling exit ...