Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.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.00141/0.00141, allocations: 106.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.001616/0.001616, allocations: 219.1 kB / 22.92 MB, free: 5.195 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.315/1.315, allocations: 230.2 MB / 256.1 MB, free: 8.637 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.1998/0.1998, allocations: 46.9 MB / 359.3 MB, free: 4.996 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.Rotor1D.Rotor1D_3,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_MultiBody_Parts_Rotor1D_Rotor1D_3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_MultiBody_Parts_Rotor1D_Rotor1D_3",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.00214/0.00214, allocations: 79.86 kB / 0.494 GB, free: 9.141 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2541/0.2563, allocations: 65.99 MB / 0.5584 GB, free: 5.266 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3): time 0.01392/0.2702, allocations: 13.11 MB / 0.5712 GB, free: 8.094 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.008311/0.2785, allocations: 4.334 MB / 0.5755 GB, free: 3.742 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00176/0.2803, allocations: 87.75 kB / 0.5755 GB, free: 3.656 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006785/0.2871, allocations: 3.75 MB / 0.5792 GB, free: 15.89 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005047/0.2921, allocations: 2.03 MB / 0.5812 GB, free: 13.86 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002028/0.2941, allocations: 0.8226 MB / 0.582 GB, free: 13.04 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.005745/0.2999, allocations: 4.221 MB / 0.5861 GB, free: 8.801 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00446/0.3043, allocations: 3.466 MB / 0.5895 GB, free: 5.262 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002646/0.307, allocations: 1.85 MB / 0.5913 GB, free: 3.406 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003496/0.3105, allocations: 2.64 MB / 0.5939 GB, free: 0.7578 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009744/0.3115, allocations: 416 kB / 0.5943 GB, free: 360 kB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002299/0.3138, allocations: 1.163 MB / 0.5954 GB, free: 15.19 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002111/0.3159, allocations: 2.263 MB / 0.5976 GB, free: 12.92 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002547/0.3184, allocations: 2.598 MB / 0.6002 GB, free: 10.3 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008382/0.3268, allocations: 8.124 MB / 0.6081 GB, free: 2.148 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.439e-06/0.3268, allocations: 0 / 0.6081 GB, free: 2.148 MB / 446.1 MB Notification: Performance of FrontEnd: time 3.216e-06/0.3268, allocations: 7.984 kB / 0.6081 GB, free: 2.141 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0001742/0.327, allocations: 0 / 0.6081 GB, free: 2.141 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: 1736 * Number of variables: 1736 Notification: Performance of Generate backend data structure: time 0.0188/0.3458, allocations: 6.351 MB / 0.6143 GB, free: 11.71 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.147e-05/0.3458, allocations: 12.03 kB / 0.6143 GB, free: 11.7 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001127/0.3469, allocations: 0.8384 MB / 0.6151 GB, free: 10.85 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006698/0.3536, allocations: 2.002 MB / 0.6171 GB, free: 8.84 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004932/0.3586, allocations: 2.93 MB / 0.6199 GB, free: 5.852 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002029/0.3588, allocations: 287.5 kB / 0.6202 GB, free: 5.57 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006938/0.3595, allocations: 391.8 kB / 0.6206 GB, free: 5.188 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01975/0.3792, allocations: 12.21 MB / 0.6325 GB, free: 8.266 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001195/0.3793, allocations: 47.59 kB / 0.6326 GB, free: 8.219 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000494/0.3798, allocations: 183.8 kB / 0.6327 GB, free: 8.039 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003907/0.3837, allocations: 2.194 MB / 0.6349 GB, free: 5.844 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02095/0.4047, allocations: 11.21 MB / 0.6458 GB, free: 10.62 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05692/0.4616, allocations: 45.96 MB / 0.6907 GB, free: 11.55 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01779/0.4794, allocations: 5.313 MB / 0.6959 GB, free: 6.086 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004143/0.4835, allocations: 3.159 MB / 0.699 GB, free: 2.918 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001005/0.4845, allocations: 0.6987 MB / 0.6997 GB, free: 2.105 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.495e-05/0.4846, allocations: 59.8 kB / 0.6997 GB, free: 2.039 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=203): time 4.699e-06/0.4846, allocations: 0 / 0.6997 GB, free: 2.039 MB / 0.5294 GB Notification: Performance of matching and sorting (n=234): time 0.071/0.5556, allocations: 27.56 MB / 0.7266 GB, free: 6.363 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.243e-05/0.5557, allocations: 150.5 kB / 0.7268 GB, free: 6.184 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005684/0.5614, allocations: 4.412 MB / 0.7311 GB, free: 1.75 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0004164/0.5618, allocations: 65.7 kB / 0.7311 GB, free: 1.68 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.1996/0.7614, allocations: 3.51 MB / 0.7346 GB, free: 155.6 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.001244/0.7626, allocations: 0.9208 MB / 0.7355 GB, free: 155.2 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002489/0.7651, allocations: 1.418 MB / 0.7369 GB, free: 154.9 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 3.612e-05/0.7652, allocations: 310.8 kB / 0.7372 GB, free: 154.6 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003504/0.7687, allocations: 3.272 MB / 0.7404 GB, free: 153.6 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004405/0.7731, allocations: 7.078 MB / 0.7473 GB, free: 147.4 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008524/0.7816, allocations: 11.13 MB / 0.7581 GB, free: 139.3 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.119e-05/0.7817, allocations: 38.44 kB / 0.7582 GB, free: 139.3 MB / 0.5606 GB Notification: Performance of matching and sorting (n=851) (initialization): time 0.01342/0.7951, allocations: 11.29 MB / 0.7692 GB, free: 130.1 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 5.839e-05/0.7951, allocations: 70.36 kB / 0.7693 GB, free: 130.1 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.17e-05/0.7952, allocations: 132 kB / 0.7694 GB, free: 129.9 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002223/0.7974, allocations: 1.121 MB / 0.7705 GB, free: 128.9 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004701/0.8022, allocations: 1.684 MB / 0.7721 GB, free: 127.3 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005661/0.8078, allocations: 6.341 MB / 0.7783 GB, free: 120.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004336/0.8121, allocations: 403.4 kB / 0.7787 GB, free: 120.4 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005711/0.8127, allocations: 439.8 kB / 0.7791 GB, free: 120 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 610 * Number of states: 0 () * Number of discrete variables: 44 (torque.torqueArrow.twoHeadedArrow,torque.torqueArrow.headAtOrigin,fixed.color[3],fixed.color[2],fixed.color[1],r2.cylinderColor[3],r2.cylinderColor[2],r2.cylinderColor[1],r1.cylinderColor[3],r1.cylinderColor[2],r1.cylinderColor[1],rotor1D.cylinderColor[3],rotor1D.cylinderColor[2],rotor1D.cylinderColor[1],torque.connectionLineColor[3],torque.connectionLineColor[2],torque.connectionLineColor[1],torque.torqueColor[3],torque.torqueColor[2],torque.torqueColor[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],revolute.cylinderColor[3],revolute.cylinderColor[2],revolute.cylinderColor[1],bodyCylinder.color[3],bodyCylinder.color[2],bodyCylinder.color[1],bodyCylinder.body.sphereColor[3],bodyCylinder.body.sphereColor[2],bodyCylinder.body.sphereColor[1],bodyCylinder.frameTranslation.color[3],bodyCylinder.frameTranslation.color[2],bodyCylinder.frameTranslation.color[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (812): * Single equations (assignments): 808 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(3,13,77.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002473/0.8152, allocations: 2.306 MB / 0.7814 GB, free: 117.7 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005816/0.8158, allocations: 421.1 kB / 0.7818 GB, free: 117.3 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007743/0.8235, allocations: 6.179 MB / 0.7878 GB, free: 111.1 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.749e-05/0.8235, allocations: 24 kB / 0.7878 GB, free: 111.1 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.017e-06/0.8236, allocations: 4 kB / 0.7878 GB, free: 111.1 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.879e-05/0.8236, allocations: 11.97 kB / 0.7878 GB, free: 111.1 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01509/0.8387, allocations: 12.88 MB / 0.8004 GB, free: 98.15 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.372e-05/0.8387, allocations: 4 kB / 0.8004 GB, free: 98.14 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002455/0.8411, allocations: 0.5459 MB / 0.801 GB, free: 97.6 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002098/0.8432, allocations: 0.953 MB / 0.8019 GB, free: 96.64 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000273/0.8435, allocations: 87.89 kB / 0.802 GB, free: 96.56 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005542/0.849, allocations: 6.093 MB / 0.8079 GB, free: 90.34 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.428e-06/0.849, allocations: 3.938 kB / 0.8079 GB, free: 90.34 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01079/0.8598, allocations: 10.49 MB / 0.8182 GB, free: 79.79 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001404/0.8612, allocations: 0.9091 MB / 0.8191 GB, free: 78.86 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004871/0.8617, allocations: 40 kB / 0.8191 GB, free: 78.82 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001965/0.8637, allocations: 171.2 kB / 0.8193 GB, free: 78.66 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004339/0.8641, allocations: 185.6 kB / 0.8194 GB, free: 78.48 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001981/0.8643, allocations: 111.7 kB / 0.8195 GB, free: 78.37 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.002875/0.8672, allocations: 2.766 MB / 0.8222 GB, free: 75.6 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1e-07/0.8672, allocations: 0 / 0.8222 GB, free: 75.6 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.004285/0.8715, allocations: 1.192 MB / 0.8234 GB, free: 74.41 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 8 (revolute.phi,revolute.w,rotor1D.phi,rotor1D.w,r1.phi,r1.w,r2.phi,r2.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 (206): * Single equations (assignments): 202 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(3,13,77.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.01113/0.8826, allocations: 11.15 MB / 0.8343 GB, free: 63.21 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.00825/0.8909, allocations: 7.46 MB / 0.8416 GB, free: 55.78 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 5.42e-06/0.8909, allocations: 8.062 kB / 0.8416 GB, free: 55.77 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.003039/0.8939, allocations: 2.836 MB / 0.8444 GB, free: 52.92 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002431/0.8963, allocations: 0.496 MB / 0.8448 GB, free: 52.44 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06466/0.961, allocations: 59.08 MB / 0.9025 GB, free: 3.223 MB / 0.5763 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003906/0.9649, allocations: 3.627 MB / 0.9061 GB, free: 15.56 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.004781/0.9697, allocations: 2.253 MB / 0.9083 GB, free: 13.3 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003367/0.973, allocations: 2.323 MB / 0.9106 GB, free: 10.98 MB / 0.5919 GB Notification: Performance of SimCode: time 1.573e-06/0.973, allocations: 0 / 0.9106 GB, free: 10.98 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3528/1.326, allocations: 92.42 MB / 1.001 GB, free: 226 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.71/18.03, allocations: 5.656 kB / 1.001 GB, free: 226 MB / 0.6544 GB " [Timeout remaining time 642] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3_res.csv --start-time 0 --stop-time 2 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00039984 ModelicaTest_4_1_0-beta_om_ModelicaTest_MultiBody_Parts_Rotor1D_Rotor1D_3.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 20.63512413900753]