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.001769/0.001769, allocations: 110 kB / 20.43 MB, free: 1.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.002256/0.002256, allocations: 213.1 kB / 23.74 MB, free: 4.66 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.554/1.554, allocations: 230.5 MB / 257.4 MB, free: 8 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.2545/0.2545, allocations: 46.93 MB / 360.8 MB, free: 4.188 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.002286/0.002286, allocations: 79.88 kB / 0.4962 GB, free: 7.77 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3924/0.3947, allocations: 66.09 MB / 0.5607 GB, free: 4.316 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Frames.AngularVelocity): time 0.01358/0.4083, allocations: 11.2 MB / 0.5717 GB, free: 9.059 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.009228/0.4175, allocations: 4.132 MB / 0.5757 GB, free: 4.914 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002192/0.4197, allocations: 87.56 kB / 0.5758 GB, free: 4.828 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005512/0.4252, allocations: 2.842 MB / 0.5786 GB, free: 1.977 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005109/0.4303, allocations: 1.804 MB / 0.5803 GB, free: 172 kB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001721/0.432, allocations: 0.698 MB / 0.581 GB, free: 15.47 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.005672/0.4377, allocations: 3.68 MB / 0.5846 GB, free: 11.78 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003682/0.4414, allocations: 2.874 MB / 0.5874 GB, free: 8.836 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002395/0.4438, allocations: 1.526 MB / 0.5889 GB, free: 7.305 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003667/0.4474, allocations: 2.142 MB / 0.591 GB, free: 5.156 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009788/0.4484, allocations: 335.9 kB / 0.5913 GB, free: 4.828 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002592/0.451, allocations: 1.221 MB / 0.5925 GB, free: 3.605 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002478/0.4535, allocations: 1.92 MB / 0.5944 GB, free: 1.68 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002749/0.4562, allocations: 2.163 MB / 0.5965 GB, free: 15.5 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008796/0.465, allocations: 6.859 MB / 0.6032 GB, free: 8.617 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.291e-06/0.465, allocations: 0 / 0.6032 GB, free: 8.617 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.462e-06/0.465, allocations: 0 / 0.6032 GB, free: 8.617 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0001689/0.4652, allocations: 0 / 0.6032 GB, free: 8.617 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.009297/0.4745, allocations: 4.618 MB / 0.6077 GB, free: 3.941 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.994e-05/0.4746, allocations: 12.03 kB / 0.6077 GB, free: 3.93 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00105/0.4756, allocations: 0.707 MB / 0.6084 GB, free: 3.211 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006857/0.4825, allocations: 1.975 MB / 0.6103 GB, free: 1.23 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005837/0.4883, allocations: 2.333 MB / 0.6126 GB, free: 14.85 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002257/0.4885, allocations: 238.1 kB / 0.6128 GB, free: 14.61 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001164/0.4897, allocations: 411.7 kB / 0.6132 GB, free: 14.21 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02014/0.5098, allocations: 9.74 MB / 0.6227 GB, free: 3.797 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000138/0.51, allocations: 47.58 kB / 0.6228 GB, free: 3.75 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004456/0.5104, allocations: 155.9 kB / 0.6229 GB, free: 3.598 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002592/0.513, allocations: 1.763 MB / 0.6247 GB, free: 1.828 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01655/0.5296, allocations: 8.07 MB / 0.6325 GB, free: 9.738 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05349/0.5831, allocations: 38.09 MB / 0.6697 GB, free: 2.48 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009415/0.5925, allocations: 3.162 MB / 0.6728 GB, free: 15.29 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002592/0.5951, allocations: 1.549 MB / 0.6743 GB, free: 13.73 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01271/0.6078, allocations: 6.252 MB / 0.6804 GB, free: 7.441 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.306e-05/0.6078, allocations: 59.5 kB / 0.6805 GB, free: 7.375 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=141): time 3.897e-06/0.6078, allocations: 0 / 0.6805 GB, free: 7.375 MB / 0.5137 GB Notification: Performance of matching and sorting (n=148): time 0.03004/0.6379, allocations: 12.25 MB / 0.6925 GB, free: 11.04 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001584/0.6395, allocations: 1.607 MB / 0.694 GB, free: 9.277 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005569/0.645, allocations: 3.805 MB / 0.6977 GB, free: 5.484 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.000436/0.6455, allocations: 49.69 kB / 0.6978 GB, free: 5.43 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.002755/0.6482, allocations: 3.127 MB / 0.7008 GB, free: 2.273 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007951/0.649, allocations: 0.6281 MB / 0.7015 GB, free: 1.641 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001526/0.6505, allocations: 1.179 MB / 0.7026 GB, free: 460 kB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001276/0.6507, allocations: 309.1 kB / 0.7029 GB, free: 148 kB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003044/0.6537, allocations: 2.029 MB / 0.7049 GB, free: 14.11 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006049/0.6598, allocations: 5.653 MB / 0.7104 GB, free: 6.641 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01075/0.6705, allocations: 8.259 MB / 0.7185 GB, free: 12.58 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001204/0.6706, allocations: 36 kB / 0.7185 GB, free: 12.55 MB / 0.5606 GB Notification: Performance of matching and sorting (n=747) (initialization): time 0.02382/0.6945, allocations: 8.904 MB / 0.7272 GB, free: 3.617 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 9.587e-05/0.6945, allocations: 62.34 kB / 0.7273 GB, free: 3.559 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01003/0.7046, allocations: 3.339 MB / 0.7305 GB, free: 212 kB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.2875/0.9921, allocations: 1.925 MB / 0.7324 GB, free: 149.8 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004229/0.9963, allocations: 1.321 MB / 0.7337 GB, free: 149.8 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007127/1.003, allocations: 5.931 MB / 0.7395 GB, free: 146.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00455/1.008, allocations: 393.5 kB / 0.7399 GB, free: 146.7 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008631/1.009, allocations: 364.7 kB / 0.7402 GB, free: 146.7 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.002914/1.012, allocations: 2.006 MB / 0.7422 GB, free: 145.8 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005651/1.012, allocations: 339.5 kB / 0.7425 GB, free: 145.8 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007228/1.013, allocations: 436.9 kB / 0.7429 GB, free: 145.6 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.004002/1.017, allocations: 2.491 MB / 0.7453 GB, free: 144.8 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.112e-05/1.017, allocations: 3.938 kB / 0.7453 GB, free: 144.8 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.451e-05/1.017, allocations: 14.08 kB / 0.7454 GB, free: 144.8 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01296/1.03, allocations: 8.288 MB / 0.7535 GB, free: 141.7 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.775e-05/1.03, allocations: 7.281 kB / 0.7535 GB, free: 141.7 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001795/1.032, allocations: 250.6 kB / 0.7537 GB, free: 141.6 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004385/1.036, allocations: 1.034 MB / 0.7547 GB, free: 140.7 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002558/1.036, allocations: 36.84 kB / 0.7547 GB, free: 140.6 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007457/1.044, allocations: 5.132 MB / 0.7598 GB, free: 135.3 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001029/1.045, allocations: 1.471 MB / 0.7612 GB, free: 133.8 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0112/1.056, allocations: 5.219 MB / 0.7663 GB, free: 128.7 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001518/1.058, allocations: 322.7 kB / 0.7666 GB, free: 128.6 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006363/1.058, allocations: 31.98 kB / 0.7666 GB, free: 128.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001988/1.06, allocations: 135.8 kB / 0.7668 GB, free: 128.4 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000356/1.061, allocations: 100.8 kB / 0.7669 GB, free: 128.3 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00016/1.061, allocations: 43.98 kB / 0.7669 GB, free: 128.3 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.003381/1.064, allocations: 2.353 MB / 0.7692 GB, free: 125.9 MB / 0.5606 GB Notification: Performance of sort global known variables: time 9e-08/1.064, allocations: 4 kB / 0.7692 GB, free: 125.9 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.004606/1.069, allocations: 1.004 MB / 0.7702 GB, free: 124.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.00655/1.075, allocations: 5.87 MB / 0.7759 GB, free: 119 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.007865/1.083, allocations: 5.166 MB / 0.781 GB, free: 113.9 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 5.43e-06/1.083, allocations: 0 / 0.781 GB, free: 113.9 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.003195/1.086, allocations: 1.932 MB / 0.7828 GB, free: 112 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002265/1.089, allocations: 421.3 kB / 0.7832 GB, free: 111.6 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05974/1.148, allocations: 45.74 MB / 0.8279 GB, free: 60.25 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002882/1.151, allocations: 3.117 MB / 0.831 GB, free: 57.1 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.003798/1.155, allocations: 1.807 MB / 0.8327 GB, free: 55.28 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002444/1.158, allocations: 1.761 MB / 0.8344 GB, free: 53.52 MB / 0.5606 GB Notification: Performance of SimCode: time 1.703e-06/1.158, allocations: 0 / 0.8344 GB, free: 53.52 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1253/1.283, allocations: 72.34 MB / 0.9051 GB, free: 13.52 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 22.77/24.05, allocations: 8.062 kB / 0.9051 GB, free: 13.52 MB / 0.5919 GB " [Timeout remaining time 636] (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: 27.486963723997178] 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]'] 24.221880648001388 24.256514034 23.785047822 Calling exit ...