Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Frames.AngularVelocity.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.001374/0.001374, allocations: 119.1 kB / 20.45 MB, free: 1.176 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.001521/0.001521, allocations: 205.1 kB / 23.72 MB, free: 4.391 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.494/1.494, allocations: 230.5 MB / 257.4 MB, free: 7.777 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2351/0.2351, allocations: 46.95 MB / 360.8 MB, free: 3.938 MB / 286.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/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.Frames.AngularVelocity,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Frames_AngularVelocity",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Frames.AngularVelocity,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Frames_AngularVelocity",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00242/0.00242, allocations: 87.81 kB / 0.4962 GB, free: 7.562 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3598/0.3622, allocations: 66.08 MB / 0.5607 GB, free: 3.902 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Frames.AngularVelocity): time 0.01239/0.3746, allocations: 9.767 MB / 0.5702 GB, free: 10.09 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.008358/0.383, allocations: 3.894 MB / 0.574 GB, free: 6.184 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001959/0.3849, allocations: 79.62 kB / 0.5741 GB, free: 6.105 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005219/0.3901, allocations: 2.73 MB / 0.5768 GB, free: 3.367 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004513/0.3947, allocations: 1.816 MB / 0.5785 GB, free: 1.547 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001597/0.3963, allocations: 0.6941 MB / 0.5792 GB, free: 0.8516 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.005003/0.4013, allocations: 3.682 MB / 0.5828 GB, free: 13.16 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003659/0.4049, allocations: 2.851 MB / 0.5856 GB, free: 10.24 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002635/0.4076, allocations: 1.53 MB / 0.5871 GB, free: 8.703 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003431/0.411, allocations: 2.017 MB / 0.5891 GB, free: 6.68 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009096/0.4119, allocations: 332 kB / 0.5894 GB, free: 6.355 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002669/0.4146, allocations: 1.081 MB / 0.5904 GB, free: 5.273 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002225/0.4168, allocations: 1.92 MB / 0.5923 GB, free: 3.348 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002626/0.4194, allocations: 1.6 MB / 0.5939 GB, free: 1.738 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01172/0.4311, allocations: 6.887 MB / 0.6006 GB, free: 10.82 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.877e-06/0.4311, allocations: 7.938 kB / 0.6006 GB, free: 10.82 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.4311, allocations: 0 / 0.6006 GB, free: 10.82 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0002398/0.4314, allocations: 4 kB / 0.6006 GB, free: 10.81 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: 1475 * Number of variables: 1475 Notification: Performance of Generate backend data structure: time 0.01159/0.443, allocations: 4.607 MB / 0.6051 GB, free: 6.148 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.357e-05/0.443, allocations: 12.03 kB / 0.6051 GB, free: 6.137 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001894/0.4449, allocations: 0.7109 MB / 0.6058 GB, free: 5.414 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007224/0.4521, allocations: 1.967 MB / 0.6077 GB, free: 3.441 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005455/0.4576, allocations: 2.344 MB / 0.61 GB, free: 1.051 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002033/0.4578, allocations: 250.1 kB / 0.6103 GB, free: 0.8047 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001023/0.4588, allocations: 399.7 kB / 0.6106 GB, free: 424 kB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01721/0.476, allocations: 9.794 MB / 0.6202 GB, free: 5.934 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001204/0.4762, allocations: 43.58 kB / 0.6202 GB, free: 5.891 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004011/0.4766, allocations: 163.9 kB / 0.6204 GB, free: 5.73 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002643/0.4792, allocations: 1.767 MB / 0.6221 GB, free: 3.957 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01742/0.4966, allocations: 8.055 MB / 0.63 GB, free: 11.89 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05761/0.5542, allocations: 36.58 MB / 0.6657 GB, free: 6.176 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00992/0.5641, allocations: 3.14 MB / 0.6688 GB, free: 2.996 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002392/0.5665, allocations: 1.561 MB / 0.6703 GB, free: 1.426 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01172/0.5783, allocations: 5.913 MB / 0.6761 GB, free: 11.48 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.222e-05/0.5783, allocations: 59.48 kB / 0.6761 GB, free: 11.41 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=141): time 5.03e-06/0.5783, allocations: 4 kB / 0.6761 GB, free: 11.41 MB / 0.5137 GB Notification: Performance of matching and sorting (n=148): time 0.03055/0.6089, allocations: 12.26 MB / 0.6881 GB, free: 15.07 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001532/0.6104, allocations: 1.611 MB / 0.6897 GB, free: 13.3 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006231/0.6166, allocations: 4.017 MB / 0.6936 GB, free: 9.289 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0004131/0.617, allocations: 49.69 kB / 0.6937 GB, free: 9.234 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.002739/0.6198, allocations: 3.127 MB / 0.6967 GB, free: 6.078 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009422/0.6207, allocations: 0.6321 MB / 0.6973 GB, free: 5.441 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00179/0.6225, allocations: 1.163 MB / 0.6985 GB, free: 4.266 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.000135/0.6226, allocations: 313.2 kB / 0.6988 GB, free: 3.957 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003114/0.6258, allocations: 2.029 MB / 0.7008 GB, free: 1.922 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006045/0.6318, allocations: 5.65 MB / 0.7063 GB, free: 10.46 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01047/0.6423, allocations: 8.257 MB / 0.7143 GB, free: 404 kB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001325/0.6424, allocations: 40 kB / 0.7144 GB, free: 364 kB / 0.545 GB Notification: Performance of matching and sorting (n=747) (initialization): time 0.02264/0.665, allocations: 8.903 MB / 0.7231 GB, free: 7.434 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 9.652e-05/0.6651, allocations: 60 kB / 0.7231 GB, free: 7.375 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01017/0.6753, allocations: 3.346 MB / 0.7264 GB, free: 4.012 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009436/0.6848, allocations: 1.926 MB / 0.7283 GB, free: 2.07 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00413/0.6889, allocations: 1.322 MB / 0.7296 GB, free: 0.7461 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3345/1.023, allocations: 5.863 MB / 0.7353 GB, free: 146.6 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004618/1.028, allocations: 398.3 kB / 0.7357 GB, free: 146.5 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006466/1.029, allocations: 355.6 kB / 0.736 GB, free: 146.4 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 585 * Number of states: 0 () * Number of discrete variables: 41 (FrameTorque1.arrow.twoHeadedArrow,FrameTorque1.arrow.headAtOrigin,FrameTorque1.color[3],FrameTorque1.color[2],FrameTorque1.color[1],spring2.color[3],spring2.color[2],spring2.color[1],spring2.massColor[3],spring2.massColor[2],spring2.massColor[1],body.color[3],body.color[2],body.color[1],body.body.sphereColor[3],body.body.sphereColor[2],body.body.sphereColor[1],body.frameTranslation.color[3],body.frameTranslation.color[2],body.frameTranslation.color[1],spring1.color[3],spring1.color[2],spring1.color[1],spring1.massColor[3],spring1.massColor[2],spring1.massColor[1],bar2.color[3],bar2.color[2],bar2.color[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 (709): * Single equations (assignments): 700 * Array equations: 5 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(4,100.0%), (3,100.0%)} * Non-linear Jacobian (size): 1 system {4} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002655/1.031, allocations: 1.998 MB / 0.738 GB, free: 145.7 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004982/1.032, allocations: 346.2 kB / 0.7383 GB, free: 145.7 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007034/1.033, allocations: 443 kB / 0.7387 GB, free: 145.5 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.004103/1.037, allocations: 2.496 MB / 0.7411 GB, free: 144.7 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.28e-05/1.037, allocations: 3.75 kB / 0.7412 GB, free: 144.7 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.745e-05/1.037, allocations: 7.547 kB / 0.7412 GB, free: 144.7 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01283/1.049, allocations: 7.955 MB / 0.7489 GB, free: 141.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.415e-05/1.05, allocations: 10.41 kB / 0.7489 GB, free: 141.8 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001085/1.051, allocations: 245.4 kB / 0.7492 GB, free: 141.8 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002653/1.053, allocations: 1.034 MB / 0.7502 GB, free: 141.6 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001651/1.053, allocations: 44.58 kB / 0.7502 GB, free: 141.6 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004578/1.058, allocations: 5.096 MB / 0.7552 GB, free: 137.9 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0008274/1.059, allocations: 1.466 MB / 0.7566 GB, free: 136.4 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007107/1.066, allocations: 5.217 MB / 0.7617 GB, free: 131.6 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001096/1.067, allocations: 333.4 kB / 0.762 GB, free: 131.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003527/1.067, allocations: 31.98 kB / 0.7621 GB, free: 131.4 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001359/1.069, allocations: 131.8 kB / 0.7622 GB, free: 131.3 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002282/1.069, allocations: 92.8 kB / 0.7623 GB, free: 131.2 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.935e-05/1.069, allocations: 43.38 kB / 0.7623 GB, free: 131.2 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.002639/1.072, allocations: 2.356 MB / 0.7646 GB, free: 128.9 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1e-07/1.072, allocations: 0 / 0.7646 GB, free: 128.9 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.00423/1.076, allocations: 1.01 MB / 0.7656 GB, free: 127.9 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 12 ($STATESET1.x[3],$STATESET1.x[2],$STATESET1.x[1],body.v_0[1],body.v_0[2],body.v_0[3],body.body.frame_a.r_0[1],body.body.frame_a.r_0[2],body.body.frame_a.r_0[3],body.body.w_a[1],body.body.w_a[2],body.body.w_a[3]) * 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 (114): * Single equations (assignments): 107 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(4,100.0%), (3,100.0%)} * Non-linear Jacobian (size): 1 system {4} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.006599/1.083, allocations: 5.868 MB / 0.7713 GB, free: 122.1 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.007671/1.09, allocations: 5.165 MB / 0.7764 GB, free: 117 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 5.611e-06/1.09, allocations: 0 / 0.7764 GB, free: 117 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.003299/1.094, allocations: 1.93 MB / 0.7783 GB, free: 115 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002752/1.096, allocations: 433.5 kB / 0.7787 GB, free: 114.6 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06358/1.16, allocations: 45.72 MB / 0.8233 GB, free: 63.34 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002585/1.162, allocations: 2.587 MB / 0.8259 GB, free: 60.72 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.003388/1.166, allocations: 1.802 MB / 0.8276 GB, free: 58.91 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001803/1.168, allocations: 1.761 MB / 0.8293 GB, free: 57.15 MB / 0.5606 GB Notification: Performance of SimCode: time 1.483e-06/1.168, allocations: 0 / 0.8293 GB, free: 57.15 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1413/1.309, allocations: 67.83 MB / 0.8956 GB, free: 5.93 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.47/18.78, allocations: 0 / 0.8956 GB, free: 5.93 MB / 0.5762 GB " [Timeout remaining time 641] (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Frames.AngularVelocity.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Frames.AngularVelocity.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Frames.AngularVelocity.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Frames.AngularVelocity.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.MultiBody.Frames.AngularVelocity_res.csv --start-time 0 --stop-time 1.1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000219692 ModelicaTest_trunk_ModelicaTest_MultiBody_Frames_AngularVelocity.fmu > ModelicaTest_trunk_ModelicaTest.MultiBody.Frames.AngularVelocity.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 22.0840730140917] Failed to read output from testmodel.py, exit status != 0: ['time', 'body.body.Q[1]', 'body.body.Q[2]', 'body.body.Q[3]', 'body.body.Q[4]', 'body.body.frame_a.r_0[1]', 'body.body.frame_a.r_0[2]', 'body.body.frame_a.r_0[3]', 'body.body.w_a[1]', 'body.body.w_a[2]', 'body.body.w_a[3]', 'body.v_0[1]', 'body.v_0[2]', 'body.v_0[3]'] 18.94574664114043 18.97083924 18.536143722 Calling exit ...