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.001402/0.001402, allocations: 80.53 kB / 20.49 MB, free: 1.387 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.001591/0.001591, allocations: 160.6 kB / 23.74 MB, free: 4.578 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.473/1.473, allocations: 177.1 MB / 204 MB, free: 9.266 MB / 190.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.2401/0.2401, allocations: 34.25 MB / 294.7 MB, free: 14.65 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.002402/0.002402, allocations: 84.06 kB / 441.9 MB, free: 6.035 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2955/0.2979, allocations: 66.05 MB / 0.496 GB, free: 1.805 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Frames.AngularVelocity): time 0.01199/0.3099, allocations: 9.783 MB / 0.5056 GB, free: 7.973 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.00838/0.3183, allocations: 3.89 MB / 0.5094 GB, free: 4.07 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001582/0.3199, allocations: 83.56 kB / 0.5095 GB, free: 3.988 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005525/0.3254, allocations: 2.862 MB / 0.5123 GB, free: 1.117 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005454/0.3309, allocations: 1.825 MB / 0.514 GB, free: 15.29 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001747/0.3326, allocations: 0.7409 MB / 0.5148 GB, free: 14.54 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.005328/0.3379, allocations: 3.677 MB / 0.5184 GB, free: 10.86 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004076/0.342, allocations: 2.874 MB / 0.5212 GB, free: 7.918 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003127/0.3451, allocations: 2.135 MB / 0.5232 GB, free: 5.777 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002743/0.3479, allocations: 2.013 MB / 0.5252 GB, free: 3.758 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005383/0.3484, allocations: 332 kB / 0.5255 GB, free: 3.434 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00194/0.3504, allocations: 1.084 MB / 0.5266 GB, free: 2.348 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001897/0.3523, allocations: 1.928 MB / 0.5285 GB, free: 424 kB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00194/0.3542, allocations: 1.604 MB / 0.53 GB, free: 14.8 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0075/0.3617, allocations: 6.883 MB / 0.5368 GB, free: 7.891 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.718e-06/0.3617, allocations: 0 / 0.5368 GB, free: 7.891 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.492e-06/0.3617, allocations: 0 / 0.5368 GB, free: 7.891 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0001095/0.3618, allocations: 0 / 0.5368 GB, free: 7.891 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.0081/0.3699, allocations: 4.63 MB / 0.5413 GB, free: 3.199 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.731e-05/0.37, allocations: 12.03 kB / 0.5413 GB, free: 3.188 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008989/0.3709, allocations: 0.707 MB / 0.542 GB, free: 2.469 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006803/0.3777, allocations: 2.018 MB / 0.544 GB, free: 456 kB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005521/0.3832, allocations: 2.345 MB / 0.5462 GB, free: 14.05 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002242/0.3834, allocations: 250.1 kB / 0.5465 GB, free: 13.81 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001094/0.3845, allocations: 403.7 kB / 0.5469 GB, free: 13.41 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01701/0.4015, allocations: 9.802 MB / 0.5564 GB, free: 2.93 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001075/0.4016, allocations: 43.58 kB / 0.5565 GB, free: 2.887 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004074/0.402, allocations: 155.9 kB / 0.5566 GB, free: 2.734 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002628/0.4047, allocations: 1.759 MB / 0.5583 GB, free: 0.9688 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01606/0.4207, allocations: 8.066 MB / 0.5662 GB, free: 8.887 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04985/0.4706, allocations: 36.69 MB / 0.6021 GB, free: 3.066 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009338/0.4799, allocations: 3.276 MB / 0.6053 GB, free: 15.75 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002323/0.4822, allocations: 1.565 MB / 0.6068 GB, free: 14.18 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.012/0.4942, allocations: 5.961 MB / 0.6126 GB, free: 8.188 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.243e-05/0.4943, allocations: 51.56 kB / 0.6127 GB, free: 8.129 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=141): time 4.148e-06/0.4943, allocations: 0 / 0.6127 GB, free: 8.129 MB / 0.5137 GB Notification: Performance of matching and sorting (n=148): time 0.03061/0.5249, allocations: 12.5 MB / 0.6249 GB, free: 11.55 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001616/0.5265, allocations: 1.599 MB / 0.6264 GB, free: 9.789 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006878/0.5334, allocations: 4.017 MB / 0.6303 GB, free: 5.781 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0004151/0.5338, allocations: 49.86 kB / 0.6304 GB, free: 5.727 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.002501/0.5363, allocations: 3.131 MB / 0.6335 GB, free: 2.566 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008274/0.5371, allocations: 0.6242 MB / 0.6341 GB, free: 1.938 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001718/0.5388, allocations: 1.175 MB / 0.6352 GB, free: 0.75 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001309/0.539, allocations: 305.1 kB / 0.6355 GB, free: 460 kB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.2625/0.8014, allocations: 2.03 MB / 0.6375 GB, free: 124.5 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005675/0.8071, allocations: 5.643 MB / 0.643 GB, free: 119.2 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008612/0.8157, allocations: 8.264 MB / 0.6511 GB, free: 112.3 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001901/0.8159, allocations: 35.44 kB / 0.6511 GB, free: 112.3 MB / 0.5294 GB Notification: Performance of matching and sorting (n=747) (initialization): time 0.01953/0.8354, allocations: 8.912 MB / 0.6598 GB, free: 108.9 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001199/0.8356, allocations: 60 kB / 0.6599 GB, free: 108.8 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.00898/0.8445, allocations: 3.334 MB / 0.6631 GB, free: 106.3 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008298/0.8528, allocations: 1.933 MB / 0.665 GB, free: 104.9 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00431/0.8572, allocations: 1.314 MB / 0.6663 GB, free: 103.6 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006589/0.8637, allocations: 5.87 MB / 0.672 GB, free: 97.52 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004886/0.8686, allocations: 401.8 kB / 0.6724 GB, free: 97.14 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008057/0.8694, allocations: 363.9 kB / 0.6727 GB, free: 96.79 MB / 0.5294 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.00284/0.8723, allocations: 2 MB / 0.6747 GB, free: 94.86 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005766/0.8729, allocations: 340 kB / 0.675 GB, free: 94.72 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007895/0.8736, allocations: 436.2 kB / 0.6754 GB, free: 94.29 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.004215/0.8779, allocations: 2.494 MB / 0.6779 GB, free: 91.78 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.767e-05/0.8779, allocations: 20.77 kB / 0.6779 GB, free: 91.77 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.584e-05/0.8779, allocations: 7.984 kB / 0.6779 GB, free: 91.76 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01431/0.8922, allocations: 7.975 MB / 0.6857 GB, free: 83.74 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.65e-05/0.8922, allocations: 4 kB / 0.6857 GB, free: 83.74 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001105/0.8933, allocations: 247.8 kB / 0.6859 GB, free: 83.5 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00258/0.8959, allocations: 1.033 MB / 0.6869 GB, free: 82.45 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001524/0.8961, allocations: 35.97 kB / 0.687 GB, free: 82.41 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004385/0.9004, allocations: 5.1 MB / 0.692 GB, free: 77.12 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0007426/0.9012, allocations: 1.469 MB / 0.6934 GB, free: 75.55 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006733/0.9079, allocations: 5.212 MB / 0.6985 GB, free: 70.49 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001188/0.9091, allocations: 327 kB / 0.6988 GB, free: 70.27 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000795/0.9099, allocations: 35.89 kB / 0.6988 GB, free: 70.23 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00172/0.9116, allocations: 135.8 kB / 0.699 GB, free: 70.1 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003406/0.912, allocations: 100.7 kB / 0.699 GB, free: 70 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000127/0.9121, allocations: 46.5 kB / 0.6991 GB, free: 69.96 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.004019/0.9161, allocations: 2.356 MB / 0.7014 GB, free: 67.62 MB / 0.5294 GB Notification: Performance of sort global known variables: time 8.1e-08/0.9161, allocations: 0 / 0.7014 GB, free: 67.62 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.005497/0.9216, allocations: 1 MB / 0.7024 GB, free: 66.62 MB / 0.5294 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.007212/0.9288, allocations: 5.862 MB / 0.7081 GB, free: 60.71 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.008544/0.9374, allocations: 5.17 MB / 0.7131 GB, free: 55.54 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 7.133e-06/0.9374, allocations: 0 / 0.7131 GB, free: 55.54 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.003369/0.9407, allocations: 1.93 MB / 0.715 GB, free: 53.58 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003216/0.9439, allocations: 434.8 kB / 0.7154 GB, free: 53.16 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07259/1.017, allocations: 45.72 MB / 0.7601 GB, free: 1.871 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004664/1.021, allocations: 2.583 MB / 0.7626 GB, free: 15.26 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.00473/1.026, allocations: 1.802 MB / 0.7644 GB, free: 13.45 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003145/1.029, allocations: 1.762 MB / 0.7661 GB, free: 11.68 MB / 0.545 GB Notification: Performance of SimCode: time 1.242e-06/1.029, allocations: 4 kB / 0.7661 GB, free: 11.68 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1484/1.177, allocations: 67.97 MB / 0.8325 GB, free: 8.25 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.91/19.09, allocations: 3.281 kB / 0.8325 GB, free: 8.25 MB / 0.6075 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.221805373672396] 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]'] 19.258668962866068 19.284354415 18.917270045 Calling exit ...