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.001416/0.001416, allocations: 109 kB / 21.23 MB, free: 0.6719 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.001449/0.001449, allocations: 209.2 kB / 24.53 MB, free: 4.035 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.459/1.459, allocations: 230.5 MB / 258.2 MB, free: 8.012 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.2372/0.2372, allocations: 46.94 MB / 361.6 MB, free: 4.168 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.002448/0.002448, allocations: 79.88 kB / 0.497 GB, free: 7.766 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3087/0.3112, allocations: 66.09 MB / 0.5615 GB, free: 4.273 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.PointMass): time 0.0094/0.3206, allocations: 6.826 MB / 0.5682 GB, free: 13.41 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.005392/0.326, allocations: 2.464 MB / 0.5706 GB, free: 10.95 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009908/0.327, allocations: 31.88 kB / 0.5706 GB, free: 10.91 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002606/0.3296, allocations: 1.078 MB / 0.5717 GB, free: 9.832 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002589/0.3322, allocations: 0.8636 MB / 0.5725 GB, free: 8.965 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001007/0.3332, allocations: 311.2 kB / 0.5728 GB, free: 8.66 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.003517/0.3367, allocations: 1.869 MB / 0.5746 GB, free: 6.785 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002229/0.3389, allocations: 1.095 MB / 0.5757 GB, free: 5.664 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001489/0.3404, allocations: 0.7161 MB / 0.5764 GB, free: 4.945 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001783/0.3422, allocations: 1.059 MB / 0.5774 GB, free: 3.883 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003999/0.3426, allocations: 128 kB / 0.5775 GB, free: 3.758 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001478/0.3441, allocations: 0.7721 MB / 0.5783 GB, free: 2.984 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001144/0.3452, allocations: 0.9501 MB / 0.5792 GB, free: 2.031 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001454/0.3467, allocations: 1.129 MB / 0.5803 GB, free: 0.8945 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005061/0.3517, allocations: 3.73 MB / 0.584 GB, free: 13.15 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.511e-06/0.3517, allocations: 0 / 0.584 GB, free: 13.15 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.074e-06/0.3517, allocations: 0 / 0.584 GB, free: 13.15 MB / 430.1 MB Notification: Performance of Transformations before backend: time 8.158e-05/0.3518, 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.005229/0.357, allocations: 2.647 MB / 0.5866 GB, free: 10.46 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.523e-05/0.3571, allocations: 12.03 kB / 0.5866 GB, free: 10.45 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006602/0.3577, allocations: 454.4 kB / 0.587 GB, free: 9.992 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005309/0.363, allocations: 1.582 MB / 0.5885 GB, free: 8.406 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002227/0.3653, allocations: 1.019 MB / 0.5895 GB, free: 7.355 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001153/0.3654, allocations: 115.3 kB / 0.5897 GB, free: 7.242 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004299/0.3658, allocations: 159.8 kB / 0.5898 GB, free: 7.086 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01064/0.3765, allocations: 6.182 MB / 0.5958 GB, free: 428 kB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.558e-05/0.3765, allocations: 23.81 kB / 0.5959 GB, free: 404 kB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000267/0.3768, allocations: 75.89 kB / 0.5959 GB, free: 328 kB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002622/0.3794, allocations: 1.456 MB / 0.5974 GB, free: 14.86 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01071/0.3901, allocations: 5.389 MB / 0.6026 GB, free: 9.473 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03164/0.4218, allocations: 24.72 MB / 0.6268 GB, free: 15.94 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004709/0.4265, allocations: 1.801 MB / 0.6285 GB, free: 14.1 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001359/0.4278, allocations: 0.8901 MB / 0.6294 GB, free: 13.2 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003253/0.4282, allocations: 95.78 kB / 0.6295 GB, free: 13.11 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.844e-05/0.4282, allocations: 42.5 kB / 0.6295 GB, free: 13.05 MB / 478.1 MB Notification: Performance of pre-optimization done (n=96): time 4.359e-06/0.4282, allocations: 4 kB / 0.6295 GB, free: 13.05 MB / 478.1 MB Notification: Performance of matching and sorting (n=106): time 0.02418/0.4524, allocations: 8.331 MB / 0.6377 GB, free: 4.645 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001007/0.4525, allocations: 136.5 kB / 0.6378 GB, free: 4.48 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004302/0.4568, allocations: 2.636 MB / 0.6404 GB, free: 1.82 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001859/0.457, allocations: 41.7 kB / 0.6404 GB, free: 1.773 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001949/0.4589, allocations: 2.104 MB / 0.6425 GB, free: 15.64 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005921/0.4595, allocations: 456.6 kB / 0.6429 GB, free: 15.2 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001384/0.4609, allocations: 0.8773 MB / 0.6437 GB, free: 14.3 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001351/0.461, allocations: 301.1 kB / 0.644 GB, free: 14.01 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002224/0.4633, allocations: 1.336 MB / 0.6453 GB, free: 12.66 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005117/0.4684, allocations: 4.104 MB / 0.6493 GB, free: 7.156 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008124/0.4765, allocations: 5.938 MB / 0.6551 GB, free: 15.84 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.985e-05/0.4766, allocations: 32 kB / 0.6552 GB, free: 15.8 MB / 0.4981 GB Notification: Performance of matching and sorting (n=560) (initialization): time 0.01057/0.4872, allocations: 5.494 MB / 0.6605 GB, free: 10.31 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 8.201e-05/0.4872, allocations: 48 kB / 0.6606 GB, free: 10.26 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001197/0.4874, allocations: 96.88 kB / 0.6607 GB, free: 10.17 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001189/0.4885, allocations: 468.4 kB / 0.6611 GB, free: 9.707 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003101/0.4916, allocations: 0.9786 MB / 0.6621 GB, free: 8.727 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004762/0.4964, allocations: 3.566 MB / 0.6656 GB, free: 5.047 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002643/0.4991, allocations: 231.7 kB / 0.6658 GB, free: 4.82 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000596/0.4997, allocations: 272 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.002311/0.502, allocations: 1.365 MB / 0.6674 GB, free: 3.176 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004439/0.5024, allocations: 230.5 kB / 0.6676 GB, free: 2.949 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002723/0.5051, allocations: 1.322 MB / 0.6689 GB, free: 1.613 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.865e-05/0.5052, allocations: 15.98 kB / 0.6689 GB, free: 1.598 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.208e-05/0.5052, allocations: 4 kB / 0.6689 GB, free: 1.594 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.284e-05/0.5052, allocations: 3.984 kB / 0.6689 GB, free: 1.59 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008555/0.5137, allocations: 4.174 MB / 0.673 GB, free: 13.36 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.308e-05/0.5138, allocations: 0 / 0.673 GB, free: 13.36 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007095/0.5145, allocations: 139.8 kB / 0.6731 GB, free: 13.22 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009685/0.5154, allocations: 320.5 kB / 0.6734 GB, free: 12.91 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001064/0.5155, allocations: 19.98 kB / 0.6734 GB, free: 12.89 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004033/0.5196, allocations: 2.963 MB / 0.6763 GB, free: 9.805 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.096e-06/0.5196, allocations: 0 / 0.6763 GB, free: 9.805 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005026/0.5246, allocations: 3.083 MB / 0.6794 GB, free: 6.699 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005977/0.5252, allocations: 214.4 kB / 0.6796 GB, free: 6.488 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002883/0.5255, allocations: 16 kB / 0.6796 GB, free: 6.473 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007981/0.5263, allocations: 43.94 kB / 0.6796 GB, free: 6.43 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001682/0.5265, allocations: 60.27 kB / 0.6797 GB, free: 6.371 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.815e-05/0.5265, allocations: 27.98 kB / 0.6797 GB, free: 6.344 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.002879/0.5294, allocations: 1.632 MB / 0.6813 GB, free: 4.699 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5294, allocations: 0 / 0.6813 GB, free: 4.699 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.003301/0.5327, allocations: 0.5861 MB / 0.6819 GB, free: 4.113 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.005461/0.5382, allocations: 3.699 MB / 0.6855 GB, free: 392 kB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.005526/0.5437, allocations: 3.099 MB / 0.6885 GB, free: 13.29 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 4.708e-06/0.5437, allocations: 0.625 kB / 0.6885 GB, free: 13.29 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.001319/0.545, allocations: 0.8131 MB / 0.6893 GB, free: 12.46 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001551/0.5466, allocations: 203 kB / 0.6895 GB, free: 12.27 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04925/0.5958, allocations: 28.41 MB / 0.7172 GB, free: 12.13 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003445/0.5993, allocations: 2.167 MB / 0.7193 GB, free: 9.93 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.003607/0.6029, allocations: 1.383 MB / 0.7207 GB, free: 8.535 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001935/0.6048, allocations: 1.026 MB / 0.7217 GB, free: 7.508 MB / 0.5606 GB Notification: Performance of SimCode: time 1.884e-06/0.6048, allocations: 0 / 0.7217 GB, free: 7.508 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3308/0.9356, allocations: 42.12 MB / 0.7628 GB, free: 134.6 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 18.43/19.36, allocations: 3.984 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 & /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.214506480377167] Failed to read output from testmodel.py, exit status != 0: ['time', 'rev.phi', 'rev.w'] 19.479297157842666 19.498104128 19.142179324 Calling exit ...