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.001581/0.001581, allocations: 118.7 kB / 18.5 MB, free: 4.602 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.001889/0.001889, allocations: 210.5 kB / 21.46 MB, free: 1.648 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.448/1.448, allocations: 230.2 MB / 254.5 MB, free: 15.26 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.2265/0.2265, allocations: 46.89 MB / 357.4 MB, free: 10.52 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.002239/0.002239, allocations: 87.86 kB / 0.4912 GB, free: 8.551 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1198/0.122, allocations: 65.98 MB / 0.5556 GB, free: 6.445 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.PointMass): time 0.008743/0.1308, allocations: 6.803 MB / 0.5623 GB, free: 15.6 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.005294/0.1361, allocations: 2.446 MB / 0.5647 GB, free: 13.14 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000956/0.137, allocations: 35.88 kB / 0.5647 GB, free: 13.11 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002378/0.1394, allocations: 1.07 MB / 0.5658 GB, free: 12.04 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002393/0.1418, allocations: 0.8636 MB / 0.5666 GB, free: 11.17 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008557/0.1426, allocations: 307.2 kB / 0.5669 GB, free: 10.87 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.002673/0.1453, allocations: 1.864 MB / 0.5687 GB, free: 9 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001475/0.1468, allocations: 1.084 MB / 0.5698 GB, free: 7.898 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00104/0.1478, allocations: 0.7043 MB / 0.5705 GB, free: 7.191 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001403/0.1492, allocations: 1.063 MB / 0.5715 GB, free: 6.125 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002766/0.1495, allocations: 128 kB / 0.5716 GB, free: 6 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001334/0.1508, allocations: 0.7643 MB / 0.5724 GB, free: 5.234 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000981/0.1518, allocations: 0.958 MB / 0.5733 GB, free: 4.273 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001125/0.1529, allocations: 1.121 MB / 0.5744 GB, free: 3.145 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004386/0.1573, allocations: 3.73 MB / 0.578 GB, free: 15.4 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.741e-06/0.1573, allocations: 0 / 0.578 GB, free: 15.4 MB / 446.1 MB Notification: Performance of FrontEnd: time 3.757e-06/0.1573, allocations: 4 kB / 0.578 GB, free: 15.39 MB / 446.1 MB Notification: Performance of Transformations before backend: time 7.169e-05/0.1574, allocations: 0 / 0.578 GB, free: 15.39 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.004885/0.1623, allocations: 2.727 MB / 0.5807 GB, free: 12.61 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.407e-05/0.1623, allocations: 8.031 kB / 0.5807 GB, free: 12.6 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005918/0.1629, allocations: 454.4 kB / 0.5811 GB, free: 12.14 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005133/0.1681, allocations: 1.582 MB / 0.5827 GB, free: 10.56 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002423/0.1705, allocations: 1.077 MB / 0.5837 GB, free: 9.441 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001004/0.1706, allocations: 119.3 kB / 0.5839 GB, free: 9.324 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003433/0.1709, allocations: 159.8 kB / 0.584 GB, free: 9.168 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008971/0.1799, allocations: 6.19 MB / 0.5901 GB, free: 2.488 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.358e-05/0.18, allocations: 23.81 kB / 0.5901 GB, free: 2.465 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000214/0.1802, allocations: 75.89 kB / 0.5902 GB, free: 2.391 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002391/0.1826, allocations: 1.445 MB / 0.5916 GB, free: 0.9414 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.2345/0.417, allocations: 5.39 MB / 0.5968 GB, free: 31.35 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02669/0.4437, allocations: 24.81 MB / 0.6211 GB, free: 13.34 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004171/0.4479, allocations: 2.256 MB / 0.6233 GB, free: 12.21 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001085/0.449, allocations: 0.8796 MB / 0.6241 GB, free: 11.88 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002864/0.4493, allocations: 330.5 kB / 0.6244 GB, free: 11.57 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.162e-05/0.4493, allocations: 43.12 kB / 0.6245 GB, free: 11.53 MB / 446.1 MB Notification: Performance of pre-optimization done (n=96): time 3.456e-06/0.4493, allocations: 0 / 0.6245 GB, free: 11.53 MB / 446.1 MB Notification: Performance of matching and sorting (n=106): time 0.01962/0.4689, allocations: 8.567 MB / 0.6328 GB, free: 7.453 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.211e-05/0.469, allocations: 140.3 kB / 0.633 GB, free: 7.293 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002644/0.4716, allocations: 2.635 MB / 0.6355 GB, free: 5.941 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001065/0.4717, allocations: 41.67 kB / 0.6356 GB, free: 5.898 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007791/0.4725, allocations: 2.108 MB / 0.6376 GB, free: 4.051 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002832/0.4728, allocations: 462.8 kB / 0.6381 GB, free: 3.676 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000775/0.4736, allocations: 0.8699 MB / 0.6389 GB, free: 3.109 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 3.887e-05/0.4736, allocations: 305.1 kB / 0.6392 GB, free: 2.809 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001388/0.475, allocations: 1.332 MB / 0.6405 GB, free: 1.469 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003896/0.4789, allocations: 4.106 MB / 0.6445 GB, free: 11.96 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0073/0.4862, allocations: 5.934 MB / 0.6503 GB, free: 4.645 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.682e-05/0.4862, allocations: 31.94 kB / 0.6504 GB, free: 4.613 MB / 462.1 MB Notification: Performance of matching and sorting (n=560) (initialization): time 0.01039/0.4966, allocations: 5.493 MB / 0.6557 GB, free: 15.11 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.952e-05/0.4967, allocations: 54.02 kB / 0.6558 GB, free: 15.06 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001296/0.4968, allocations: 100 kB / 0.6559 GB, free: 14.96 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001171/0.498, allocations: 460.5 kB / 0.6563 GB, free: 14.51 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002916/0.5009, allocations: 0.9747 MB / 0.6573 GB, free: 13.54 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004732/0.5057, allocations: 3.672 MB / 0.6608 GB, free: 9.734 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002805/0.5085, allocations: 231.6 kB / 0.6611 GB, free: 9.508 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005059/0.509, allocations: 268 kB / 0.6613 GB, free: 9.246 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.002215/0.5112, allocations: 1.368 MB / 0.6627 GB, free: 7.867 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004823/0.5117, allocations: 230.4 kB / 0.6629 GB, free: 7.641 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002497/0.5142, allocations: 1.321 MB / 0.6642 GB, free: 6.305 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.809e-05/0.5142, allocations: 16.48 kB / 0.6642 GB, free: 6.289 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.566e-06/0.5142, allocations: 0 / 0.6642 GB, free: 6.289 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.224e-05/0.5142, allocations: 11.98 kB / 0.6642 GB, free: 6.277 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00845/0.5227, allocations: 4.187 MB / 0.6683 GB, free: 2.047 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.366e-06/0.5227, allocations: 4 kB / 0.6683 GB, free: 2.043 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006474/0.5233, allocations: 135.8 kB / 0.6684 GB, free: 1.91 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008832/0.5242, allocations: 320.4 kB / 0.6687 GB, free: 1.598 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.319e-05/0.5243, allocations: 20 kB / 0.6687 GB, free: 1.578 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003785/0.5281, allocations: 3.066 MB / 0.6717 GB, free: 14.39 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/0.5281, allocations: 8 kB / 0.6717 GB, free: 14.38 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004657/0.5327, allocations: 3.079 MB / 0.6748 GB, free: 11.27 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006416/0.5334, allocations: 283.5 kB / 0.675 GB, free: 10.98 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000236/0.5336, allocations: 19.94 kB / 0.675 GB, free: 10.96 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007179/0.5343, allocations: 47.94 kB / 0.6751 GB, free: 10.91 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001369/0.5345, allocations: 52.3 kB / 0.6751 GB, free: 10.86 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.087e-05/0.5345, allocations: 32 kB / 0.6752 GB, free: 10.83 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.002476/0.537, allocations: 1.625 MB / 0.6768 GB, free: 9.191 MB / 494.1 MB Notification: Performance of sort global known variables: time 8e-08/0.537, allocations: 0 / 0.6768 GB, free: 9.191 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.003139/0.5401, allocations: 0.5974 MB / 0.6773 GB, free: 8.598 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.005107/0.5452, allocations: 3.695 MB / 0.6809 GB, free: 4.875 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.005242/0.5505, allocations: 3.097 MB / 0.684 GB, free: 1.793 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 4.438e-06/0.5505, allocations: 4 kB / 0.684 GB, free: 1.789 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001207/0.5517, allocations: 0.8091 MB / 0.6848 GB, free: 0.9648 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001467/0.5532, allocations: 204 kB / 0.685 GB, free: 0.7656 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04333/0.5965, allocations: 28.36 MB / 0.7127 GB, free: 0.6797 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00254/0.599, allocations: 2.171 MB / 0.7148 GB, free: 14.47 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.003052/0.6021, allocations: 1.387 MB / 0.7161 GB, free: 13.08 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001429/0.6035, allocations: 1.026 MB / 0.7171 GB, free: 12.05 MB / 0.5294 GB Notification: Performance of SimCode: time 7.71e-07/0.6035, allocations: 0 / 0.7171 GB, free: 12.05 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08508/0.6886, allocations: 38.62 MB / 0.7548 GB, free: 5.645 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 18.55/19.24, allocations: 5.828 kB / 0.7549 GB, free: 5.645 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Parts.PointMass_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_MultiBody_Parts_PointMass_fmu --startTime=0 --stopTime=1.1 --stepSize=0.000219912 --timeout=50 --tolerance=1e-06 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.16337144235149] Failed to read output from testmodel.py, exit status != 0: ['time', 'rev.phi', 'rev.w'] 19.35479074297473 19.379858466 19.217428042999998 Calling exit ...