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.00135/0.00135, allocations: 106.5 kB / 21.23 MB, free: 0.6562 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.001523/0.001523, allocations: 213.2 kB / 24.54 MB, free: 4.016 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.481/1.481, allocations: 230.5 MB / 258.2 MB, free: 8.035 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.2381/0.2381, allocations: 46.93 MB / 361.6 MB, free: 4.219 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.00249/0.00249, allocations: 75.88 kB / 0.497 GB, free: 7.789 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3938/0.3963, allocations: 66.08 MB / 0.5615 GB, free: 4.324 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.AbsoluteSensor2): time 0.0148/0.4111, allocations: 11.99 MB / 0.5732 GB, free: 8.273 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.009278/0.4204, allocations: 4.12 MB / 0.5772 GB, free: 4.145 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002234/0.4226, allocations: 87.69 kB / 0.5773 GB, free: 4.059 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003988/0.4266, allocations: 1.697 MB / 0.579 GB, free: 2.355 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004546/0.4312, allocations: 1.565 MB / 0.5805 GB, free: 0.7852 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00286/0.434, allocations: 1.212 MB / 0.5817 GB, free: 15.57 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.006068/0.4401, allocations: 3.502 MB / 0.5851 GB, free: 12.06 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003756/0.4438, allocations: 1.988 MB / 0.5871 GB, free: 10.02 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00277/0.4466, allocations: 1.176 MB / 0.5882 GB, free: 8.836 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003287/0.4499, allocations: 1.732 MB / 0.5899 GB, free: 7.098 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008003/0.4507, allocations: 236 kB / 0.5901 GB, free: 6.867 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001776/0.4525, allocations: 0.7372 MB / 0.5908 GB, free: 6.129 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001971/0.4544, allocations: 1.589 MB / 0.5924 GB, free: 4.535 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00249/0.4569, allocations: 1.859 MB / 0.5942 GB, free: 2.664 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007974/0.4649, allocations: 6.154 MB / 0.6002 GB, free: 12.48 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.723e-06/0.4649, allocations: 0 / 0.6002 GB, free: 12.48 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.124e-06/0.4649, allocations: 0 / 0.6002 GB, free: 12.48 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.000192/0.4651, allocations: 0 / 0.6002 GB, free: 12.48 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.008529/0.4736, allocations: 4.015 MB / 0.6041 GB, free: 8.406 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.356e-05/0.4737, allocations: 8.031 kB / 0.6041 GB, free: 8.398 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001587/0.4753, allocations: 0.7203 MB / 0.6048 GB, free: 7.668 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009894/0.4852, allocations: 2.989 MB / 0.6078 GB, free: 4.672 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004229/0.4894, allocations: 1.759 MB / 0.6095 GB, free: 2.879 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001987/0.4896, allocations: 196.8 kB / 0.6097 GB, free: 2.684 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008106/0.4904, allocations: 247.8 kB / 0.6099 GB, free: 2.441 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0182/0.5086, allocations: 10.04 MB / 0.6197 GB, free: 7.746 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.718e-05/0.5087, allocations: 27.75 kB / 0.6197 GB, free: 7.719 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004391/0.5091, allocations: 135.8 kB / 0.6199 GB, free: 7.586 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003803/0.5129, allocations: 2.302 MB / 0.6221 GB, free: 5.281 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01752/0.5305, allocations: 8.941 MB / 0.6308 GB, free: 12.34 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0529/0.5834, allocations: 37.47 MB / 0.6674 GB, free: 5.719 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005708/0.5891, allocations: 2.339 MB / 0.6697 GB, free: 3.324 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001883/0.591, allocations: 1.135 MB / 0.6708 GB, free: 2.176 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.009373/0.6003, allocations: 4.731 MB / 0.6754 GB, free: 13.41 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.032e-05/0.6004, allocations: 47.16 kB / 0.6755 GB, free: 13.36 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=150): time 5.431e-06/0.6004, allocations: 0 / 0.6755 GB, free: 13.36 MB / 0.5137 GB Notification: Performance of matching and sorting (n=150): time 0.007835/0.6082, allocations: 3.339 MB / 0.6788 GB, free: 10.02 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001203/0.6083, allocations: 170.9 kB / 0.6789 GB, free: 9.812 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007012/0.6154, allocations: 3.838 MB / 0.6827 GB, free: 5.98 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0002602/0.6156, allocations: 45.69 kB / 0.6827 GB, free: 5.93 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.003215/0.6188, allocations: 3.317 MB / 0.6859 GB, free: 2.578 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.001027/0.6199, allocations: 0.6399 MB / 0.6866 GB, free: 1.934 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002224/0.6221, allocations: 1.31 MB / 0.6879 GB, free: 0.6133 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001494/0.6222, allocations: 301.1 kB / 0.6881 GB, free: 324 kB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003442/0.6257, allocations: 1.957 MB / 0.6901 GB, free: 14.35 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007972/0.6337, allocations: 6.108 MB / 0.696 GB, free: 6.168 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01179/0.6454, allocations: 8.79 MB / 0.7046 GB, free: 11.3 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001561/0.6456, allocations: 51.94 kB / 0.7046 GB, free: 11.25 MB / 0.545 GB Notification: Performance of matching and sorting (n=849) (initialization): time 0.01573/0.6613, allocations: 7.718 MB / 0.7122 GB, free: 3.531 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001088/0.6614, allocations: 68 kB / 0.7123 GB, free: 3.465 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002042/0.6616, allocations: 148 kB / 0.7124 GB, free: 3.32 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002004/0.6618, allocations: 192 kB / 0.7126 GB, free: 3.133 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004716/0.6666, allocations: 1.458 MB / 0.714 GB, free: 1.672 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002878/0.6668, allocations: 286.9 kB / 0.7143 GB, free: 1.391 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004898/0.6717, allocations: 0.9339 MB / 0.7152 GB, free: 464 kB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00109/0.6728, allocations: 404.5 kB / 0.7156 GB, free: 60 kB / 0.545 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.004302/0.6771, allocations: 2.196 MB / 0.7177 GB, free: 13.85 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006698/0.6778, allocations: 329.7 kB / 0.718 GB, free: 13.52 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008291/0.6786, allocations: 407.1 kB / 0.7184 GB, free: 13.12 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.146e-05/0.6787, allocations: 36 kB / 0.7185 GB, free: 13.09 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.696e-05/0.6787, allocations: 4 kB / 0.7185 GB, free: 13.08 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.526e-05/0.6787, allocations: 11.97 kB / 0.7185 GB, free: 13.07 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01114/0.6899, allocations: 5.435 MB / 0.7238 GB, free: 7.512 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.728e-05/0.6899, allocations: 12.12 kB / 0.7238 GB, free: 7.5 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001016/0.6909, allocations: 207.7 kB / 0.724 GB, free: 7.297 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.849e-05/0.6909, allocations: 15.92 kB / 0.724 GB, free: 7.281 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001091/0.691, allocations: 27.98 kB / 0.724 GB, free: 7.254 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.653e-05/0.6911, allocations: 15.94 kB / 0.724 GB, free: 7.238 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.991e-06/0.6911, allocations: 4 kB / 0.724 GB, free: 7.234 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003649/0.6947, allocations: 2.558 MB / 0.7265 GB, free: 4.594 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009006/0.6956, allocations: 313.3 kB / 0.7268 GB, free: 4.285 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003635/0.696, allocations: 28 kB / 0.7269 GB, free: 4.258 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001008/0.697, allocations: 63.91 kB / 0.7269 GB, free: 4.195 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001913/0.6972, allocations: 84.25 kB / 0.727 GB, free: 4.113 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001134/0.6973, allocations: 47.94 kB / 0.7271 GB, free: 4.066 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.004867/0.7022, allocations: 2.334 MB / 0.7293 GB, free: 1.746 MB / 0.5606 GB Notification: Performance of sort global known variables: time 2.3e-07/0.7022, allocations: 0 / 0.7293 GB, free: 1.746 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.006485/0.7086, allocations: 1.072 MB / 0.7304 GB, free: 0.6719 MB / 0.5606 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.2518/0.9604, allocations: 3.177 MB / 0.7335 GB, free: 151.1 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.005769/0.9662, allocations: 4.261 MB / 0.7376 GB, free: 149.8 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 8.055e-06/0.9662, allocations: 0.6875 kB / 0.7376 GB, free: 149.8 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0009539/0.9672, allocations: 0.873 MB / 0.7385 GB, free: 149.5 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001807/0.969, allocations: 340.8 kB / 0.7388 GB, free: 149.3 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04278/1.012, allocations: 41.81 MB / 0.7797 GB, free: 109.2 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002735/1.014, allocations: 3.164 MB / 0.7827 GB, free: 106 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.004032/1.019, allocations: 2.226 MB / 0.7849 GB, free: 103.8 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001935/1.02, allocations: 1.663 MB / 0.7865 GB, free: 102.1 MB / 0.5606 GB Notification: Performance of SimCode: time 1.242e-06/1.02, allocations: 0 / 0.7865 GB, free: 102.1 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08511/1.106, allocations: 56.46 MB / 0.8417 GB, free: 45.91 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 19.77/20.88, allocations: 8 kB / 0.8417 GB, free: 45.9 MB / 0.5606 GB " [Timeout remaining time 639] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_MultiBody_Sensors_AbsoluteSensor2_fmu --startTime=0 --stopTime=1.1 --stepSize=0.000219912 --timeout=50 --tolerance=1e-06 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: 23.80304627493024] Failed to read output from testmodel.py, exit status != 0: ['time', 'freeMotion.r[3]', 'freeMotion.r[2]', 'freeMotion.r[1]'] 20.98978184396401 21.006608363 20.537822859 Calling exit ...