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.001758/0.001758, allocations: 131.4 kB / 17.8 MB, free: 5.219 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.002042/0.002042, allocations: 211.6 kB / 20.75 MB, free: 2.27 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.528/1.528, allocations: 230.4 MB / 254 MB, free: 15.15 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.2294/0.2294, allocations: 46.94 MB / 357 MB, free: 10.17 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.003342/0.003342, allocations: 79.88 kB / 0.491 GB, free: 7.703 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.177/0.1803, allocations: 66.04 MB / 0.5555 GB, free: 5.527 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Frames.AngularVelocity): time 0.01779/0.1981, allocations: 11.17 MB / 0.5664 GB, free: 10.29 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.01134/0.2094, allocations: 4.116 MB / 0.5704 GB, free: 6.16 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002461/0.2119, allocations: 79.62 kB / 0.5705 GB, free: 6.082 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007358/0.2193, allocations: 2.834 MB / 0.5732 GB, free: 3.238 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006368/0.2256, allocations: 1.794 MB / 0.575 GB, free: 1.438 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002464/0.2281, allocations: 0.698 MB / 0.5757 GB, free: 0.7383 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.00758/0.2357, allocations: 3.688 MB / 0.5793 GB, free: 13.04 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005503/0.2412, allocations: 3.156 MB / 0.5823 GB, free: 9.816 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003458/0.2446, allocations: 1.522 MB / 0.5838 GB, free: 8.289 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004572/0.2492, allocations: 2.149 MB / 0.5859 GB, free: 6.133 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001237/0.2504, allocations: 328 kB / 0.5862 GB, free: 5.812 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003454/0.2539, allocations: 1.221 MB / 0.5874 GB, free: 4.59 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002387/0.2563, allocations: 1.92 MB / 0.5893 GB, free: 2.664 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002837/0.2591, allocations: 2.156 MB / 0.5914 GB, free: 0.4961 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.3464/0.6055, allocations: 6.853 MB / 0.5981 GB, free: 11.01 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.183e-06/0.6055, allocations: 0 / 0.5981 GB, free: 11.01 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.923e-06/0.6055, allocations: 0 / 0.5981 GB, free: 11.01 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0004237/0.606, allocations: 2.094 kB / 0.5981 GB, free: 11.01 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.02111/0.6271, allocations: 4.688 MB / 0.6027 GB, free: 9.059 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.295e-05/0.6271, allocations: 9.562 kB / 0.6027 GB, free: 9.059 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003994/0.6311, allocations: 0.7072 MB / 0.6034 GB, free: 8.984 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01091/0.642, allocations: 1.976 MB / 0.6053 GB, free: 8.688 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00818/0.6502, allocations: 2.403 MB / 0.6077 GB, free: 8.133 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005226/0.6507, allocations: 247.9 kB / 0.6079 GB, free: 8.125 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002454/0.6532, allocations: 407.9 kB / 0.6083 GB, free: 8.117 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02606/0.6793, allocations: 9.741 MB / 0.6178 GB, free: 4.973 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002988/0.6796, allocations: 48.2 kB / 0.6179 GB, free: 4.961 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001935/0.6815, allocations: 156.7 kB / 0.618 GB, free: 4.887 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003285/0.6848, allocations: 1.768 MB / 0.6197 GB, free: 4.586 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01828/0.7031, allocations: 8.07 MB / 0.6276 GB, free: 1.449 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05947/0.7625, allocations: 38.25 MB / 0.665 GB, free: 13.41 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0107/0.7732, allocations: 3.614 MB / 0.6685 GB, free: 9.668 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002912/0.7761, allocations: 1.557 MB / 0.67 GB, free: 8.105 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01549/0.7916, allocations: 7.889 MB / 0.6777 GB, free: 15.85 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.609e-05/0.7917, allocations: 48.75 kB / 0.6778 GB, free: 15.8 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=141): time 4.619e-06/0.7917, allocations: 0 / 0.6778 GB, free: 15.8 MB / 0.4981 GB Notification: Performance of matching and sorting (n=148): time 0.03746/0.8292, allocations: 12.55 MB / 0.69 GB, free: 3.133 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0016/0.8308, allocations: 1.71 MB / 0.6917 GB, free: 1.258 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007861/0.8386, allocations: 3.806 MB / 0.6954 GB, free: 13.47 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0004388/0.8391, allocations: 45.7 kB / 0.6955 GB, free: 13.42 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.00297/0.842, allocations: 3.131 MB / 0.6985 GB, free: 10.32 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.001084/0.8431, allocations: 0.6231 MB / 0.6991 GB, free: 9.703 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003263/0.8464, allocations: 1.181 MB / 0.7003 GB, free: 8.512 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001419/0.8465, allocations: 307.7 kB / 0.7006 GB, free: 8.211 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004018/0.8505, allocations: 2.034 MB / 0.7025 GB, free: 6.172 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007271/0.8578, allocations: 5.645 MB / 0.7081 GB, free: 14.77 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01148/0.8693, allocations: 8.267 MB / 0.7161 GB, free: 5.23 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001388/0.8694, allocations: 40 kB / 0.7162 GB, free: 5.191 MB / 0.5294 GB Notification: Performance of matching and sorting (n=747) (initialization): time 0.02442/0.8938, allocations: 8.903 MB / 0.7249 GB, free: 12.46 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001721/0.894, allocations: 60 kB / 0.7249 GB, free: 12.4 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01115/0.9052, allocations: 3.327 MB / 0.7282 GB, free: 9.062 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009894/0.9151, allocations: 1.938 MB / 0.7301 GB, free: 7.109 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004888/0.9199, allocations: 1.322 MB / 0.7314 GB, free: 5.785 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009803/0.9297, allocations: 6.131 MB / 0.7373 GB, free: 15.37 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005729/0.9355, allocations: 403.5 kB / 0.7377 GB, free: 14.97 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001512/0.937, allocations: 362.6 kB / 0.7381 GB, free: 14.62 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.005438/0.9424, allocations: 1.998 MB / 0.74 GB, free: 12.61 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001003/0.9434, allocations: 337.7 kB / 0.7403 GB, free: 12.28 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001701/0.9451, allocations: 444.2 kB / 0.7408 GB, free: 11.84 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.005926/0.9511, allocations: 2.488 MB / 0.7432 GB, free: 9.332 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.094e-05/0.9511, allocations: 4 kB / 0.7432 GB, free: 9.328 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.373e-05/0.9511, allocations: 7.969 kB / 0.7432 GB, free: 9.32 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02267/0.9738, allocations: 8.456 MB / 0.7515 GB, free: 0.8008 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.397e-05/0.9738, allocations: 0 / 0.7515 GB, free: 0.8008 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001397/0.9752, allocations: 251.5 kB / 0.7517 GB, free: 0.5586 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003383/0.9786, allocations: 1.033 MB / 0.7527 GB, free: 15.51 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002783/0.9789, allocations: 35.98 kB / 0.7528 GB, free: 15.48 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006722/0.9856, allocations: 5.34 MB / 0.758 GB, free: 9.859 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001301/0.9869, allocations: 1.565 MB / 0.7595 GB, free: 8.148 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009427/0.9963, allocations: 5.228 MB / 0.7646 GB, free: 2.883 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001189/0.9975, allocations: 394.7 kB / 0.765 GB, free: 2.477 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009299/0.9984, allocations: 32 kB / 0.765 GB, free: 2.445 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002066/1, allocations: 135.8 kB / 0.7651 GB, free: 2.312 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003533/1.001, allocations: 96.73 kB / 0.7652 GB, free: 2.219 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001546/1.001, allocations: 43.97 kB / 0.7653 GB, free: 2.176 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.005451/1.006, allocations: 2.356 MB / 0.7676 GB, free: 15.84 MB / 0.5919 GB Notification: Performance of sort global known variables: time 8e-08/1.006, allocations: 0 / 0.7676 GB, free: 15.84 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.006275/1.013, allocations: 1.014 MB / 0.7686 GB, free: 14.82 MB / 0.5919 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.01064/1.023, allocations: 5.851 MB / 0.7743 GB, free: 8.918 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.01182/1.035, allocations: 5.314 MB / 0.7795 GB, free: 3.566 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 8.255e-06/1.035, allocations: 0 / 0.7795 GB, free: 3.566 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.004899/1.04, allocations: 2.078 MB / 0.7815 GB, free: 1.418 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003983/1.044, allocations: 434.4 kB / 0.7819 GB, free: 1.012 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1022/1.146, allocations: 45.66 MB / 0.8265 GB, free: 13.76 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006652/1.153, allocations: 3.129 MB / 0.8296 GB, free: 10.59 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.00507/1.158, allocations: 1.796 MB / 0.8313 GB, free: 8.789 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003581/1.162, allocations: 1.761 MB / 0.833 GB, free: 7.027 MB / 0.6544 GB Notification: Performance of SimCode: time 1.102e-06/1.162, allocations: 0 / 0.833 GB, free: 7.027 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3968/1.558, allocations: 67.56 MB / 0.899 GB, free: 203.9 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 21.08/22.64, allocations: 2.812 kB / 0.899 GB, free: 203.9 MB / 0.6544 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.965749156079255] 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.78414141794201 22.80396122 22.194223546 Calling exit ...