Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.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.001607/0.001607, allocations: 121.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.00195/0.00195, allocations: 206.6 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.498/1.498, allocations: 230.5 MB / 254.7 MB, free: 15.01 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.2274/0.2274, allocations: 46.93 MB / 357.7 MB, free: 10.2 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.Sensors.AbsoluteSensor2,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_MultiBody_Sensors_AbsoluteSensor2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Sensors.AbsoluteSensor2,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_MultiBody_Sensors_AbsoluteSensor2",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.002298/0.002298, allocations: 75.88 kB / 0.4917 GB, free: 7.754 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.142/0.1443, allocations: 66.05 MB / 0.5562 GB, free: 5.582 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.AbsoluteSensor2): time 0.01551/0.1598, allocations: 11.97 MB / 0.5678 GB, free: 9.543 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.00979/0.1696, allocations: 4.093 MB / 0.5718 GB, free: 5.434 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002629/0.1722, allocations: 87.69 kB / 0.5719 GB, free: 5.348 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003786/0.176, allocations: 1.685 MB / 0.5736 GB, free: 3.656 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004413/0.1804, allocations: 1.561 MB / 0.5751 GB, free: 2.09 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002521/0.1829, allocations: 1.177 MB / 0.5762 GB, free: 0.9102 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.00553/0.1884, allocations: 3.517 MB / 0.5797 GB, free: 13.39 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003001/0.1914, allocations: 2.059 MB / 0.5817 GB, free: 11.28 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002029/0.1935, allocations: 1.176 MB / 0.5828 GB, free: 10.1 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002663/0.1961, allocations: 1.729 MB / 0.5845 GB, free: 8.363 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007247/0.1969, allocations: 236 kB / 0.5848 GB, free: 8.133 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001633/0.1985, allocations: 0.7372 MB / 0.5855 GB, free: 7.395 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001941/0.2004, allocations: 1.597 MB / 0.587 GB, free: 5.793 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002521/0.2029, allocations: 1.851 MB / 0.5888 GB, free: 3.93 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.3072/0.5102, allocations: 6.15 MB / 0.5948 GB, free: 12 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.022e-06/0.5102, allocations: 0.5156 kB / 0.5948 GB, free: 12 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.803e-06/0.5102, allocations: 0 / 0.5948 GB, free: 12 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0001807/0.5104, allocations: 0.5312 kB / 0.5948 GB, free: 12 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: 1539 * Number of variables: 1539 Notification: Performance of Generate backend data structure: time 0.007508/0.5179, allocations: 4.093 MB / 0.5988 GB, free: 10.17 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.184e-05/0.5179, allocations: 12.61 kB / 0.5989 GB, free: 10.17 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001064/0.519, allocations: 0.7128 MB / 0.5995 GB, free: 10.09 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01088/0.5299, allocations: 2.997 MB / 0.6025 GB, free: 9.805 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004841/0.5347, allocations: 1.817 MB / 0.6043 GB, free: 9.312 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001899/0.5349, allocations: 196.2 kB / 0.6044 GB, free: 9.305 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001065/0.536, allocations: 249 kB / 0.6047 GB, free: 9.301 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01675/0.5527, allocations: 10.04 MB / 0.6145 GB, free: 6.82 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.91e-05/0.5528, allocations: 30.25 kB / 0.6145 GB, free: 6.82 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004118/0.5532, allocations: 127.6 kB / 0.6146 GB, free: 6.777 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003499/0.5567, allocations: 2.312 MB / 0.6169 GB, free: 6.402 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01746/0.5742, allocations: 8.926 MB / 0.6256 GB, free: 3.703 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04831/0.6225, allocations: 37.61 MB / 0.6623 GB, free: 15.71 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006088/0.6286, allocations: 3.245 MB / 0.6655 GB, free: 12.2 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001862/0.6304, allocations: 1.134 MB / 0.6666 GB, free: 11.06 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009325/0.6398, allocations: 5.173 MB / 0.6717 GB, free: 5.785 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.064e-05/0.6398, allocations: 50.62 kB / 0.6717 GB, free: 5.73 MB / 494.1 MB Notification: Performance of pre-optimization done (n=150): time 4.97e-06/0.6398, allocations: 0 / 0.6717 GB, free: 5.73 MB / 494.1 MB Notification: Performance of matching and sorting (n=150): time 0.007727/0.6475, allocations: 3.351 MB / 0.675 GB, free: 2.387 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001209/0.6476, allocations: 171.2 kB / 0.6751 GB, free: 2.188 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006317/0.654, allocations: 3.839 MB / 0.6789 GB, free: 14.36 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.000267/0.6542, allocations: 41.7 kB / 0.6789 GB, free: 14.31 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.002891/0.6571, allocations: 3.318 MB / 0.6822 GB, free: 11.02 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009328/0.6581, allocations: 0.634 MB / 0.6828 GB, free: 10.4 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001817/0.6599, allocations: 1.315 MB / 0.6841 GB, free: 9.078 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001441/0.66, allocations: 302.9 kB / 0.6844 GB, free: 8.781 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003361/0.6634, allocations: 1.957 MB / 0.6863 GB, free: 6.82 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009437/0.6728, allocations: 6.11 MB / 0.6922 GB, free: 14.71 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01588/0.6887, allocations: 8.794 MB / 0.7008 GB, free: 4.453 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001647/0.6889, allocations: 44 kB / 0.7009 GB, free: 4.41 MB / 0.5137 GB Notification: Performance of matching and sorting (n=849) (initialization): time 0.01818/0.707, allocations: 7.712 MB / 0.7084 GB, free: 12.95 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001458/0.7072, allocations: 71.94 kB / 0.7085 GB, free: 12.88 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002358/0.7074, allocations: 148 kB / 0.7086 GB, free: 12.73 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002624/0.7077, allocations: 195.9 kB / 0.7088 GB, free: 12.54 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007134/0.7148, allocations: 1.454 MB / 0.7102 GB, free: 11.09 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004069/0.7152, allocations: 286.9 kB / 0.7105 GB, free: 10.8 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007208/0.7224, allocations: 0.9396 MB / 0.7114 GB, free: 9.863 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001468/0.7239, allocations: 399.8 kB / 0.7118 GB, free: 9.477 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 673 * Number of states: 0 () * Number of discrete variables: 23 (freeMotion.arrow.twoHeadedArrow,freeMotion.arrow.headAtOrigin,freeMotion.arrowColor[3],freeMotion.arrowColor[2],freeMotion.arrowColor[1],frame_a.color_x[3],frame_a.color_x[2],frame_a.color_x[1],fixedRotation.color[3],fixedRotation.color[2],fixedRotation.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 (791): * Single equations (assignments): 783 * Array equations: 8 * 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.004374/0.7283, allocations: 2.191 MB / 0.7139 GB, free: 7.273 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007754/0.729, allocations: 333.7 kB / 0.7143 GB, free: 6.945 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009897/0.73, allocations: 403.1 kB / 0.7146 GB, free: 6.543 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.776e-05/0.7301, allocations: 36 kB / 0.7147 GB, free: 6.508 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.504e-05/0.7301, allocations: 5.516 kB / 0.7147 GB, free: 6.504 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.086e-05/0.7301, allocations: 11.83 kB / 0.7147 GB, free: 6.496 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01072/0.7409, allocations: 5.472 MB / 0.72 GB, free: 0.9258 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.581e-05/0.7409, allocations: 4 kB / 0.72 GB, free: 0.9219 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001073/0.7419, allocations: 203.7 kB / 0.7202 GB, free: 0.7227 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.773e-05/0.742, allocations: 11.98 kB / 0.7202 GB, free: 0.7109 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.605e-05/0.742, allocations: 31.88 kB / 0.7203 GB, free: 0.6797 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.466e-05/0.7421, allocations: 12 kB / 0.7203 GB, free: 0.668 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-05/0.7421, allocations: 7.938 kB / 0.7203 GB, free: 0.6602 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00352/0.7456, allocations: 2.551 MB / 0.7228 GB, free: 14.02 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007598/0.7464, allocations: 386.5 kB / 0.7232 GB, free: 13.62 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002933/0.7466, allocations: 39.84 kB / 0.7232 GB, free: 13.59 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009489/0.7476, allocations: 59.92 kB / 0.7232 GB, free: 13.53 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001715/0.7478, allocations: 84.33 kB / 0.7233 GB, free: 13.45 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001036/0.7479, allocations: 45.64 kB / 0.7234 GB, free: 13.41 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.003977/0.7518, allocations: 2.334 MB / 0.7256 GB, free: 11.09 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.61e-07/0.7518, allocations: 0 / 0.7256 GB, free: 11.09 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.005253/0.7571, allocations: 1.078 MB / 0.7267 GB, free: 10.01 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 25 * 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 (108): * Single equations (assignments): 102 * Array equations: 6 * 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.004051/0.7611, allocations: 3.18 MB / 0.7298 GB, free: 6.738 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.007506/0.7687, allocations: 4.262 MB / 0.734 GB, free: 2.516 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 8.175e-06/0.7687, allocations: 0 / 0.734 GB, free: 2.516 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.001392/0.7701, allocations: 0.8778 MB / 0.7348 GB, free: 1.637 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00233/0.7724, allocations: 350.6 kB / 0.7352 GB, free: 1.305 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07251/0.8449, allocations: 41.81 MB / 0.776 GB, free: 0.9961 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006486/0.8514, allocations: 3.162 MB / 0.7791 GB, free: 13.81 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.006796/0.8582, allocations: 2.224 MB / 0.7812 GB, free: 11.57 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00362/0.8618, allocations: 1.663 MB / 0.7829 GB, free: 9.91 MB / 0.6075 GB Notification: Performance of SimCode: time 1.222e-06/0.8618, allocations: 0 / 0.7829 GB, free: 9.91 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1033/0.9651, allocations: 51.28 MB / 0.8329 GB, free: 6.898 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 18.3/19.26, allocations: 17.83 kB / 0.833 GB, free: 6.887 MB / 0.6544 GB " [Timeout remaining time 641] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2_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_Sensors_AbsoluteSensor2.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 22.629107426851988] Failed to read output from testmodel.py, exit status != 0: ['time', 'freeMotion.r[3]', 'freeMotion.r[2]', 'freeMotion.r[1]'] 19.370306613855064 19.596768406 19.083326941 Calling exit ...