Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_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.001189/0.001189, allocations: 105.7 kB / 19.74 MB, free: 2.562 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.001616/0.001616, allocations: 216.9 kB / 22.92 MB, free: 5.551 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.278/1.278, allocations: 230.2 MB / 256.2 MB, free: 8.617 MB / 206.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.1962/0.1962, allocations: 46.88 MB / 359.3 MB, free: 4.984 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/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_4_1_0-beta_om_ModelicaTest_MultiBody_Frames_AngularVelocity",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Frames.AngularVelocity,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_MultiBody_Frames_AngularVelocity",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002122/0.002122, allocations: 83.88 kB / 0.494 GB, free: 9.129 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2442/0.2463, allocations: 66 MB / 0.5584 GB, free: 5.23 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Frames.AngularVelocity): time 0.01206/0.2583, allocations: 11.2 MB / 0.5693 GB, free: 9.98 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.006861/0.2652, allocations: 4.135 MB / 0.5734 GB, free: 5.828 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007203/0.2659, allocations: 71.75 kB / 0.5734 GB, free: 5.758 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004635/0.2706, allocations: 2.842 MB / 0.5762 GB, free: 2.906 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003157/0.2737, allocations: 1.798 MB / 0.578 GB, free: 1.102 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001216/0.2749, allocations: 0.6941 MB / 0.5787 GB, free: 416 kB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.004103/0.279, allocations: 3.68 MB / 0.5823 GB, free: 12.71 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002952/0.282, allocations: 2.656 MB / 0.5848 GB, free: 9.992 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001873/0.2839, allocations: 1.511 MB / 0.5863 GB, free: 8.477 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002691/0.2866, allocations: 2.146 MB / 0.5884 GB, free: 6.324 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005353/0.2871, allocations: 328 kB / 0.5887 GB, free: 6.004 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002053/0.2891, allocations: 1.217 MB / 0.5899 GB, free: 4.785 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001773/0.2909, allocations: 1.924 MB / 0.5918 GB, free: 2.855 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002083/0.293, allocations: 2.156 MB / 0.5939 GB, free: 0.6875 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006876/0.2999, allocations: 6.863 MB / 0.6006 GB, free: 9.797 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.961e-06/0.2999, allocations: 4 kB / 0.6006 GB, free: 9.793 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.422e-06/0.2999, allocations: 0 / 0.6006 GB, free: 9.793 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.000111/0.3, allocations: 4 kB / 0.6006 GB, free: 9.789 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.00754/0.3075, allocations: 4.682 MB / 0.6052 GB, free: 5.031 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.976e-05/0.3076, allocations: 12.03 kB / 0.6052 GB, free: 5.02 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008115/0.3084, allocations: 0.7031 MB / 0.6059 GB, free: 4.305 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006478/0.3149, allocations: 1.971 MB / 0.6078 GB, free: 2.328 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003878/0.3187, allocations: 2.405 MB / 0.6102 GB, free: 15.86 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000178/0.3189, allocations: 242.1 kB / 0.6104 GB, free: 15.62 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007901/0.3197, allocations: 407.7 kB / 0.6108 GB, free: 15.23 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0146/0.3343, allocations: 9.744 MB / 0.6203 GB, free: 4.809 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001076/0.3344, allocations: 51.5 kB / 0.6203 GB, free: 4.758 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003778/0.3348, allocations: 151.9 kB / 0.6205 GB, free: 4.609 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002546/0.3373, allocations: 1.763 MB / 0.6222 GB, free: 2.844 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01441/0.3518, allocations: 8.078 MB / 0.6301 GB, free: 10.74 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04358/0.3953, allocations: 38.25 MB / 0.6674 GB, free: 3.348 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009421/0.4048, allocations: 3.608 MB / 0.671 GB, free: 15.59 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002121/0.4069, allocations: 1.551 MB / 0.6725 GB, free: 14.02 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01059/0.4175, allocations: 7.905 MB / 0.6802 GB, free: 5.672 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.067e-05/0.4175, allocations: 51.5 kB / 0.6803 GB, free: 5.613 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=141): time 2.845e-06/0.4175, allocations: 0 / 0.6803 GB, free: 5.613 MB / 0.5137 GB Notification: Performance of matching and sorting (n=148): time 0.0287/0.4462, allocations: 12.55 MB / 0.6925 GB, free: 8.906 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001355/0.4476, allocations: 1.719 MB / 0.6942 GB, free: 7.012 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00505/0.4526, allocations: 3.805 MB / 0.6979 GB, free: 3.219 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0001322/0.4527, allocations: 45.98 kB / 0.698 GB, free: 3.168 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.002209/0.455, allocations: 3.131 MB / 0.701 GB, free: 8 kB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006375/0.4556, allocations: 0.6322 MB / 0.7016 GB, free: 15.37 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001548/0.4571, allocations: 1.163 MB / 0.7028 GB, free: 14.19 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001196/0.4573, allocations: 312.9 kB / 0.7031 GB, free: 13.89 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00301/0.4603, allocations: 2.037 MB / 0.705 GB, free: 11.84 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005662/0.4659, allocations: 5.642 MB / 0.7106 GB, free: 4.387 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00909/0.475, allocations: 8.266 MB / 0.7186 GB, free: 10.32 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.906e-05/0.4751, allocations: 36 kB / 0.7187 GB, free: 10.29 MB / 0.5606 GB Notification: Performance of matching and sorting (n=747) (initialization): time 0.01817/0.4933, allocations: 8.905 MB / 0.7274 GB, free: 1.359 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001115/0.4934, allocations: 60 kB / 0.7274 GB, free: 1.301 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.1995/0.6928, allocations: 3.335 MB / 0.7307 GB, free: 151 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008126/0.701, allocations: 1.932 MB / 0.7326 GB, free: 151 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003237/0.7042, allocations: 1.318 MB / 0.7338 GB, free: 151 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006307/0.7105, allocations: 6.133 MB / 0.7398 GB, free: 147.4 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003448/0.714, allocations: 403.1 kB / 0.7402 GB, free: 147.3 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003093/0.7143, allocations: 357.8 kB / 0.7406 GB, free: 147.3 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.001894/0.7162, allocations: 2.008 MB / 0.7425 GB, free: 146.4 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003392/0.7165, allocations: 333.3 kB / 0.7428 GB, free: 146.4 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005981/0.7171, allocations: 434.6 kB / 0.7433 GB, free: 146.2 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.003758/0.7209, allocations: 2.505 MB / 0.7457 GB, free: 145.4 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.652e-06/0.7209, allocations: 3 kB / 0.7457 GB, free: 145.4 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.069e-05/0.7209, allocations: 10.17 kB / 0.7457 GB, free: 145.4 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009873/0.7308, allocations: 8.429 MB / 0.7539 GB, free: 140.1 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.472e-06/0.7308, allocations: 4 kB / 0.754 GB, free: 140 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009751/0.7317, allocations: 243.6 kB / 0.7542 GB, free: 139.8 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002465/0.7342, allocations: 1.041 MB / 0.7552 GB, free: 138.8 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.347e-05/0.7343, allocations: 42.88 kB / 0.7552 GB, free: 138.7 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003951/0.7382, allocations: 5.337 MB / 0.7605 GB, free: 133.2 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0006131/0.7389, allocations: 1.566 MB / 0.762 GB, free: 131.5 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005652/0.7445, allocations: 5.223 MB / 0.7671 GB, free: 126.4 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004891/0.745, allocations: 398.5 kB / 0.7675 GB, free: 126.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000278/0.7453, allocations: 39.89 kB / 0.7675 GB, free: 126.1 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001206/0.7465, allocations: 131.8 kB / 0.7676 GB, free: 126 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001873/0.7467, allocations: 93.05 kB / 0.7677 GB, free: 125.9 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.46e-05/0.7468, allocations: 39.98 kB / 0.7678 GB, free: 125.9 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.002192/0.749, allocations: 2.356 MB / 0.7701 GB, free: 123.5 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8.1e-08/0.749, allocations: 3.938 kB / 0.7701 GB, free: 123.5 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.003256/0.7522, allocations: 1.005 MB / 0.771 GB, free: 122.5 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.005816/0.758, allocations: 5.873 MB / 0.7768 GB, free: 116.6 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.006829/0.7649, allocations: 5.309 MB / 0.782 GB, free: 111.3 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 5.02e-06/0.7649, allocations: 4 kB / 0.782 GB, free: 111.3 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.00311/0.768, allocations: 2.07 MB / 0.784 GB, free: 109.2 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002136/0.7701, allocations: 432.1 kB / 0.7844 GB, free: 108.8 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05009/0.8202, allocations: 45.73 MB / 0.8291 GB, free: 57.52 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002185/0.8224, allocations: 3.117 MB / 0.8321 GB, free: 54.37 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.002895/0.8253, allocations: 1.798 MB / 0.8339 GB, free: 52.56 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001512/0.8268, allocations: 1.765 MB / 0.8356 GB, free: 50.8 MB / 0.5606 GB Notification: Performance of SimCode: time 9.51e-07/0.8268, allocations: 0 / 0.8356 GB, free: 50.8 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1049/0.9317, allocations: 67.98 MB / 0.902 GB, free: 15.14 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 18.73/19.66, allocations: 3.938 kB / 0.902 GB, free: 15.14 MB / 0.5919 GB " [Timeout remaining time 640] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Frames.AngularVelocity.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Frames.AngularVelocity.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Frames.AngularVelocity.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Frames.AngularVelocity.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Frames.AngularVelocity_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_MultiBody_Frames_AngularVelocity_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_MultiBody_Frames_AngularVelocity.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Frames.AngularVelocity.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 22.233071338006994]