Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Parts.FixedRotation.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.001725/0.001725, allocations: 109 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.002072/0.002072, allocations: 213.9 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.464/1.464, 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.2286/0.2286, allocations: 46.94 MB / 361.6 MB, free: 4.172 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.Parts.FixedRotation,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_MultiBody_Parts_FixedRotation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Parts.FixedRotation,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_MultiBody_Parts_FixedRotation",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.002331/0.002331, allocations: 83.86 kB / 0.497 GB, free: 7.762 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2987/0.301, allocations: 66.09 MB / 0.5615 GB, free: 4.305 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.FixedRotation): time 0.01962/0.3206, allocations: 17 MB / 0.5781 GB, free: 3.223 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.009114/0.3297, allocations: 3.987 MB / 0.582 GB, free: 15.22 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002534/0.3323, allocations: 111.6 kB / 0.5821 GB, free: 15.11 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004753/0.337, allocations: 2.234 MB / 0.5843 GB, free: 12.87 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006337/0.3434, allocations: 2.604 MB / 0.5868 GB, free: 10.26 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009662/0.3443, allocations: 299.5 kB / 0.5871 GB, free: 9.965 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.009583/0.3539, allocations: 6.557 MB / 0.5935 GB, free: 3.398 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004825/0.3587, allocations: 3.074 MB / 0.5965 GB, free: 276 kB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003745/0.3625, allocations: 2.153 MB / 0.5986 GB, free: 14.11 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004583/0.3671, allocations: 3.102 MB / 0.6017 GB, free: 10.99 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001084/0.3681, allocations: 388 kB / 0.602 GB, free: 10.61 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001966/0.3701, allocations: 0.8386 MB / 0.6028 GB, free: 9.777 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003341/0.3735, allocations: 2.819 MB / 0.6056 GB, free: 6.949 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00464/0.3781, allocations: 3.314 MB / 0.6088 GB, free: 3.613 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01333/0.3914, allocations: 10.65 MB / 0.6192 GB, free: 8.91 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.223e-06/0.3914, allocations: 0 / 0.6192 GB, free: 8.91 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.084e-06/0.3914, allocations: 0 / 0.6192 GB, free: 8.91 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0003817/0.3918, allocations: 0 / 0.6192 GB, free: 8.91 MB / 462.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2817 * Number of variables: 2817 Notification: Performance of Generate backend data structure: time 0.0147/0.4065, allocations: 7.101 MB / 0.6262 GB, free: 1.734 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.202e-05/0.4066, allocations: 12.03 kB / 0.6262 GB, free: 1.723 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002647/0.4092, allocations: 1.268 MB / 0.6274 GB, free: 456 kB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01931/0.4285, allocations: 5.906 MB / 0.6332 GB, free: 10.52 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00792/0.4365, allocations: 3.233 MB / 0.6363 GB, free: 7.234 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003368/0.4368, allocations: 329.2 kB / 0.6367 GB, free: 6.91 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001882/0.4387, allocations: 411.7 kB / 0.6371 GB, free: 6.508 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03341/0.4721, allocations: 18.89 MB / 0.6555 GB, free: 2.867 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001195/0.4722, allocations: 35.62 kB / 0.6555 GB, free: 2.832 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001175/0.4734, allocations: 203.7 kB / 0.6557 GB, free: 2.633 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.008047/0.4814, allocations: 4.753 MB / 0.6604 GB, free: 13.88 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03585/0.5173, allocations: 17.52 MB / 0.6775 GB, free: 12.31 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3104/0.8276, allocations: 61.05 MB / 0.7371 GB, free: 133.8 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01234/0.84, allocations: 6.349 MB / 0.7433 GB, free: 133.6 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002961/0.8429, allocations: 2.39 MB / 0.7456 GB, free: 133.6 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01724/0.8602, allocations: 9.902 MB / 0.7553 GB, free: 131 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.44e-05/0.8602, allocations: 64.59 kB / 0.7554 GB, free: 131 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=321): time 7.043e-06/0.8602, allocations: 0 / 0.7554 GB, free: 131 MB / 0.5606 GB Notification: Performance of matching and sorting (n=321): time 0.01589/0.8761, allocations: 7.533 MB / 0.7627 GB, free: 129.1 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.439e-05/0.8761, allocations: 109.6 kB / 0.7628 GB, free: 129 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007291/0.8834, allocations: 5.678 MB / 0.7684 GB, free: 127.1 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0003789/0.8838, allocations: 64.2 kB / 0.7684 GB, free: 127.1 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.002499/0.8863, allocations: 5.288 MB / 0.7736 GB, free: 123.6 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.001188/0.8875, allocations: 1.252 MB / 0.7748 GB, free: 122.7 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002643/0.8901, allocations: 1.92 MB / 0.7767 GB, free: 121.5 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 4.259e-05/0.8902, allocations: 302.2 kB / 0.777 GB, free: 121.2 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004197/0.8944, allocations: 3.215 MB / 0.7801 GB, free: 118 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006129/0.9005, allocations: 8.648 MB / 0.7886 GB, free: 106.8 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00999/0.9105, allocations: 12.91 MB / 0.8012 GB, free: 91.36 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001396/0.9106, allocations: 57.69 kB / 0.8012 GB, free: 91.3 MB / 0.5606 GB Notification: Performance of matching and sorting (n=1266) (initialization): time 0.0166/0.9272, allocations: 11.67 MB / 0.8126 GB, free: 79.62 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001105/0.9273, allocations: 88 kB / 0.8127 GB, free: 79.54 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001858/0.9275, allocations: 191.9 kB / 0.8129 GB, free: 79.35 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001763/0.9277, allocations: 256 kB / 0.8131 GB, free: 79.1 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006021/0.9337, allocations: 2.07 MB / 0.8152 GB, free: 77.03 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002221/0.9339, allocations: 375.5 kB / 0.8155 GB, free: 76.66 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005892/0.9398, allocations: 1.368 MB / 0.8169 GB, free: 75.29 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00113/0.941, allocations: 0.5579 MB / 0.8174 GB, free: 74.73 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 868 * Number of states: 0 () * Number of discrete variables: 33 (frameT4.color_x[3],frameT4.color_x[2],frameT4.color_x[1],fixedRotation2.color[3],fixedRotation2.color[2],fixedRotation2.color[1],frameT3.color_x[3],frameT3.color_x[2],frameT3.color_x[1],fixedRotation1.color[3],fixedRotation1.color[2],fixedRotation1.color[1],fixedRotation.color[3],fixedRotation.color[2],fixedRotation.color[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],frameT2.color_x[3],frameT2.color_x[2],frameT2.color_x[1],frameT1.color_x[3],frameT1.color_x[2],frameT1.color_x[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1140): * Single equations (assignments): 1122 * Array equations: 18 * 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.004922/0.9459, allocations: 3.695 MB / 0.821 GB, free: 71.02 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006236/0.9465, allocations: 0.5043 MB / 0.8215 GB, free: 70.52 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001074/0.9476, allocations: 0.6488 MB / 0.8221 GB, free: 69.86 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.557e-05/0.9477, allocations: 59.44 kB / 0.8222 GB, free: 69.8 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.753e-05/0.9477, allocations: 0 / 0.8222 GB, free: 69.8 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.526e-05/0.9477, allocations: 11.95 kB / 0.8222 GB, free: 69.79 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01764/0.9653, allocations: 12.61 MB / 0.8345 GB, free: 56.96 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.587e-05/0.9653, allocations: 16 kB / 0.8345 GB, free: 56.95 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001626/0.967, allocations: 419.3 kB / 0.8349 GB, free: 56.54 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.833e-05/0.967, allocations: 20.78 kB / 0.835 GB, free: 56.52 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000169/0.9672, allocations: 67.5 kB / 0.835 GB, free: 56.46 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.684e-05/0.9672, allocations: 35.86 kB / 0.8351 GB, free: 56.42 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.616e-06/0.9672, allocations: 23.77 kB / 0.8351 GB, free: 56.4 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004411/0.9716, allocations: 4.663 MB / 0.8396 GB, free: 51.51 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008745/0.9725, allocations: 0.5153 MB / 0.8401 GB, free: 50.99 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006941/0.9732, allocations: 55.2 kB / 0.8402 GB, free: 50.94 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001587/0.9747, allocations: 127.8 kB / 0.8403 GB, free: 50.81 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000341/0.9751, allocations: 180.7 kB / 0.8405 GB, free: 50.64 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001752/0.9753, allocations: 99.42 kB / 0.8406 GB, free: 50.54 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.004392/0.9797, allocations: 3.489 MB / 0.844 GB, free: 47.07 MB / 0.5606 GB Notification: Performance of sort global known variables: time 6e-08/0.9797, allocations: 0 / 0.844 GB, free: 47.07 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.006559/0.9862, allocations: 1.978 MB / 0.8459 GB, free: 45.1 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 61 * 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 (225): * Single equations (assignments): 213 * Array equations: 12 * 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.005425/0.9916, allocations: 5.331 MB / 0.8511 GB, free: 39.53 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.009443/1.001, allocations: 7.009 MB / 0.858 GB, free: 32.55 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.425e-05/1.001, allocations: 4.062 kB / 0.858 GB, free: 32.55 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.002274/1.003, allocations: 1.869 MB / 0.8598 GB, free: 30.68 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003547/1.007, allocations: 0.6359 MB / 0.8604 GB, free: 30.06 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1042/1.111, allocations: 68.34 MB / 0.9272 GB, free: 1.016 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0088/1.12, allocations: 5.415 MB / 0.9324 GB, free: 11.56 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.00854/1.128, allocations: 3.543 MB / 0.9359 GB, free: 8.012 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006035/1.135, allocations: 3.319 MB / 0.9391 GB, free: 4.691 MB / 0.6231 GB Notification: Performance of SimCode: time 1.082e-06/1.135, allocations: 0 / 0.9391 GB, free: 4.691 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3799/1.514, allocations: 95.29 MB / 1.032 GB, free: 217.8 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 24.3/25.82, allocations: 12.05 kB / 1.032 GB, free: 217.8 MB / 0.67 GB " [Timeout remaining time 634] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Parts.FixedRotation.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Parts.FixedRotation.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Parts.FixedRotation.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Parts.FixedRotation.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Parts.FixedRotation_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_Parts_FixedRotation.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Parts.FixedRotation.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 28.764150623232126] Failed to read output from testmodel.py, exit status != 0: ['time', 'fixedRotation.frame_b.r_0[1]', 'fixedRotation.frame_b.r_0[2]', 'fixedRotation.frame_b.r_0[3]', 'fixedRotation.frame_b.f[1]', 'fixedRotation.frame_b.f[2]', 'fixedRotation.frame_b.f[3]', 'fixedRotation.frame_b.t[1]', 'fixedRotation.frame_b.t[2]', 'fixedRotation.frame_b.t[3]', 'fixedRotation1.frame_b.r_0[1]', 'fixedRotation1.frame_b.r_0[2]', 'fixedRotation1.frame_b.r_0[3]', 'fixedRotation1.frame_b.f[1]', 'fixedRotation1.frame_b.f[2]', 'fixedRotation1.frame_b.f[3]', 'fixedRotation1.frame_b.t[1]', 'fixedRotation1.frame_b.t[2]', 'fixedRotation1.frame_b.t[3]', 'fixedRotation2.frame_b.r_0[1]', 'fixedRotation2.frame_b.r_0[2]', 'fixedRotation2.frame_b.r_0[3]', 'fixedRotation2.frame_b.f[1]', 'fixedRotation2.frame_b.f[2]', 'fixedRotation2.frame_b.f[3]', 'fixedRotation2.frame_b.t[1]', 'fixedRotation2.frame_b.t[2]', 'fixedRotation2.frame_b.t[3]'] 25.953689724206924 25.968495048 25.574518197 Calling exit ...