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_2.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.001413/0.001413, 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.001671/0.001671, allocations: 216.2 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.301/1.301, allocations: 230.2 MB / 256.2 MB, free: 8.582 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.2029/0.2029, allocations: 46.89 MB / 359.3 MB, free: 4.961 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_2,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_MultiBody_Parts_Rotor1D_Rotor1D_2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_MultiBody_Parts_Rotor1D_Rotor1D_2",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.00212/0.00212, allocations: 83.86 kB / 0.494 GB, free: 9.098 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2498/0.2519, allocations: 65.99 MB / 0.5584 GB, free: 5.211 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2): time 0.01213/0.264, allocations: 11.12 MB / 0.5693 GB, free: 10.05 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.007423/0.2714, allocations: 3.863 MB / 0.573 GB, free: 6.168 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001363/0.2728, allocations: 71.75 kB / 0.5731 GB, free: 6.098 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005043/0.2778, allocations: 2.714 MB / 0.5758 GB, free: 3.375 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00417/0.282, allocations: 1.797 MB / 0.5775 GB, free: 1.574 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001558/0.2836, allocations: 0.7017 MB / 0.5782 GB, free: 0.8711 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.004681/0.2882, allocations: 3.586 MB / 0.5817 GB, free: 13.27 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003395/0.2916, allocations: 2.586 MB / 0.5842 GB, free: 10.62 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00218/0.2938, allocations: 1.476 MB / 0.5857 GB, free: 9.141 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003013/0.2968, allocations: 2.149 MB / 0.5878 GB, free: 6.984 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007959/0.2976, allocations: 324 kB / 0.5881 GB, free: 6.668 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001963/0.2996, allocations: 1.073 MB / 0.5891 GB, free: 5.594 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001857/0.3014, allocations: 1.85 MB / 0.5909 GB, free: 3.738 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002042/0.3035, allocations: 2.093 MB / 0.593 GB, free: 1.633 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007014/0.3105, allocations: 6.708 MB / 0.5995 GB, free: 10.9 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.3105, allocations: 4 kB / 0.5995 GB, free: 10.89 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.3105, allocations: 0 / 0.5995 GB, free: 10.89 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0001167/0.3106, allocations: 0 / 0.5995 GB, free: 10.89 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: 1413 * Number of variables: 1413 Notification: Performance of Generate backend data structure: time 0.01591/0.3265, allocations: 5.2 MB / 0.6046 GB, free: 5.621 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.856e-05/0.3266, allocations: 8.031 kB / 0.6046 GB, free: 5.613 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0009798/0.3276, allocations: 0.682 MB / 0.6053 GB, free: 4.922 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00656/0.3341, allocations: 1.89 MB / 0.6071 GB, free: 3.027 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004622/0.3387, allocations: 2.499 MB / 0.6096 GB, free: 480 kB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001729/0.3389, allocations: 225.8 kB / 0.6098 GB, free: 252 kB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006734/0.3396, allocations: 299.9 kB / 0.6101 GB, free: 15.95 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01722/0.3568, allocations: 10.05 MB / 0.6199 GB, free: 5.25 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001027/0.3569, allocations: 35.7 kB / 0.6199 GB, free: 5.215 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004106/0.3573, allocations: 143.9 kB / 0.6201 GB, free: 5.074 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003095/0.3604, allocations: 1.809 MB / 0.6218 GB, free: 3.262 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01665/0.3771, allocations: 9.022 MB / 0.6306 GB, free: 10.21 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0447/0.4218, allocations: 37.15 MB / 0.6669 GB, free: 4.012 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01274/0.4345, allocations: 3.614 MB / 0.6704 GB, free: 256 kB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002183/0.4367, allocations: 1.61 MB / 0.672 GB, free: 14.63 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009071/0.4376, allocations: 0.6746 MB / 0.6727 GB, free: 13.84 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.985e-05/0.4376, allocations: 51.06 kB / 0.6727 GB, free: 13.79 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=130): time 2.976e-06/0.4376, allocations: 0 / 0.6727 GB, free: 13.79 MB / 0.5137 GB Notification: Performance of matching and sorting (n=136): time 0.04009/0.4777, allocations: 13.11 MB / 0.6855 GB, free: 0.582 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.925e-05/0.4778, allocations: 141.2 kB / 0.6857 GB, free: 424 kB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005154/0.483, allocations: 3.968 MB / 0.6895 GB, free: 12.46 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0001818/0.4832, allocations: 45.7 kB / 0.6896 GB, free: 12.41 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.00223/0.4854, allocations: 3.081 MB / 0.6926 GB, free: 9.305 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005793/0.486, allocations: 0.5739 MB / 0.6931 GB, free: 8.727 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001391/0.4874, allocations: 1.147 MB / 0.6943 GB, free: 7.57 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001224/0.4875, allocations: 305.1 kB / 0.6946 GB, free: 7.27 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002778/0.4903, allocations: 1.928 MB / 0.6964 GB, free: 5.336 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005363/0.4956, allocations: 5.493 MB / 0.7018 GB, free: 14.04 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008897/0.5045, allocations: 8.05 MB / 0.7097 GB, free: 4.207 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.389e-05/0.5046, allocations: 36 kB / 0.7097 GB, free: 4.172 MB / 0.545 GB Notification: Performance of matching and sorting (n=716) (initialization): time 0.01407/0.5187, allocations: 7.892 MB / 0.7174 GB, free: 12.27 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 9.5e-05/0.5188, allocations: 60.97 kB / 0.7175 GB, free: 12.21 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001404/0.5189, allocations: 124 kB / 0.7176 GB, free: 12.09 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002437/0.5213, allocations: 0.9138 MB / 0.7185 GB, free: 11.17 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003707/0.525, allocations: 1.279 MB / 0.7197 GB, free: 9.891 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00667/0.5317, allocations: 5.178 MB / 0.7248 GB, free: 4.578 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003426/0.5351, allocations: 311.7 kB / 0.7251 GB, free: 4.273 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005526/0.5357, allocations: 356.3 kB / 0.7254 GB, free: 3.926 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 579 * Number of states: 0 () * Number of discrete variables: 38 (torque.torqueArrow.twoHeadedArrow,torque.torqueArrow.headAtOrigin,rotor1D.cylinderColor[3],rotor1D.cylinderColor[2],rotor1D.cylinderColor[1],fixed.color[3],fixed.color[2],fixed.color[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 (677): * Single equations (assignments): 673 * 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.002796/0.5385, allocations: 1.963 MB / 0.7273 GB, free: 1.949 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005502/0.539, allocations: 345.7 kB / 0.7277 GB, free: 1.609 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2086/0.7477, allocations: 2.77 MB / 0.7304 GB, free: 153 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.16e-05/0.7477, allocations: 20.94 kB / 0.7304 GB, free: 153 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.094e-05/0.7477, allocations: 4.422 kB / 0.7304 GB, free: 153 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.982e-05/0.7477, allocations: 6.953 kB / 0.7304 GB, free: 153 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009698/0.7574, allocations: 7.167 MB / 0.7374 GB, free: 150.9 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.905e-06/0.7574, allocations: 6.219 kB / 0.7374 GB, free: 150.9 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001044/0.7585, allocations: 244.2 kB / 0.7376 GB, free: 150.9 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001789/0.7603, allocations: 0.7131 MB / 0.7383 GB, free: 150.8 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.718e-05/0.7604, allocations: 38.61 kB / 0.7384 GB, free: 150.7 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004329/0.7647, allocations: 4.761 MB / 0.743 GB, free: 148.1 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.864e-06/0.7647, allocations: 0 / 0.743 GB, free: 148.1 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005701/0.7704, allocations: 5.146 MB / 0.748 GB, free: 146.3 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004483/0.7708, allocations: 397.7 kB / 0.7484 GB, free: 146.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002773/0.7711, allocations: 22.81 kB / 0.7484 GB, free: 146.1 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001072/0.7722, allocations: 90.05 kB / 0.7485 GB, free: 146.1 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002051/0.7724, allocations: 90.52 kB / 0.7486 GB, free: 146.1 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.154e-05/0.7725, allocations: 47.06 kB / 0.7487 GB, free: 146.1 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.002411/0.7749, allocations: 2.481 MB / 0.7511 GB, free: 144.6 MB / 0.5606 GB Notification: Performance of sort global known variables: time 9.1e-08/0.7749, allocations: 1.656 kB / 0.7511 GB, free: 144.6 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.003083/0.778, allocations: 0.8751 MB / 0.7519 GB, free: 143.8 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 4 (revolute.phi,revolute.w,rotor1D.phi,rotor1D.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 (104): * Single equations (assignments): 100 * 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 {(1,12,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.005664/0.7836, allocations: 5.779 MB / 0.7576 GB, free: 138.1 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.004472/0.7881, allocations: 4.433 MB / 0.7619 GB, free: 133.8 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.376e-06/0.7881, allocations: 0 / 0.7619 GB, free: 133.8 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.001267/0.7894, allocations: 1.288 MB / 0.7632 GB, free: 132.5 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001768/0.7912, allocations: 431.7 kB / 0.7636 GB, free: 132.1 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03716/0.8283, allocations: 42.89 MB / 0.8055 GB, free: 83.86 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002167/0.8305, allocations: 3.061 MB / 0.8085 GB, free: 80.78 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.002801/0.8333, allocations: 1.79 MB / 0.8102 GB, free: 78.99 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001526/0.8348, allocations: 1.741 MB / 0.8119 GB, free: 77.25 MB / 0.5606 GB Notification: Performance of SimCode: time 7.31e-07/0.8348, allocations: 0 / 0.8119 GB, free: 77.25 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08948/0.9243, allocations: 64.83 MB / 0.8752 GB, free: 12.71 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 19.16/20.09, allocations: 5.797 kB / 0.8752 GB, free: 12.71 MB / 0.5606 GB " [Timeout remaining time 640] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2_res.csv --start-time 0 --stop-time 3 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00059976 ModelicaTest_4_1_0-beta_om_ModelicaTest_MultiBody_Parts_Rotor1D_Rotor1D_2.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 22.655942309997045]