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.001174/0.001174, allocations: 105.5 kB / 19.74 MB, free: 2.453 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.001251/0.001251, allocations: 217.9 kB / 22.92 MB, free: 5.191 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.295/1.295, allocations: 230.2 MB / 256.1 MB, free: 8.648 MB / 206.1 MB " [Timeout remaining time 179] 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.1963/0.1963, allocations: 46.9 MB / 359.3 MB, free: 5 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.002068/0.002068, allocations: 79.86 kB / 0.494 GB, free: 9.156 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2605/0.2625, allocations: 65.99 MB / 0.5584 GB, free: 5.266 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.AbsoluteSensor2): time 0.01258/0.2751, allocations: 12 MB / 0.5701 GB, free: 9.215 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.006792/0.2819, allocations: 4.113 MB / 0.5741 GB, free: 5.086 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008175/0.2827, allocations: 75.88 kB / 0.5742 GB, free: 5.012 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002762/0.2855, allocations: 1.701 MB / 0.5759 GB, free: 3.305 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002529/0.288, allocations: 1.549 MB / 0.5774 GB, free: 1.75 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00195/0.29, allocations: 1.196 MB / 0.5785 GB, free: 0.5508 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.003765/0.2937, allocations: 3.513 MB / 0.582 GB, free: 13.03 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001884/0.2956, allocations: 1.801 MB / 0.5837 GB, free: 11.18 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001108/0.2967, allocations: 1.152 MB / 0.5849 GB, free: 10.02 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001779/0.2985, allocations: 1.732 MB / 0.5866 GB, free: 8.281 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003357/0.2988, allocations: 236 kB / 0.5868 GB, free: 8.051 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001071/0.2999, allocations: 0.7411 MB / 0.5875 GB, free: 7.309 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001239/0.3011, allocations: 1.581 MB / 0.589 GB, free: 5.723 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001545/0.3027, allocations: 1.859 MB / 0.5909 GB, free: 3.852 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005604/0.3083, allocations: 6.15 MB / 0.5969 GB, free: 13.68 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.877e-06/0.3083, allocations: 0 / 0.5969 GB, free: 13.68 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.3083, allocations: 0 / 0.5969 GB, free: 13.68 MB / 446.1 MB Notification: Performance of Transformations before backend: time 7.621e-05/0.3084, allocations: 0 / 0.5969 GB, free: 13.68 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.005413/0.3138, allocations: 4.1 MB / 0.6009 GB, free: 9.5 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.592e-05/0.3138, allocations: 11.97 kB / 0.6009 GB, free: 9.488 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000761/0.3146, allocations: 0.7125 MB / 0.6016 GB, free: 8.766 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00913/0.3237, allocations: 3.001 MB / 0.6045 GB, free: 5.758 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002949/0.3267, allocations: 1.82 MB / 0.6063 GB, free: 3.887 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001409/0.3268, allocations: 196.9 kB / 0.6065 GB, free: 3.691 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004807/0.3273, allocations: 243.8 kB / 0.6067 GB, free: 3.453 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01276/0.34, allocations: 10.04 MB / 0.6165 GB, free: 8.758 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.921e-05/0.3401, allocations: 31.69 kB / 0.6165 GB, free: 8.727 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003607/0.3405, allocations: 123.8 kB / 0.6167 GB, free: 8.605 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003429/0.3439, allocations: 2.314 MB / 0.6189 GB, free: 6.285 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01363/0.3575, allocations: 8.933 MB / 0.6276 GB, free: 13.34 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04082/0.3984, allocations: 37.6 MB / 0.6644 GB, free: 6.625 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005184/0.4035, allocations: 3.247 MB / 0.6675 GB, free: 3.105 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001507/0.405, allocations: 1.134 MB / 0.6686 GB, free: 1.949 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00727/0.4123, allocations: 5.192 MB / 0.6737 GB, free: 12.61 MB / 0.5138 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.502e-05/0.4124, allocations: 51.06 kB / 0.6738 GB, free: 12.55 MB / 0.5138 GB Notification: Performance of pre-optimization done (n=150): time 3.076e-06/0.4124, allocations: 0 / 0.6738 GB, free: 12.55 MB / 0.5138 GB Notification: Performance of matching and sorting (n=150): time 0.006393/0.4187, allocations: 3.34 MB / 0.677 GB, free: 9.207 MB / 0.5138 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.745e-05/0.4188, allocations: 166.8 kB / 0.6772 GB, free: 9.008 MB / 0.5138 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004496/0.4233, allocations: 3.841 MB / 0.6809 GB, free: 5.172 MB / 0.5138 GB Notification: Performance of collectPreVariables (initialization): time 8.414e-05/0.4234, allocations: 41.7 kB / 0.681 GB, free: 5.125 MB / 0.5138 GB Notification: Performance of collectInitialEqns (initialization): time 0.002167/0.4256, allocations: 3.317 MB / 0.6842 GB, free: 1.773 MB / 0.5138 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005229/0.4261, allocations: 0.6321 MB / 0.6848 GB, free: 1.137 MB / 0.5138 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001472/0.4276, allocations: 1.318 MB / 0.6861 GB, free: 15.81 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001129/0.4277, allocations: 305.1 kB / 0.6864 GB, free: 15.51 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0026/0.4303, allocations: 1.957 MB / 0.6883 GB, free: 13.55 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005544/0.4358, allocations: 6.104 MB / 0.6943 GB, free: 5.367 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009136/0.445, allocations: 8.787 MB / 0.7029 GB, free: 10.51 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.02e-05/0.445, allocations: 44 kB / 0.7029 GB, free: 10.47 MB / 0.545 GB Notification: Performance of matching and sorting (n=849) (initialization): time 0.01118/0.4562, allocations: 7.722 MB / 0.7104 GB, free: 2.738 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 8.298e-05/0.4563, allocations: 68 kB / 0.7105 GB, free: 2.672 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000147/0.4565, allocations: 148.9 kB / 0.7106 GB, free: 2.527 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001798/0.4566, allocations: 192 kB / 0.7108 GB, free: 2.34 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003837/0.4605, allocations: 1.462 MB / 0.7123 GB, free: 0.875 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002141/0.4607, allocations: 286.9 kB / 0.7125 GB, free: 0.5938 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003519/0.4642, allocations: 0.9308 MB / 0.7134 GB, free: 15.65 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004552/0.4647, allocations: 400.5 kB / 0.7138 GB, free: 15.26 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.00273/0.4674, allocations: 2.195 MB / 0.716 GB, free: 13.05 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004278/0.4678, allocations: 329.7 kB / 0.7163 GB, free: 12.73 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007306/0.4685, allocations: 407.1 kB / 0.7167 GB, free: 12.32 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.796e-05/0.4686, allocations: 43.97 kB / 0.7167 GB, free: 12.28 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.024e-05/0.4686, allocations: 3.938 kB / 0.7167 GB, free: 12.28 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.099e-05/0.4686, allocations: 7.984 kB / 0.7167 GB, free: 12.27 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007642/0.4763, allocations: 5.467 MB / 0.7221 GB, free: 6.672 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.055e-05/0.4763, allocations: 8 kB / 0.7221 GB, free: 6.664 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008494/0.4771, allocations: 211.7 kB / 0.7223 GB, free: 6.457 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.238e-05/0.4771, allocations: 11.94 kB / 0.7223 GB, free: 6.445 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.917e-05/0.4772, allocations: 28.59 kB / 0.7223 GB, free: 6.418 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.646e-05/0.4772, allocations: 15.94 kB / 0.7223 GB, free: 6.402 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.432e-06/0.4772, allocations: 11.94 kB / 0.7223 GB, free: 6.391 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002771/0.48, allocations: 2.549 MB / 0.7248 GB, free: 3.758 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004937/0.4805, allocations: 390.5 kB / 0.7252 GB, free: 3.355 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002562/0.4808, allocations: 35.97 kB / 0.7252 GB, free: 3.32 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008852/0.4816, allocations: 59.92 kB / 0.7253 GB, free: 3.262 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001576/0.4818, allocations: 80.28 kB / 0.7254 GB, free: 3.184 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.683e-05/0.4819, allocations: 48 kB / 0.7254 GB, free: 3.137 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.002912/0.4848, allocations: 2.33 MB / 0.7277 GB, free: 0.8203 MB / 0.5606 GB Notification: Performance of sort global known variables: time 9e-08/0.4848, allocations: 0 / 0.7277 GB, free: 0.8203 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.2045/0.6893, allocations: 1.078 MB / 0.7287 GB, free: 152.8 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.003449/0.6928, allocations: 3.176 MB / 0.7318 GB, free: 151.7 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.004893/0.6977, allocations: 4.253 MB / 0.736 GB, free: 150.3 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 4.228e-06/0.6977, allocations: 3.969 kB / 0.736 GB, free: 150.3 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0007684/0.6984, allocations: 0.8763 MB / 0.7369 GB, free: 150.1 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001564/0.7, allocations: 340.7 kB / 0.7372 GB, free: 149.9 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03222/0.7322, allocations: 41.81 MB / 0.778 GB, free: 109.8 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002351/0.7346, allocations: 3.158 MB / 0.7811 GB, free: 106.6 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.003431/0.738, allocations: 2.231 MB / 0.7833 GB, free: 104.4 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001462/0.7395, allocations: 1.671 MB / 0.7849 GB, free: 102.7 MB / 0.5606 GB Notification: Performance of SimCode: time 1.282e-06/0.7395, allocations: 0 / 0.7849 GB, free: 102.7 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06764/0.8071, allocations: 51.56 MB / 0.8353 GB, free: 51.38 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.77/16.58, allocations: 7.312 kB / 0.8353 GB, free: 51.37 MB / 0.5606 GB " [Timeout remaining time 643] (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: 19.10418935600319]