Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque.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.00139/0.00139, allocations: 105.7 kB / 19.74 MB, free: 2.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.001568/0.001568, allocations: 214.7 kB / 22.92 MB, free: 5.195 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.296/1.296, allocations: 230.5 MB / 256.4 MB, free: 8.262 MB / 206.1 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/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(Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Mechanics_MultiBody_Examples_Elementary_ForceAndTorque",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Mechanics_MultiBody_Examples_Elementary_ForceAndTorque",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex 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. Warning: Requested package ModelicaServices 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.001801/0.001801, allocations: 67.84 kB / 376.1 MB, free: 4.094 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2037/0.2055, allocations: 53.31 MB / 429.4 MB, free: 7.465 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque): time 0.01197/0.2174, allocations: 11.25 MB / 440.7 MB, free: 12.16 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.006885/0.2243, allocations: 4.097 MB / 444.8 MB, free: 8.055 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007695/0.2251, allocations: 67.81 kB / 444.8 MB, free: 7.988 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005142/0.2302, allocations: 3.216 MB / 448 MB, free: 4.762 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003704/0.2339, allocations: 1.937 MB / 450 MB, free: 2.82 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001599/0.2355, allocations: 0.8305 MB / 450.8 MB, free: 1.988 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.005546/0.2411, allocations: 4.397 MB / 455.2 MB, free: 13.58 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002954/0.244, allocations: 2.833 MB / 458 MB, free: 10.68 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001647/0.2457, allocations: 1.616 MB / 459.7 MB, free: 9.062 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002517/0.2482, allocations: 2.286 MB / 461.9 MB, free: 6.77 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004851/0.2487, allocations: 344 kB / 462.3 MB, free: 6.434 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001908/0.2506, allocations: 1.268 MB / 463.5 MB, free: 5.164 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001687/0.2523, allocations: 2.065 MB / 465.6 MB, free: 3.094 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001924/0.2542, allocations: 2.299 MB / 467.9 MB, free: 0.7812 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006781/0.261, allocations: 7.471 MB / 475.4 MB, free: 9.281 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.176e-06/0.261, allocations: 7.938 kB / 475.4 MB, free: 9.273 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.262e-06/0.261, allocations: 0 / 475.4 MB, free: 9.273 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.629e-05/0.2611, allocations: 0 / 475.4 MB, free: 9.273 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1541 * Number of variables: 1541 Notification: Performance of Generate backend data structure: time 0.008586/0.2696, allocations: 5.275 MB / 480.7 MB, free: 3.918 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.693e-05/0.2697, allocations: 8.031 kB / 480.7 MB, free: 3.91 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008028/0.2705, allocations: 0.7321 MB / 481.4 MB, free: 3.168 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02046/0.2909, allocations: 3.894 MB / 485.3 MB, free: 15.27 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005185/0.2961, allocations: 2.995 MB / 488.3 MB, free: 12.21 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001789/0.2963, allocations: 246.2 kB / 488.5 MB, free: 11.97 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006404/0.2969, allocations: 319.8 kB / 488.8 MB, free: 11.66 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01607/0.313, allocations: 10.38 MB / 499.2 MB, free: 0.5781 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.122e-05/0.3131, allocations: 43.64 kB / 499.3 MB, free: 0.5352 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003664/0.3135, allocations: 155.8 kB / 499.4 MB, free: 392 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003292/0.3168, allocations: 2.025 MB / 0.4897 GB, free: 14.36 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01481/0.3316, allocations: 8.788 MB / 0.4983 GB, free: 5.547 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2273/0.5589, allocations: 40.66 MB / 0.538 GB, free: 74.97 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01009/0.569, allocations: 4.26 MB / 0.5421 GB, free: 74.31 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00201/0.571, allocations: 2.229 MB / 0.5443 GB, free: 74.28 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007861/0.5789, allocations: 7.217 MB / 0.5514 GB, free: 71.61 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.505e-05/0.5789, allocations: 54.09 kB / 0.5514 GB, free: 71.56 MB / 446.1 MB Notification: Performance of pre-optimization done (n=177): time 4.027e-06/0.5789, allocations: 0 / 0.5514 GB, free: 71.56 MB / 446.1 MB Notification: Performance of matching and sorting (n=198): time 0.03658/0.6155, allocations: 18.01 MB / 0.569 GB, free: 59.38 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.521e-05/0.6155, allocations: 175.5 kB / 0.5692 GB, free: 59.16 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004169/0.6197, allocations: 4.582 MB / 0.5737 GB, free: 54.64 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001802/0.6199, allocations: 53.7 kB / 0.5737 GB, free: 54.59 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001118/0.621, allocations: 3.265 MB / 0.5769 GB, free: 51.5 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004117/0.6214, allocations: 0.7861 MB / 0.5777 GB, free: 50.72 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001083/0.6225, allocations: 1.25 MB / 0.5789 GB, free: 49.46 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 3.465e-05/0.6225, allocations: 305.1 kB / 0.5792 GB, free: 49.16 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00223/0.6248, allocations: 2.279 MB / 0.5814 GB, free: 46.88 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003188/0.628, allocations: 5.964 MB / 0.5872 GB, free: 39.23 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00622/0.6342, allocations: 8.95 MB / 0.596 GB, free: 28.66 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.957e-05/0.6342, allocations: 36 kB / 0.596 GB, free: 28.62 MB / 446.1 MB Notification: Performance of matching and sorting (n=802) (initialization): time 0.01017/0.6444, allocations: 8.815 MB / 0.6046 GB, free: 19.8 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.358e-05/0.6445, allocations: 60 kB / 0.6047 GB, free: 19.75 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.33e-05/0.6445, allocations: 128 kB / 0.6048 GB, free: 19.62 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001788/0.6463, allocations: 0.9459 MB / 0.6057 GB, free: 18.67 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003232/0.6495, allocations: 1.407 MB / 0.6071 GB, free: 17.26 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005601/0.6551, allocations: 6.518 MB / 0.6134 GB, free: 10.6 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003298/0.6584, allocations: 343.6 kB / 0.6138 GB, free: 10.27 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003116/0.6588, allocations: 372 kB / 0.6141 GB, free: 9.902 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 591 * Number of states: 0 () * Number of discrete variables: 46 (forceAndTorque.torqueArrow.twoHeadedArrow,forceAndTorque.torqueArrow.headAtOrigin,forceAndTorque.forceArrow.twoHeadedArrow,forceAndTorque.forceArrow.headAtOrigin,fixed2.color[3],fixed2.color[2],fixed2.color[1],revolute1.cylinderColor[3],revolute1.cylinderColor[2],revolute1.cylinderColor[1],revolute2.cylinderColor[3],revolute2.cylinderColor[2],revolute2.cylinderColor[1],forceAndTorque.connectionLineColor[3],forceAndTorque.connectionLineColor[2],forceAndTorque.connectionLineColor[1],forceAndTorque.torqueColor[3],forceAndTorque.torqueColor[2],forceAndTorque.torqueColor[1],forceAndTorque.forceColor[3],forceAndTorque.forceColor[2],forceAndTorque.forceColor[1],fixedRotation.color[3],fixedRotation.color[2],fixedRotation.color[1],fixed1.color[3],fixed1.color[2],fixed1.color[1],body.color[3],body.color[2],body.color[1],body.body.sphereColor[3],body.body.sphereColor[2],body.body.sphereColor[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],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (744): * Single equations (assignments): 738 * Array equations: 5 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,23,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002041/0.6608, allocations: 2.174 MB / 0.6163 GB, free: 7.723 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004008/0.6612, allocations: 413.2 kB / 0.6166 GB, free: 7.316 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004704/0.6659, allocations: 3.668 MB / 0.6202 GB, free: 3.633 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.877e-05/0.6659, allocations: 24 kB / 0.6203 GB, free: 3.609 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.275e-06/0.6659, allocations: 7.938 kB / 0.6203 GB, free: 3.602 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.247e-05/0.6659, allocations: 7.969 kB / 0.6203 GB, free: 3.594 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01261/0.6785, allocations: 9.041 MB / 0.6291 GB, free: 10.45 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.188e-05/0.6786, allocations: 8 kB / 0.6291 GB, free: 10.44 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001425/0.68, allocations: 327.5 kB / 0.6294 GB, free: 10.12 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001983/0.682, allocations: 0.7617 MB / 0.6302 GB, free: 9.355 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001289/0.6821, allocations: 43.94 kB / 0.6302 GB, free: 9.312 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008194/0.6903, allocations: 6.122 MB / 0.6362 GB, free: 3.059 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.492e-06/0.6903, allocations: 8 kB / 0.6362 GB, free: 3.051 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009508/0.6998, allocations: 6.602 MB / 0.6426 GB, free: 12.36 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001072/0.7009, allocations: 482.2 kB / 0.6431 GB, free: 11.86 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003928/0.7013, allocations: 39.98 kB / 0.6431 GB, free: 11.82 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00141/0.7027, allocations: 107.9 kB / 0.6432 GB, free: 11.72 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000316/0.703, allocations: 133 kB / 0.6434 GB, free: 11.59 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001383/0.7031, allocations: 55.98 kB / 0.6434 GB, free: 11.54 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.004179/0.7073, allocations: 2.932 MB / 0.6463 GB, free: 8.602 MB / 478.1 MB Notification: Performance of sort global known variables: time 8e-08/0.7073, allocations: 0 / 0.6463 GB, free: 8.602 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.004266/0.7116, allocations: 1.031 MB / 0.6473 GB, free: 7.574 MB / 478.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 25 * Number of states: 4 (revolute2.phi,revolute2.w,revolute1.phi,revolute1.w) * 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 (157): * Single equations (assignments): 153 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(4,18,75.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.009692/0.7213, allocations: 7.258 MB / 0.6544 GB, free: 228 kB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.008338/0.7296, allocations: 5.306 MB / 0.6596 GB, free: 10.93 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 9.999e-06/0.7296, allocations: 8 kB / 0.6596 GB, free: 10.92 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00315/0.7328, allocations: 1.844 MB / 0.6614 GB, free: 9.062 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002774/0.7355, allocations: 0.5003 MB / 0.6619 GB, free: 8.574 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06575/0.8013, allocations: 50.2 MB / 0.7109 GB, free: 488 kB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003542/0.8048, allocations: 3.359 MB / 0.7142 GB, free: 13.08 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.004071/0.8089, allocations: 2.026 MB / 0.7161 GB, free: 11.05 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002621/0.8115, allocations: 1.999 MB / 0.7181 GB, free: 9.047 MB / 0.545 GB Notification: Performance of SimCode: time 1.132e-06/0.8115, allocations: 0 / 0.7181 GB, free: 9.047 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2857/1.097, allocations: 77.45 MB / 0.7937 GB, free: 178.2 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 22.17/23.27, allocations: 8.062 kB / 0.7937 GB, free: 178.2 MB / 0.5606 GB " [Timeout remaining time 637] (rm -f Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque_res.mat --tempDir=temp_Modelica_4_1_0-beta_om_Modelica_Mechanics_MultiBody_Examples_Elementary_ForceAndTorque_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 Modelica_4_1_0-beta_om_Modelica_Mechanics_MultiBody_Examples_Elementary_ForceAndTorque.fmu > Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 25.51689135000197]