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.00137/0.00137, allocations: 108.2 kB / 20.22 MB, free: 1.812 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.001587/0.001587, allocations: 220.8 kB / 23.48 MB, free: 5.254 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.468/1.468, allocations: 230.2 MB / 256.8 MB, free: 8.555 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.2287/0.2287, allocations: 46.88 MB / 360 MB, free: 4.703 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.002536/0.002536, allocations: 79.86 kB / 0.4951 GB, free: 8.531 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3057/0.3083, allocations: 65.99 MB / 0.5595 GB, free: 4.992 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.AbsoluteSensor2): time 0.01581/0.3241, allocations: 12 MB / 0.5712 GB, free: 8.938 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.00928/0.3334, allocations: 4.105 MB / 0.5752 GB, free: 4.816 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001814/0.3352, allocations: 79.81 kB / 0.5753 GB, free: 4.738 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00396/0.3391, allocations: 1.705 MB / 0.577 GB, free: 3.027 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004043/0.3432, allocations: 1.549 MB / 0.5785 GB, free: 1.473 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002775/0.3459, allocations: 1.196 MB / 0.5797 GB, free: 280 kB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.005466/0.3514, allocations: 3.506 MB / 0.5831 GB, free: 12.76 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002808/0.3542, allocations: 1.809 MB / 0.5849 GB, free: 10.9 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001894/0.3561, allocations: 1.152 MB / 0.586 GB, free: 9.742 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002666/0.3588, allocations: 1.736 MB / 0.5877 GB, free: 8 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006682/0.3594, allocations: 236 kB / 0.5879 GB, free: 7.77 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001747/0.3612, allocations: 0.7294 MB / 0.5886 GB, free: 7.039 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001868/0.3631, allocations: 1.597 MB / 0.5902 GB, free: 5.438 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00244/0.3655, allocations: 1.863 MB / 0.592 GB, free: 3.562 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007728/0.3732, allocations: 6.15 MB / 0.598 GB, free: 13.39 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.911e-06/0.3732, allocations: 0 / 0.598 GB, free: 13.39 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.3732, allocations: 0 / 0.598 GB, free: 13.39 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0001791/0.3734, allocations: 0 / 0.598 GB, free: 13.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: 1539 * Number of variables: 1539 Notification: Performance of Generate backend data structure: time 0.008142/0.3816, allocations: 4.09 MB / 0.602 GB, free: 9.219 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.426e-05/0.3816, allocations: 11.97 kB / 0.602 GB, free: 9.207 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001061/0.3827, allocations: 0.7203 MB / 0.6027 GB, free: 8.477 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00976/0.3924, allocations: 2.989 MB / 0.6056 GB, free: 5.48 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004052/0.3965, allocations: 1.816 MB / 0.6074 GB, free: 3.613 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001748/0.3966, allocations: 200.9 kB / 0.6076 GB, free: 3.414 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006798/0.3973, allocations: 243.8 kB / 0.6078 GB, free: 3.176 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01618/0.4135, allocations: 10.04 MB / 0.6176 GB, free: 8.48 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.73e-05/0.4136, allocations: 35.69 kB / 0.6177 GB, free: 8.445 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004887/0.4141, allocations: 123.8 kB / 0.6178 GB, free: 8.324 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003953/0.418, allocations: 2.31 MB / 0.62 GB, free: 6.004 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01655/0.4346, allocations: 8.925 MB / 0.6287 GB, free: 13.07 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05048/0.4851, allocations: 37.6 MB / 0.6655 GB, free: 6.344 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00596/0.491, allocations: 3.247 MB / 0.6686 GB, free: 2.82 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001895/0.4929, allocations: 1.128 MB / 0.6697 GB, free: 1.676 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.009726/0.5026, allocations: 5.196 MB / 0.6748 GB, free: 12.33 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.259e-05/0.5027, allocations: 47.06 kB / 0.6749 GB, free: 12.27 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=150): time 4.368e-06/0.5027, allocations: 0 / 0.6749 GB, free: 12.27 MB / 0.5137 GB Notification: Performance of matching and sorting (n=150): time 0.007549/0.5102, allocations: 3.339 MB / 0.6781 GB, free: 8.934 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001263/0.5104, allocations: 174.8 kB / 0.6783 GB, free: 8.727 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006177/0.5165, allocations: 3.837 MB / 0.682 GB, free: 4.895 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0002149/0.5168, allocations: 45.7 kB / 0.6821 GB, free: 4.844 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.002911/0.5197, allocations: 3.317 MB / 0.6853 GB, free: 1.492 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008618/0.5205, allocations: 0.6321 MB / 0.6859 GB, free: 0.8555 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002049/0.5226, allocations: 1.31 MB / 0.6872 GB, free: 15.54 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001494/0.5227, allocations: 305.1 kB / 0.6875 GB, free: 15.23 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003221/0.5259, allocations: 1.953 MB / 0.6894 GB, free: 13.28 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007117/0.5331, allocations: 6.112 MB / 0.6954 GB, free: 5.09 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01128/0.5443, allocations: 8.793 MB / 0.704 GB, free: 10.22 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001236/0.5445, allocations: 40 kB / 0.704 GB, free: 10.18 MB / 0.545 GB Notification: Performance of matching and sorting (n=849) (initialization): time 0.01529/0.5598, allocations: 7.729 MB / 0.7116 GB, free: 2.449 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001108/0.5599, allocations: 68 kB / 0.7116 GB, free: 2.383 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001874/0.5601, allocations: 152 kB / 0.7118 GB, free: 2.234 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002035/0.5603, allocations: 196 kB / 0.712 GB, free: 2.043 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004473/0.5647, allocations: 1.454 MB / 0.7134 GB, free: 0.5859 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002537/0.565, allocations: 286.9 kB / 0.7136 GB, free: 312 kB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004776/0.5698, allocations: 0.9273 MB / 0.7146 GB, free: 15.37 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008736/0.5706, allocations: 400.3 kB / 0.7149 GB, free: 14.98 MB / 0.5606 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.003658/0.5743, allocations: 2.202 MB / 0.7171 GB, free: 12.76 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005524/0.5749, allocations: 325.5 kB / 0.7174 GB, free: 12.44 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007241/0.5756, allocations: 411.1 kB / 0.7178 GB, free: 12.04 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.214e-05/0.5756, allocations: 31.98 kB / 0.7178 GB, free: 12 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.55e-05/0.5757, allocations: 8 kB / 0.7178 GB, free: 12 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.014e-05/0.5757, allocations: 3.984 kB / 0.7178 GB, free: 11.99 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009798/0.5855, allocations: 5.475 MB / 0.7232 GB, free: 6.391 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.456e-05/0.5855, allocations: 8.125 kB / 0.7232 GB, free: 6.383 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009455/0.5864, allocations: 207.7 kB / 0.7234 GB, free: 6.18 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.686e-05/0.5864, allocations: 15.94 kB / 0.7234 GB, free: 6.164 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.357e-05/0.5865, allocations: 31.92 kB / 0.7234 GB, free: 6.133 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.555e-05/0.5865, allocations: 8 kB / 0.7234 GB, free: 6.125 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.348e-06/0.5866, allocations: 11.94 kB / 0.7234 GB, free: 6.113 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003367/0.5899, allocations: 2.554 MB / 0.7259 GB, free: 3.477 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008846/0.5908, allocations: 386.6 kB / 0.7263 GB, free: 3.078 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003799/0.5912, allocations: 20 kB / 0.7263 GB, free: 3.059 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009605/0.5921, allocations: 67.91 kB / 0.7264 GB, free: 2.992 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001695/0.5923, allocations: 80.36 kB / 0.7265 GB, free: 2.914 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001001/0.5924, allocations: 47.97 kB / 0.7265 GB, free: 2.867 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.004139/0.5966, allocations: 2.334 MB / 0.7288 GB, free: 0.5469 MB / 0.5606 GB Notification: Performance of sort global known variables: time 7.1e-08/0.5966, allocations: 0 / 0.7288 GB, free: 0.5469 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.2402/0.8368, allocations: 1.07 MB / 0.7298 GB, free: 152.6 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.004455/0.8412, allocations: 3.181 MB / 0.7329 GB, free: 151.4 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.005549/0.8468, allocations: 4.257 MB / 0.7371 GB, free: 150.1 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 7.765e-06/0.8468, allocations: 0 / 0.7371 GB, free: 150.1 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0009289/0.8477, allocations: 0.8769 MB / 0.738 GB, free: 149.8 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001964/0.8497, allocations: 355.4 kB / 0.7383 GB, free: 149.7 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04083/0.8905, allocations: 41.81 MB / 0.7791 GB, free: 109.3 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002981/0.8935, allocations: 3.164 MB / 0.7822 GB, free: 106.1 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.003909/0.8974, allocations: 2.23 MB / 0.7844 GB, free: 103.9 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001956/0.8994, allocations: 1.659 MB / 0.786 GB, free: 102.2 MB / 0.5606 GB Notification: Performance of SimCode: time 1.393e-06/0.8994, allocations: 0 / 0.786 GB, free: 102.2 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07613/0.9755, allocations: 51.56 MB / 0.8364 GB, free: 50.89 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 19.8/20.77, allocations: 9.797 kB / 0.8364 GB, free: 50.89 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.55757688987069] Failed to read output from testmodel.py, exit status != 0: ['time', 'freeMotion.r[3]', 'freeMotion.r[2]', 'freeMotion.r[1]'] 20.88248662999831 20.902425736 20.524970253 Calling exit ...