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.001547/0.001547, allocations: 103.2 kB / 20.44 MB, free: 1.195 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.001884/0.001884, allocations: 207.7 kB / 23.73 MB, free: 4.398 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.53/1.53, allocations: 230.5 MB / 257.4 MB, free: 7.762 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.2432/0.2432, allocations: 46.95 MB / 360.8 MB, free: 3.91 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.002974/0.002974, allocations: 75.88 kB / 0.4961 GB, free: 7.543 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3254/0.3284, allocations: 66.09 MB / 0.5607 GB, free: 4.035 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Frames.AngularVelocity): time 0.01247/0.3409, allocations: 9.704 MB / 0.5701 GB, free: 10.29 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.008503/0.3494, allocations: 3.894 MB / 0.5739 GB, free: 6.383 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001555/0.3509, allocations: 79.62 kB / 0.574 GB, free: 6.305 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005274/0.3562, allocations: 2.722 MB / 0.5767 GB, free: 3.574 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004622/0.3608, allocations: 1.806 MB / 0.5784 GB, free: 1.762 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001605/0.3624, allocations: 0.698 MB / 0.5791 GB, free: 1.062 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.005257/0.3677, allocations: 3.68 MB / 0.5827 GB, free: 13.37 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003539/0.3712, allocations: 2.874 MB / 0.5855 GB, free: 10.43 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002352/0.3736, allocations: 1.526 MB / 0.587 GB, free: 8.898 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00313/0.3767, allocations: 2.145 MB / 0.5891 GB, free: 6.746 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006992/0.3774, allocations: 328 kB / 0.5894 GB, free: 6.426 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002166/0.3796, allocations: 1.1 MB / 0.5905 GB, free: 5.324 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002007/0.3816, allocations: 1.924 MB / 0.5924 GB, free: 3.395 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00215/0.3837, allocations: 1.6 MB / 0.5939 GB, free: 1.785 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007894/0.3916, allocations: 6.887 MB / 0.6007 GB, free: 10.87 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.622e-06/0.3916, allocations: 0 / 0.6007 GB, free: 10.87 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.3916, allocations: 0 / 0.6007 GB, free: 10.87 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0001938/0.3918, allocations: 4 kB / 0.6007 GB, free: 10.87 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.009611/0.4014, allocations: 4.607 MB / 0.6052 GB, free: 6.203 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.926e-05/0.4015, allocations: 16.02 kB / 0.6052 GB, free: 6.188 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0009862/0.4025, allocations: 0.7031 MB / 0.6059 GB, free: 5.473 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006774/0.4092, allocations: 1.975 MB / 0.6078 GB, free: 3.492 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005023/0.4143, allocations: 2.341 MB / 0.6101 GB, free: 1.105 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002074/0.4145, allocations: 250.1 kB / 0.6103 GB, free: 0.8594 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001052/0.4155, allocations: 411.7 kB / 0.6107 GB, free: 468 kB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01838/0.4339, allocations: 9.794 MB / 0.6203 GB, free: 5.977 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001279/0.434, allocations: 47.58 kB / 0.6203 GB, free: 5.93 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004185/0.4345, allocations: 151.9 kB / 0.6205 GB, free: 5.781 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00263/0.4371, allocations: 1.767 MB / 0.6222 GB, free: 4.008 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0171/0.4542, allocations: 8.058 MB / 0.6301 GB, free: 11.93 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04757/0.5018, allocations: 36.58 MB / 0.6658 GB, free: 6.219 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009459/0.5112, allocations: 3.141 MB / 0.6689 GB, free: 3.043 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002379/0.5136, allocations: 1.559 MB / 0.6704 GB, free: 1.477 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01082/0.5244, allocations: 5.913 MB / 0.6762 GB, free: 11.53 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.271e-05/0.5245, allocations: 51.5 kB / 0.6762 GB, free: 11.47 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=141): time 5.06e-06/0.5245, allocations: 4 kB / 0.6762 GB, free: 11.46 MB / 0.5137 GB Notification: Performance of matching and sorting (n=148): time 0.03/0.5545, allocations: 12.26 MB / 0.6882 GB, free: 15.12 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001448/0.5559, allocations: 1.611 MB / 0.6898 GB, free: 13.35 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005358/0.5613, allocations: 3.809 MB / 0.6935 GB, free: 9.555 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0003051/0.5616, allocations: 45.7 kB / 0.6935 GB, free: 9.504 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.002317/0.5639, allocations: 3.131 MB / 0.6966 GB, free: 6.344 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.000812/0.5647, allocations: 0.6281 MB / 0.6972 GB, free: 5.711 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001564/0.5663, allocations: 1.179 MB / 0.6983 GB, free: 4.52 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001178/0.5664, allocations: 305.2 kB / 0.6986 GB, free: 4.219 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003044/0.5694, allocations: 2.041 MB / 0.7006 GB, free: 2.172 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005882/0.5753, allocations: 5.642 MB / 0.7061 GB, free: 10.71 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01035/0.5857, allocations: 8.258 MB / 0.7142 GB, free: 0.6562 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001271/0.5858, allocations: 40 kB / 0.7142 GB, free: 0.6172 MB / 0.545 GB Notification: Performance of matching and sorting (n=747) (initialization): time 0.02062/0.6064, allocations: 8.903 MB / 0.7229 GB, free: 7.691 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001046/0.6065, allocations: 60 kB / 0.723 GB, free: 7.633 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01051/0.617, allocations: 3.339 MB / 0.7262 GB, free: 4.281 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009593/0.6266, allocations: 1.93 MB / 0.7281 GB, free: 2.336 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004879/0.6315, allocations: 1.314 MB / 0.7294 GB, free: 1.02 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3226/0.9541, allocations: 5.867 MB / 0.7351 GB, free: 147 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004322/0.9584, allocations: 396.4 kB / 0.7355 GB, free: 146.9 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006838/0.9591, allocations: 365.4 kB / 0.7359 GB, free: 146.9 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.002694/0.9618, allocations: 1.997 MB / 0.7378 GB, free: 146.1 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004682/0.9623, allocations: 338.6 kB / 0.7381 GB, free: 146.1 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006484/0.9629, allocations: 433.5 kB / 0.7386 GB, free: 145.9 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.004109/0.967, allocations: 2.505 MB / 0.741 GB, free: 145.1 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.125e-05/0.9671, allocations: 3.906 kB / 0.741 GB, free: 145.1 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.433e-05/0.9671, allocations: 7.359 kB / 0.741 GB, free: 145.1 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01272/0.9798, allocations: 7.961 MB / 0.7488 GB, free: 142.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.252e-05/0.9798, allocations: 3.875 kB / 0.7488 GB, free: 142.2 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001135/0.9809, allocations: 248.4 kB / 0.749 GB, free: 142.2 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00283/0.9838, allocations: 1.045 MB / 0.7501 GB, free: 142 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001428/0.9839, allocations: 34.92 kB / 0.7501 GB, free: 142 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004887/0.9888, allocations: 5.095 MB / 0.7551 GB, free: 138.3 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0009129/0.9897, allocations: 1.465 MB / 0.7565 GB, free: 136.8 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007199/0.9969, allocations: 5.22 MB / 0.7616 GB, free: 132.1 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009484/0.9979, allocations: 331.7 kB / 0.7619 GB, free: 131.9 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003644/0.9982, allocations: 35.92 kB / 0.7619 GB, free: 131.9 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001323/0.9995, allocations: 135.8 kB / 0.7621 GB, free: 131.8 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002656/0.9998, allocations: 95.81 kB / 0.7622 GB, free: 131.7 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001068/0.9999, allocations: 39.98 kB / 0.7622 GB, free: 131.6 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.002738/1.003, allocations: 2.356 MB / 0.7645 GB, free: 129.3 MB / 0.5606 GB Notification: Performance of sort global known variables: time 9e-08/1.003, allocations: 0 / 0.7645 GB, free: 129.3 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.004121/1.007, allocations: 1 MB / 0.7655 GB, free: 128.3 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.006574/1.013, allocations: 5.869 MB / 0.7712 GB, free: 122.4 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.007952/1.021, allocations: 5.166 MB / 0.7763 GB, free: 117.3 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 8.025e-06/1.021, allocations: 0 / 0.7763 GB, free: 117.3 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.003385/1.025, allocations: 1.922 MB / 0.7781 GB, free: 115.4 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002797/1.027, allocations: 432 kB / 0.7785 GB, free: 115 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06335/1.091, allocations: 45.73 MB / 0.8232 GB, free: 63.71 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002473/1.093, allocations: 2.588 MB / 0.8257 GB, free: 61.09 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.003245/1.097, allocations: 1.798 MB / 0.8275 GB, free: 59.28 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001918/1.098, allocations: 1.765 MB / 0.8292 GB, free: 57.51 MB / 0.5606 GB Notification: Performance of SimCode: time 1.122e-06/1.098, allocations: 0 / 0.8292 GB, free: 57.51 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1268/1.225, allocations: 70.87 MB / 0.8984 GB, free: 3.25 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 22.2/23.42, allocations: 3.922 kB / 0.8984 GB, free: 3.246 MB / 0.5762 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: 26.76224871600425] 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]'] 23.59413304500049 23.620273008 23.223451051 Calling exit ...