Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Forces.Torque.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.001449/0.001449, allocations: 105 kB / 19.74 MB, free: 2.566 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.001577/0.001577, allocations: 217.7 kB / 22.92 MB, free: 5.535 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.296/1.296, allocations: 230.2 MB / 256.1 MB, free: 8.758 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.1973/0.1973, allocations: 46.89 MB / 359.3 MB, free: 4.969 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.Torque,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_MultiBody_Forces_Torque",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.Torque,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_MultiBody_Forces_Torque",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.002095/0.002095, allocations: 83.86 kB / 0.494 GB, free: 9.082 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2582/0.2603, allocations: 65.99 MB / 0.5584 GB, free: 5.164 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Torque): time 0.01605/0.2764, allocations: 15.6 MB / 0.5737 GB, free: 5.496 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.009109/0.2855, allocations: 4.98 MB / 0.5785 GB, free: 0.4961 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001215/0.2867, allocations: 103.7 kB / 0.5786 GB, free: 404 kB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008025/0.2947, allocations: 5.066 MB / 0.5836 GB, free: 11.31 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004904/0.2996, allocations: 2.548 MB / 0.5861 GB, free: 8.754 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001906/0.3015, allocations: 1.084 MB / 0.5871 GB, free: 7.668 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.00774/0.3093, allocations: 6.848 MB / 0.5938 GB, free: 0.8086 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004455/0.3137, allocations: 4.15 MB / 0.5979 GB, free: 12.58 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002909/0.3166, allocations: 2.395 MB / 0.6002 GB, free: 10.18 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003983/0.3206, allocations: 3.442 MB / 0.6036 GB, free: 6.727 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007932/0.3214, allocations: 0.5 MB / 0.6041 GB, free: 6.227 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002273/0.3237, allocations: 1.432 MB / 0.6055 GB, free: 4.793 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002641/0.3263, allocations: 3.073 MB / 0.6085 GB, free: 1.711 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003098/0.3294, allocations: 3.395 MB / 0.6118 GB, free: 14.29 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0103/0.3397, allocations: 10.51 MB / 0.622 GB, free: 3.746 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.547e-06/0.3397, allocations: 0 / 0.622 GB, free: 3.746 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.3397, allocations: 4 kB / 0.622 GB, free: 3.742 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0001396/0.3399, allocations: 0 / 0.622 GB, free: 3.742 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: 2161 * Number of variables: 2161 Notification: Performance of Generate backend data structure: time 0.01427/0.3541, allocations: 7.772 MB / 0.6296 GB, free: 11.88 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.735e-05/0.3542, allocations: 11.97 kB / 0.6296 GB, free: 11.86 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001266/0.3554, allocations: 1.021 MB / 0.6306 GB, free: 10.83 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03605/0.3915, allocations: 6.233 MB / 0.6367 GB, free: 4.586 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008973/0.4004, allocations: 4.681 MB / 0.6413 GB, free: 15.82 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002542/0.4007, allocations: 357.3 kB / 0.6416 GB, free: 15.47 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008869/0.4016, allocations: 479.7 kB / 0.6421 GB, free: 15 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02105/0.4226, allocations: 14.14 MB / 0.6559 GB, free: 15.85 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001452/0.4228, allocations: 63.47 kB / 0.656 GB, free: 15.79 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005296/0.4233, allocations: 227.8 kB / 0.6562 GB, free: 15.56 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004373/0.4277, allocations: 2.703 MB / 0.6588 GB, free: 12.86 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01991/0.4476, allocations: 11.79 MB / 0.6703 GB, free: 1.035 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06103/0.5086, allocations: 56.92 MB / 0.7259 GB, free: 6.656 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01418/0.5228, allocations: 5.925 MB / 0.7317 GB, free: 0.5703 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.2037/0.7265, allocations: 3.283 MB / 0.7349 GB, free: 153.2 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.009185/0.7357, allocations: 8.315 MB / 0.743 GB, free: 149.6 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.83e-05/0.7357, allocations: 59.91 kB / 0.7431 GB, free: 149.5 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=236): time 5.27e-06/0.7357, allocations: 0 / 0.7431 GB, free: 149.5 MB / 0.5606 GB Notification: Performance of matching and sorting (n=278): time 0.05679/0.7925, allocations: 29.16 MB / 0.7716 GB, free: 129 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.544e-05/0.7926, allocations: 239.5 kB / 0.7718 GB, free: 128.8 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00725/0.7998, allocations: 6.711 MB / 0.7783 GB, free: 122.2 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0005389/0.8004, allocations: 72.48 kB / 0.7784 GB, free: 122.1 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.001871/0.8022, allocations: 4.631 MB / 0.7829 GB, free: 117.8 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008185/0.8031, allocations: 1.107 MB / 0.784 GB, free: 116.7 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001561/0.8046, allocations: 1.729 MB / 0.7857 GB, free: 114.9 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 4.366e-05/0.8047, allocations: 305.1 kB / 0.786 GB, free: 114.6 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003379/0.808, allocations: 3.358 MB / 0.7893 GB, free: 111.3 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00477/0.8128, allocations: 8.402 MB / 0.7975 GB, free: 100.4 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009138/0.822, allocations: 12.75 MB / 0.8099 GB, free: 85.21 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.094e-05/0.822, allocations: 49.19 kB / 0.81 GB, free: 85.17 MB / 0.5606 GB Notification: Performance of matching and sorting (n=1102) (initialization): time 0.01606/0.8381, allocations: 13.02 MB / 0.8227 GB, free: 72.13 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 6.934e-05/0.8382, allocations: 87.94 kB / 0.8228 GB, free: 72.05 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001028/0.8383, allocations: 176 kB / 0.8229 GB, free: 71.88 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00344/0.8417, allocations: 1.782 MB / 0.8247 GB, free: 70.09 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005137/0.8468, allocations: 1.946 MB / 0.8266 GB, free: 68.14 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01124/0.8581, allocations: 12.87 MB / 0.8391 GB, free: 55 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005581/0.8637, allocations: 491.4 kB / 0.8396 GB, free: 54.52 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005782/0.8642, allocations: 0.5078 MB / 0.8401 GB, free: 54.01 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 808 * Number of states: 0 () * Number of discrete variables: 67 (torque2.torqueArrow.twoHeadedArrow,torque2.torqueArrow.headAtOrigin,torque1.torqueArrow.twoHeadedArrow,torque1.torqueArrow.headAtOrigin,fixed4.color[3],fixed4.color[2],fixed4.color[1],fixed2.color[3],fixed2.color[2],fixed2.color[1],Revolute4.cylinderColor[3],Revolute4.cylinderColor[2],Revolute4.cylinderColor[1],Revolute3.cylinderColor[3],Revolute3.cylinderColor[2],Revolute3.cylinderColor[1],Revolute2.cylinderColor[3],Revolute2.cylinderColor[2],Revolute2.cylinderColor[1],torque2.connectionLineColor[3],torque2.connectionLineColor[2],torque2.connectionLineColor[1],torque2.torqueColor[3],torque2.torqueColor[2],torque2.torqueColor[1],torque1.connectionLineColor[3],torque1.connectionLineColor[2],torque1.connectionLineColor[1],torque1.torqueColor[3],torque1.torqueColor[2],torque1.torqueColor[1],fixedRotation.color[3],fixedRotation.color[2],fixedRotation.color[1],fixed3.color[3],fixed3.color[2],fixed3.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 (1020): * Single equations (assignments): 1013 * 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 {(2,23,100.0%), (2,23,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002958/0.8672, allocations: 2.987 MB / 0.843 GB, free: 51.01 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007169/0.8679, allocations: 0.5898 MB / 0.8436 GB, free: 50.42 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008284/0.8762, allocations: 6.319 MB / 0.8498 GB, free: 44.08 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.224e-05/0.8762, allocations: 28 kB / 0.8498 GB, free: 44.05 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.111e-05/0.8762, allocations: 8 kB / 0.8498 GB, free: 44.04 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.886e-05/0.8762, allocations: 19.95 kB / 0.8498 GB, free: 44.02 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01613/0.8924, allocations: 13.95 MB / 0.8634 GB, free: 30.01 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.727e-05/0.8924, allocations: 8 kB / 0.8635 GB, free: 30 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00196/0.8944, allocations: 455.3 kB / 0.8639 GB, free: 29.55 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003233/0.8976, allocations: 1.535 MB / 0.8654 GB, free: 28.02 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002032/0.8978, allocations: 59.98 kB / 0.8654 GB, free: 27.96 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01128/0.9091, allocations: 12.19 MB / 0.8773 GB, free: 15.5 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.528e-06/0.9091, allocations: 15.94 kB / 0.8774 GB, free: 15.49 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01138/0.9205, allocations: 10.33 MB / 0.8874 GB, free: 5.02 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001061/0.9215, allocations: 0.6532 MB / 0.8881 GB, free: 4.344 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005494/0.9221, allocations: 55.94 kB / 0.8881 GB, free: 4.289 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002/0.9241, allocations: 175.8 kB / 0.8883 GB, free: 4.117 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004073/0.9245, allocations: 173.6 kB / 0.8885 GB, free: 3.945 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001635/0.9246, allocations: 75.98 kB / 0.8885 GB, free: 3.871 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.004464/0.9291, allocations: 4.302 MB / 0.8927 GB, free: 15.58 MB / 0.5762 GB Notification: Performance of sort global known variables: time 9.1e-08/0.9291, allocations: 4 kB / 0.8927 GB, free: 15.58 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.00575/0.9348, allocations: 1.515 MB / 0.8942 GB, free: 14.06 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 20 * Number of states: 8 (Revolute1.phi,Revolute1.w,Revolute3.phi,Revolute3.w,Revolute2.phi,Revolute2.w,Revolute4.phi,Revolute4.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 (220): * Single equations (assignments): 215 * 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 {(4,18,75.0%), (4,18,75.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.01506/0.9499, allocations: 11.01 MB / 0.905 GB, free: 2.902 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0115/0.9614, allocations: 7.95 MB / 0.9127 GB, free: 10.96 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 7.103e-06/0.9614, allocations: 4 kB / 0.9127 GB, free: 10.95 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.004963/0.9664, allocations: 3.024 MB / 0.9157 GB, free: 7.906 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00363/0.97, allocations: 0.7491 MB / 0.9164 GB, free: 7.16 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3038/1.274, allocations: 75.79 MB / 0.9904 GB, free: 227.2 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004013/1.278, allocations: 4.532 MB / 0.9949 GB, free: 225.6 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.004698/1.282, allocations: 2.771 MB / 0.9976 GB, free: 225.5 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002952/1.285, allocations: 2.939 MB / 1 GB, free: 223.2 MB / 0.6544 GB Notification: Performance of SimCode: time 1.132e-06/1.285, allocations: 0 / 1 GB, free: 223.2 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1398/1.425, allocations: 114.6 MB / 1.112 GB, free: 111.5 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 20.8/22.23, allocations: 6.75 kB / 1.112 GB, free: 111.5 MB / 0.6544 GB " [Timeout remaining time 638] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Forces.Torque.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Forces.Torque.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Forces.Torque.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Forces.Torque.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Forces.Torque_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_Torque.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Forces.Torque.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 24.852257759004715]