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.00172/0.00172, allocations: 110.5 kB / 21.1 MB, free: 0.7695 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.002095/0.002095, allocations: 205.7 kB / 24.38 MB, free: 4.188 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.487/1.487, allocations: 230.2 MB / 257.7 MB, free: 8.277 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.2231/0.2231, allocations: 46.88 MB / 361 MB, free: 4.465 MB / 286.1 MB " [Timeout remaining time 180] 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.003013/0.003013, allocations: 79.84 kB / 0.4962 GB, free: 8.215 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3554/0.3584, allocations: 66.04 MB / 0.5606 GB, free: 4.668 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Frames.AngularVelocity): time 0.01391/0.3723, allocations: 11.13 MB / 0.5715 GB, free: 9.484 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.009916/0.3823, allocations: 4.135 MB / 0.5756 GB, free: 5.336 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002788/0.3851, allocations: 75.62 kB / 0.5756 GB, free: 5.262 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006438/0.3915, allocations: 2.85 MB / 0.5784 GB, free: 2.402 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005001/0.3965, allocations: 1.802 MB / 0.5802 GB, free: 0.5938 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001828/0.3983, allocations: 0.6863 MB / 0.5808 GB, free: 15.91 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.005682/0.404, allocations: 3.684 MB / 0.5844 GB, free: 12.21 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003926/0.4079, allocations: 2.669 MB / 0.587 GB, free: 9.477 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003433/0.4114, allocations: 1.53 MB / 0.5885 GB, free: 7.941 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003893/0.4153, allocations: 2.142 MB / 0.5906 GB, free: 5.793 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001118/0.4164, allocations: 332 kB / 0.5909 GB, free: 5.469 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002464/0.4188, allocations: 1.096 MB / 0.592 GB, free: 4.371 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002219/0.4211, allocations: 1.92 MB / 0.5939 GB, free: 2.445 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003089/0.4241, allocations: 2.159 MB / 0.596 GB, free: 280 kB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01003/0.4342, allocations: 6.836 MB / 0.6027 GB, free: 9.41 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.056e-05/0.4342, allocations: 0 / 0.6027 GB, free: 9.41 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.944e-06/0.4342, allocations: 4 kB / 0.6027 GB, free: 9.406 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0002166/0.4344, allocations: 3.984 kB / 0.6027 GB, free: 9.402 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.009629/0.444, allocations: 4.678 MB / 0.6073 GB, free: 4.648 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.953e-05/0.4441, allocations: 12.03 kB / 0.6073 GB, free: 4.637 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001116/0.4452, allocations: 0.707 MB / 0.608 GB, free: 3.918 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007091/0.4523, allocations: 1.971 MB / 0.6099 GB, free: 1.941 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006762/0.4591, allocations: 2.413 MB / 0.6122 GB, free: 15.47 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002829/0.4593, allocations: 242.1 kB / 0.6125 GB, free: 15.23 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001535/0.4609, allocations: 403.7 kB / 0.6129 GB, free: 14.84 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01809/0.479, allocations: 9.748 MB / 0.6224 GB, free: 4.414 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001214/0.4791, allocations: 43.58 kB / 0.6224 GB, free: 4.371 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004252/0.4795, allocations: 155.9 kB / 0.6226 GB, free: 4.219 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002579/0.4821, allocations: 1.767 MB / 0.6243 GB, free: 2.445 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01641/0.4985, allocations: 8.074 MB / 0.6322 GB, free: 10.35 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05183/0.5503, allocations: 38.23 MB / 0.6695 GB, free: 2.969 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009317/0.5596, allocations: 3.61 MB / 0.673 GB, free: 15.21 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002474/0.5621, allocations: 1.545 MB / 0.6745 GB, free: 13.66 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01247/0.5746, allocations: 7.898 MB / 0.6823 GB, free: 5.312 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.814e-05/0.5747, allocations: 55.5 kB / 0.6823 GB, free: 5.25 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=141): time 4.869e-06/0.5747, allocations: 0 / 0.6823 GB, free: 5.25 MB / 0.5137 GB Notification: Performance of matching and sorting (n=148): time 0.03029/0.6049, allocations: 12.57 MB / 0.6946 GB, free: 8.527 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001554/0.6065, allocations: 1.707 MB / 0.6962 GB, free: 6.641 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00562/0.6121, allocations: 3.817 MB / 0.7 GB, free: 2.836 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0003729/0.6125, allocations: 41.7 kB / 0.7 GB, free: 2.789 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.002469/0.615, allocations: 3.123 MB / 0.7031 GB, free: 15.64 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009227/0.6159, allocations: 0.6281 MB / 0.7037 GB, free: 15 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00159/0.6175, allocations: 1.171 MB / 0.7048 GB, free: 13.82 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.000124/0.6176, allocations: 305.1 kB / 0.7051 GB, free: 13.52 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00315/0.6207, allocations: 2.037 MB / 0.7071 GB, free: 11.48 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006404/0.6271, allocations: 5.65 MB / 0.7126 GB, free: 4.012 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01074/0.6379, allocations: 8.262 MB / 0.7207 GB, free: 9.949 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001093/0.638, allocations: 36 kB / 0.7207 GB, free: 9.914 MB / 0.5606 GB Notification: Performance of matching and sorting (n=747) (initialization): time 0.02114/0.6591, allocations: 8.899 MB / 0.7294 GB, free: 0.9922 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 9.042e-05/0.6592, allocations: 60.19 kB / 0.7295 GB, free: 0.9336 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.2551/0.9144, allocations: 3.339 MB / 0.7327 GB, free: 150.5 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008531/0.9229, allocations: 1.931 MB / 0.7346 GB, free: 150.5 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003846/0.9267, allocations: 1.324 MB / 0.7359 GB, free: 150.5 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006718/0.9334, allocations: 6.14 MB / 0.7419 GB, free: 146.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004051/0.9375, allocations: 407.7 kB / 0.7423 GB, free: 146.7 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000784/0.9383, allocations: 356.9 kB / 0.7426 GB, free: 146.6 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.002773/0.9411, allocations: 1.996 MB / 0.7446 GB, free: 145.8 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005953/0.9416, allocations: 349.4 kB / 0.7449 GB, free: 145.8 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000794/0.9424, allocations: 437.6 kB / 0.7453 GB, free: 145.5 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.003871/0.9463, allocations: 2.496 MB / 0.7478 GB, free: 144.8 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.476e-06/0.9463, allocations: 3.75 kB / 0.7478 GB, free: 144.8 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.45e-05/0.9463, allocations: 7.812 kB / 0.7478 GB, free: 144.8 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01156/0.9579, allocations: 8.432 MB / 0.756 GB, free: 139.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.184e-05/0.9579, allocations: 0 / 0.756 GB, free: 139.2 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001034/0.9589, allocations: 252.5 kB / 0.7563 GB, free: 139 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002516/0.9615, allocations: 1.033 MB / 0.7573 GB, free: 138 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001588/0.9616, allocations: 43.75 kB / 0.7573 GB, free: 137.9 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004216/0.9658, allocations: 5.341 MB / 0.7625 GB, free: 132.4 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0006625/0.9665, allocations: 1.566 MB / 0.7641 GB, free: 130.7 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006284/0.9728, allocations: 5.217 MB / 0.7691 GB, free: 125.6 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008991/0.9737, allocations: 404.4 kB / 0.7695 GB, free: 125.4 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003388/0.974, allocations: 35.88 kB / 0.7696 GB, free: 125.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00126/0.9753, allocations: 139.6 kB / 0.7697 GB, free: 125.2 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002618/0.9755, allocations: 96.73 kB / 0.7698 GB, free: 125.1 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.944e-05/0.9756, allocations: 47.98 kB / 0.7698 GB, free: 125.1 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.003038/0.9787, allocations: 2.356 MB / 0.7721 GB, free: 122.7 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.6e-07/0.9787, allocations: 0 / 0.7721 GB, free: 122.7 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.005376/0.9841, allocations: 1.005 MB / 0.7731 GB, free: 121.7 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.007093/0.9911, allocations: 5.868 MB / 0.7788 GB, free: 115.8 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.007604/0.9988, allocations: 5.309 MB / 0.784 GB, free: 110.5 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 8.065e-06/0.9988, allocations: 0 / 0.784 GB, free: 110.5 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.003206/1.002, allocations: 2.078 MB / 0.7861 GB, free: 108.4 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002449/1.004, allocations: 427 kB / 0.7865 GB, free: 108 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06259/1.067, allocations: 45.75 MB / 0.8311 GB, free: 56.67 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002889/1.07, allocations: 3.117 MB / 0.8342 GB, free: 53.52 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.003286/1.073, allocations: 1.802 MB / 0.836 GB, free: 51.71 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002016/1.075, allocations: 1.762 MB / 0.8377 GB, free: 49.95 MB / 0.5606 GB Notification: Performance of SimCode: time 1.422e-06/1.075, allocations: 0 / 0.8377 GB, free: 49.95 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1467/1.222, allocations: 72.3 MB / 0.9083 GB, free: 9.973 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 21.47/22.69, allocations: 11.94 kB / 0.9083 GB, free: 9.961 MB / 0.5919 GB " [Timeout remaining time 637] (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: 25.9234724980779] 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]'] 22.839784260140732 22.870658003 22.430307941 Calling exit ...