Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Forces.FrameTorques.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.001774/0.001774, allocations: 116.8 kB / 18.5 MB, free: 4.539 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.00236/0.00236, allocations: 212.9 kB / 21.46 MB, free: 1.59 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.492/1.492, allocations: 230.4 MB / 254.7 MB, free: 15.02 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.2344/0.2344, allocations: 46.93 MB / 357.7 MB, free: 10.17 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.Forces.FrameTorques,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_MultiBody_Forces_FrameTorques",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.FrameTorques,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_MultiBody_Forces_FrameTorques",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.002458/0.002458, allocations: 79.86 kB / 0.4917 GB, free: 7.691 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1261/0.1286, allocations: 66.05 MB / 0.5562 GB, free: 5.516 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.FrameTorques): time 0.01557/0.1441, allocations: 12.73 MB / 0.5686 GB, free: 8.723 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.009681/0.1538, allocations: 4.52 MB / 0.573 GB, free: 4.184 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002138/0.156, allocations: 107.4 kB / 0.5731 GB, free: 4.078 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007309/0.1633, allocations: 3.754 MB / 0.5768 GB, free: 320 kB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00611/0.1694, allocations: 2.233 MB / 0.579 GB, free: 14.07 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002728/0.1721, allocations: 0.9982 MB / 0.5799 GB, free: 13.07 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.009611/0.1817, allocations: 6.05 MB / 0.5859 GB, free: 7.008 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005654/0.1874, allocations: 3.804 MB / 0.5896 GB, free: 3.133 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003932/0.1913, allocations: 1.99 MB / 0.5915 GB, free: 1.137 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.27/0.4614, allocations: 2.816 MB / 0.5943 GB, free: 9.957 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001437/0.4628, allocations: 411.4 kB / 0.5947 GB, free: 9.957 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00328/0.4661, allocations: 1.48 MB / 0.5961 GB, free: 9.957 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003578/0.4696, allocations: 2.508 MB / 0.5985 GB, free: 9.957 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006217/0.4759, allocations: 2.77 MB / 0.6013 GB, free: 9.031 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01907/0.4949, allocations: 8.793 MB / 0.6098 GB, free: 7.699 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.363e-05/0.4949, allocations: 2.953 kB / 0.6098 GB, free: 7.699 MB / 446.1 MB Notification: Performance of FrontEnd: time 3.457e-06/0.495, allocations: 1.219 kB / 0.6098 GB, free: 7.699 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0006217/0.4956, allocations: 0 / 0.6098 GB, free: 7.699 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: 1729 * Number of variables: 1729 Notification: Performance of Generate backend data structure: time 0.02455/0.5201, allocations: 6.352 MB / 0.616 GB, free: 4.852 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.501e-05/0.5202, allocations: 9.062 kB / 0.6161 GB, free: 4.852 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003856/0.524, allocations: 0.8266 MB / 0.6169 GB, free: 4.477 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03971/0.5637, allocations: 6.056 MB / 0.6228 GB, free: 2.375 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01075/0.5745, allocations: 4.162 MB / 0.6268 GB, free: 40 kB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004231/0.5749, allocations: 293.9 kB / 0.6271 GB, free: 15.99 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002108/0.577, allocations: 373.8 kB / 0.6275 GB, free: 15.89 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02823/0.6053, allocations: 11.47 MB / 0.6387 GB, free: 8.914 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002724/0.6055, allocations: 62.88 kB / 0.6387 GB, free: 8.898 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001018/0.6065, allocations: 178.8 kB / 0.6389 GB, free: 8.816 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004134/0.6107, allocations: 2.145 MB / 0.641 GB, free: 6.754 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02217/0.6329, allocations: 9.369 MB / 0.6502 GB, free: 13.6 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06695/0.6998, allocations: 45.36 MB / 0.6945 GB, free: 15.62 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0107/0.7105, allocations: 3.667 MB / 0.698 GB, free: 11.81 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002916/0.7134, allocations: 1.858 MB / 0.6999 GB, free: 9.941 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01073/0.7241, allocations: 5.649 MB / 0.7054 GB, free: 4.246 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.104e-05/0.7242, allocations: 56.91 kB / 0.7054 GB, free: 4.184 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=150): time 4.338e-06/0.7242, allocations: 0 / 0.7054 GB, free: 4.184 MB / 0.5137 GB Notification: Performance of matching and sorting (n=162): time 0.04888/0.7731, allocations: 15.92 MB / 0.721 GB, free: 4.137 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001565/0.7732, allocations: 226.1 kB / 0.7212 GB, free: 3.867 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01252/0.7858, allocations: 5.648 MB / 0.7267 GB, free: 14.24 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.0004302/0.7862, allocations: 48.59 kB / 0.7267 GB, free: 14.19 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.004304/0.7905, allocations: 3.898 MB / 0.7306 GB, free: 10.3 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.001104/0.7916, allocations: 0.6845 MB / 0.7312 GB, free: 9.629 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00281/0.7944, allocations: 1.351 MB / 0.7325 GB, free: 8.273 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001434/0.7945, allocations: 305.1 kB / 0.7328 GB, free: 7.973 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00373/0.7983, allocations: 2.066 MB / 0.7349 GB, free: 5.902 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007973/0.8062, allocations: 6.316 MB / 0.741 GB, free: 13.54 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01167/0.8179, allocations: 9.131 MB / 0.7499 GB, free: 2.914 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001293/0.8181, allocations: 48 kB / 0.75 GB, free: 2.867 MB / 0.5606 GB Notification: Performance of matching and sorting (n=860) (initialization): time 0.01915/0.8372, allocations: 8.619 MB / 0.7584 GB, free: 10.28 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001455/0.8374, allocations: 68 kB / 0.7585 GB, free: 10.21 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002257/0.8376, allocations: 155.9 kB / 0.7586 GB, free: 10.06 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002185/0.8398, allocations: 0.7178 MB / 0.7593 GB, free: 9.336 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005416/0.8452, allocations: 1.497 MB / 0.7608 GB, free: 7.836 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009335/0.8545, allocations: 6.972 MB / 0.7676 GB, free: 0.5977 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005413/0.8599, allocations: 346.1 kB / 0.7679 GB, free: 268 kB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00128/0.8612, allocations: 412.2 kB / 0.7683 GB, free: 15.86 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 686 * Number of states: 0 () * Number of discrete variables: 49 (frameTorque2.arrow.twoHeadedArrow,frameTorque2.arrow.headAtOrigin,frameTorque1.arrow.twoHeadedArrow,frameTorque1.arrow.headAtOrigin,Revolute2.cylinderColor[3],Revolute2.cylinderColor[2],Revolute2.cylinderColor[1],frameTorque2.color[3],frameTorque2.color[2],frameTorque2.color[1],frameTorque1.color[3],frameTorque1.color[2],frameTorque1.color[1],FixedRotation1.color[3],FixedRotation1.color[2],FixedRotation1.color[1],fixed2.color[3],fixed2.color[2],fixed2.color[1],body2.color[3],body2.color[2],body2.color[1],body2.body.sphereColor[3],body2.body.sphereColor[2],body2.body.sphereColor[1],fixed1.color[3],fixed1.color[2],fixed1.color[1],body1.color[3],body1.color[2],body1.color[1],body1.body.sphereColor[3],body1.body.sphereColor[2],body1.body.sphereColor[1],Revolute1.cylinderColor[3],Revolute1.cylinderColor[2],Revolute1.cylinderColor[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 (798): * Single equations (assignments): 791 * Array equations: 5 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,14,100.0%), (1,14,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.005746/0.867, allocations: 2.463 MB / 0.7707 GB, free: 13.39 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0011/0.8681, allocations: 488.7 kB / 0.7712 GB, free: 12.91 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00562/0.8737, allocations: 2.647 MB / 0.7738 GB, free: 10.24 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.674e-05/0.8737, allocations: 19.94 kB / 0.7738 GB, free: 10.22 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.236e-05/0.8737, allocations: 8 kB / 0.7738 GB, free: 10.21 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.743e-05/0.8737, allocations: 3.984 kB / 0.7738 GB, free: 10.21 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01674/0.8905, allocations: 7.454 MB / 0.7811 GB, free: 2.699 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.867e-05/0.8905, allocations: 7.984 kB / 0.7811 GB, free: 2.691 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00132/0.8918, allocations: 251.6 kB / 0.7813 GB, free: 2.445 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001549/0.8934, allocations: 0.4987 MB / 0.7818 GB, free: 1.941 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001887/0.8936, allocations: 28 kB / 0.7818 GB, free: 1.914 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007988/0.9015, allocations: 6.301 MB / 0.788 GB, free: 11.34 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.063e-06/0.9016, allocations: 8.047 kB / 0.788 GB, free: 11.34 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008227/0.9098, allocations: 4.952 MB / 0.7928 GB, free: 6.328 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001674/0.9115, allocations: 0.5407 MB / 0.7934 GB, free: 5.766 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006187/0.9121, allocations: 31.94 kB / 0.7934 GB, free: 5.734 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001531/0.9136, allocations: 75.91 kB / 0.7935 GB, free: 5.66 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002809/0.9139, allocations: 96.81 kB / 0.7936 GB, free: 5.566 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001307/0.914, allocations: 43.44 kB / 0.7936 GB, free: 5.527 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.007397/0.9214, allocations: 3.621 MB / 0.7971 GB, free: 1.93 MB / 0.6075 GB Notification: Performance of sort global known variables: time 2.3e-07/0.9214, allocations: 0 / 0.7971 GB, free: 1.93 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.007253/0.9287, allocations: 1.094 MB / 0.7982 GB, free: 0.8359 MB / 0.6075 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 4 (Revolute1.phi,Revolute1.w,Revolute2.phi,Revolute2.w) * 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 (120): * Single equations (assignments): 115 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,11,100.0%), (1,11,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.008614/0.9373, allocations: 5.592 MB / 0.8037 GB, free: 11.18 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.009334/0.9466, allocations: 4.985 MB / 0.8085 GB, free: 6.203 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 8.416e-06/0.9466, allocations: 0 / 0.8085 GB, free: 6.203 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.002356/0.949, allocations: 1.409 MB / 0.8099 GB, free: 4.773 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004108/0.9531, allocations: 0.6373 MB / 0.8105 GB, free: 4.145 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3479/1.301, allocations: 53.96 MB / 0.8632 GB, free: 221.3 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008116/1.309, allocations: 3.765 MB / 0.8669 GB, free: 220 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.005902/1.315, allocations: 2.123 MB / 0.869 GB, free: 219.8 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004246/1.319, allocations: 2.307 MB / 0.8712 GB, free: 217.9 MB / 0.6544 GB Notification: Performance of SimCode: time 1.543e-06/1.319, allocations: 3.938 kB / 0.8712 GB, free: 217.9 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1384/1.458, allocations: 84.73 MB / 0.954 GB, free: 144.8 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 30.37/31.83, allocations: 10.48 kB / 0.954 GB, free: 144.8 MB / 0.6544 GB " [Timeout remaining time 628] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Forces.FrameTorques.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Forces.FrameTorques.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Forces.FrameTorques.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Forces.FrameTorques.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Forces.FrameTorques_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_Forces_FrameTorques.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Forces.FrameTorques.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 35.01108971377835] Failed to read output from testmodel.py, exit status != 0: ['time', 'Revolute1.phi', 'Revolute1.w', 'Revolute2.phi', 'Revolute2.w'] 31.968948545865715 31.98503002 31.486065582 Calling exit ...