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.00133/0.00133, allocations: 110.5 kB / 21.23 MB, free: 0.6641 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.001487/0.001487, allocations: 213.2 kB / 24.54 MB, free: 4.02 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.455/1.455, allocations: 230.5 MB / 258.2 MB, free: 7.996 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.2279/0.2279, allocations: 46.93 MB / 361.6 MB, free: 4.273 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.002384/0.002384, allocations: 75.88 kB / 0.497 GB, free: 7.781 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3002/0.3026, allocations: 66.09 MB / 0.5615 GB, free: 4.301 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.AbsoluteSensor2): time 0.01444/0.317, allocations: 12.01 MB / 0.5732 GB, free: 8.238 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.00813/0.3252, allocations: 4.105 MB / 0.5772 GB, free: 4.121 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001609/0.3268, allocations: 87.69 kB / 0.5773 GB, free: 4.035 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003461/0.3302, allocations: 1.697 MB / 0.579 GB, free: 2.332 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00372/0.334, allocations: 1.561 MB / 0.5805 GB, free: 0.7656 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00254/0.3365, allocations: 1.204 MB / 0.5817 GB, free: 15.56 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.005455/0.342, allocations: 3.51 MB / 0.5851 GB, free: 12.04 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002778/0.3447, allocations: 1.992 MB / 0.5871 GB, free: 9.992 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001761/0.3465, allocations: 1.172 MB / 0.5882 GB, free: 8.816 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002617/0.3491, allocations: 1.732 MB / 0.5899 GB, free: 7.078 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006183/0.3497, allocations: 236 kB / 0.5901 GB, free: 6.848 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001549/0.3513, allocations: 0.7372 MB / 0.5908 GB, free: 6.109 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001831/0.3531, allocations: 1.593 MB / 0.5924 GB, free: 4.512 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002356/0.3555, allocations: 1.859 MB / 0.5942 GB, free: 2.641 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008113/0.3636, allocations: 6.146 MB / 0.6002 GB, free: 12.47 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.883e-06/0.3636, allocations: 0 / 0.6002 GB, free: 12.47 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.023e-06/0.3636, allocations: 0 / 0.6002 GB, free: 12.47 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0002173/0.3638, allocations: 0 / 0.6002 GB, free: 12.47 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.008455/0.3723, allocations: 4.015 MB / 0.6041 GB, free: 8.395 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.486e-05/0.3723, allocations: 16.03 kB / 0.6041 GB, free: 8.379 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001246/0.3736, allocations: 0.7163 MB / 0.6048 GB, free: 7.652 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009777/0.3833, allocations: 2.989 MB / 0.6078 GB, free: 4.656 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004317/0.3876, allocations: 1.759 MB / 0.6095 GB, free: 2.863 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002084/0.3879, allocations: 204.8 kB / 0.6097 GB, free: 2.66 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009601/0.3888, allocations: 243.8 kB / 0.6099 GB, free: 2.422 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01784/0.4067, allocations: 10.04 MB / 0.6197 GB, free: 7.727 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.52e-05/0.4067, allocations: 27.75 kB / 0.6197 GB, free: 7.699 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005303/0.4073, allocations: 123.8 kB / 0.6199 GB, free: 7.578 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003804/0.4111, allocations: 2.317 MB / 0.6221 GB, free: 5.258 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01801/0.4291, allocations: 8.931 MB / 0.6308 GB, free: 12.32 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05162/0.4807, allocations: 37.47 MB / 0.6674 GB, free: 5.703 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00531/0.486, allocations: 2.354 MB / 0.6697 GB, free: 3.293 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001794/0.4878, allocations: 1.128 MB / 0.6708 GB, free: 2.148 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.009159/0.497, allocations: 4.716 MB / 0.6754 GB, free: 13.4 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.892e-05/0.497, allocations: 55.16 kB / 0.6755 GB, free: 13.34 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=150): time 3.777e-06/0.497, allocations: 0 / 0.6755 GB, free: 13.34 MB / 0.5137 GB Notification: Performance of matching and sorting (n=150): time 0.007266/0.5043, allocations: 3.341 MB / 0.6788 GB, free: 9.992 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000116/0.5044, allocations: 162.9 kB / 0.6789 GB, free: 9.797 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005608/0.51, allocations: 3.841 MB / 0.6827 GB, free: 5.961 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0001526/0.5102, allocations: 41.7 kB / 0.6827 GB, free: 5.914 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.002766/0.5129, allocations: 3.317 MB / 0.6859 GB, free: 2.562 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007717/0.5137, allocations: 0.636 MB / 0.6866 GB, free: 1.922 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001771/0.5155, allocations: 1.31 MB / 0.6878 GB, free: 0.6016 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001377/0.5156, allocations: 301.1 kB / 0.6881 GB, free: 312 kB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003289/0.5189, allocations: 1.961 MB / 0.69 GB, free: 14.33 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007298/0.5262, allocations: 6.104 MB / 0.696 GB, free: 6.152 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01087/0.5371, allocations: 8.795 MB / 0.7046 GB, free: 11.29 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.651e-05/0.5372, allocations: 40 kB / 0.7046 GB, free: 11.25 MB / 0.545 GB Notification: Performance of matching and sorting (n=849) (initialization): time 0.01384/0.551, allocations: 7.719 MB / 0.7122 GB, free: 3.52 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001077/0.5511, allocations: 68.47 kB / 0.7122 GB, free: 3.453 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002073/0.5513, allocations: 152.1 kB / 0.7124 GB, free: 3.305 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002162/0.5515, allocations: 200 kB / 0.7126 GB, free: 3.109 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00481/0.5563, allocations: 1.454 MB / 0.714 GB, free: 1.652 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000339/0.5567, allocations: 286.9 kB / 0.7143 GB, free: 1.371 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004662/0.5613, allocations: 0.9387 MB / 0.7152 GB, free: 436 kB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008978/0.5622, allocations: 400 kB / 0.7156 GB, free: 36 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.003985/0.5662, allocations: 2.208 MB / 0.7177 GB, free: 13.81 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005622/0.5668, allocations: 329.7 kB / 0.718 GB, free: 13.49 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008524/0.5676, allocations: 407.1 kB / 0.7184 GB, free: 13.09 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.983e-05/0.5677, allocations: 35.98 kB / 0.7185 GB, free: 13.05 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.208e-05/0.5677, allocations: 4 kB / 0.7185 GB, free: 13.05 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.064e-05/0.5677, allocations: 3.984 kB / 0.7185 GB, free: 13.04 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01136/0.5791, allocations: 5.442 MB / 0.7238 GB, free: 7.477 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.811e-05/0.5791, allocations: 7.984 kB / 0.7238 GB, free: 7.469 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009604/0.5801, allocations: 203.7 kB / 0.724 GB, free: 7.27 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.792e-05/0.5801, allocations: 12.59 kB / 0.724 GB, free: 7.258 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.617e-05/0.5802, allocations: 39.98 kB / 0.724 GB, free: 7.219 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.742e-05/0.5802, allocations: 19.86 kB / 0.724 GB, free: 7.199 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.093e-06/0.5802, allocations: 8 kB / 0.7241 GB, free: 7.191 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003499/0.5837, allocations: 2.548 MB / 0.7265 GB, free: 4.562 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008866/0.5846, allocations: 313.4 kB / 0.7268 GB, free: 4.254 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005013/0.5851, allocations: 24 kB / 0.7269 GB, free: 4.23 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001838/0.5869, allocations: 63.92 kB / 0.7269 GB, free: 4.168 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003379/0.5873, allocations: 96.16 kB / 0.727 GB, free: 4.074 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001581/0.5874, allocations: 40 kB / 0.7271 GB, free: 4.035 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.006379/0.5938, allocations: 2.334 MB / 0.7293 GB, free: 1.715 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5938, allocations: 0 / 0.7293 GB, free: 1.715 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.008475/0.6023, allocations: 1.072 MB / 0.7304 GB, free: 0.6406 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.2656/0.8679, allocations: 3.178 MB / 0.7335 GB, free: 151 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.00549/0.8734, allocations: 4.252 MB / 0.7376 GB, free: 149.7 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 7.244e-06/0.8734, allocations: 0 / 0.7376 GB, free: 149.7 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.001003/0.8744, allocations: 0.8796 MB / 0.7385 GB, free: 149.4 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001826/0.8762, allocations: 351.4 kB / 0.7388 GB, free: 149.2 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04191/0.9181, allocations: 41.8 MB / 0.7796 GB, free: 109.2 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002707/0.9208, allocations: 3.162 MB / 0.7827 GB, free: 106 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.003956/0.9248, allocations: 2.22 MB / 0.7849 GB, free: 103.8 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002023/0.9268, allocations: 1.663 MB / 0.7865 GB, free: 102.1 MB / 0.5606 GB Notification: Performance of SimCode: time 1.072e-06/0.9268, allocations: 4 kB / 0.7865 GB, free: 102.1 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08315/1.01, allocations: 56.47 MB / 0.8417 GB, free: 45.92 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 20.72/21.73, allocations: 0 / 0.8417 GB, free: 45.92 MB / 0.5606 GB " [Timeout remaining time 638] (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: 24.629310354124755] Failed to read output from testmodel.py, exit status != 0: ['time', 'freeMotion.r[3]', 'freeMotion.r[2]', 'freeMotion.r[1]'] 21.839432270266116 21.85723381 21.489766812 Calling exit ...