Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) 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.Forces.FrameForcesAndTorques,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_MultiBody_Forces_FrameForcesAndTorques",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.FrameForcesAndTorques,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_MultiBody_Forces_FrameForcesAndTorques",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001923/0.001923, allocations: 103.9 kB / 17.63 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002224/0.002224, allocations: 210.4 kB / 18.58 MB, free: 4.578 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.453/1.453, allocations: 227.4 MB / 246.8 MB, free: 10.59 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2296/0.2296, allocations: 46.12 MB / 344.2 MB, free: 11.58 MB / 286.1 MB 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.002292/0.002292, allocations: 83.92 kB / 417.8 MB, free: 19.62 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.124/0.1263, allocations: 62.46 MB / 480.2 MB, free: 5.148 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.FrameForcesAndTorques): time 0.01707/0.1434, allocations: 14.54 MB / 494.8 MB, free: 6.539 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01085/0.1543, allocations: 4.917 MB / 499.7 MB, free: 1.605 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002735/0.1571, allocations: 99.69 kB / 499.8 MB, free: 1.508 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008855/0.166, allocations: 4.739 MB / 0.4927 GB, free: 12.75 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007588/0.1736, allocations: 2.385 MB / 0.495 GB, free: 10.36 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002969/0.1766, allocations: 1.131 MB / 0.4961 GB, free: 9.227 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.01296/0.1896, allocations: 6.718 MB / 0.5027 GB, free: 2.496 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.2715/0.4611, allocations: 5.749 MB / 0.5083 GB, free: 13.22 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005286/0.4665, allocations: 2.323 MB / 0.5106 GB, free: 13.09 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005897/0.4724, allocations: 3.089 MB / 0.5136 GB, free: 12.76 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002347/0.4748, allocations: 0.5002 MB / 0.5141 GB, free: 12.75 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00447/0.4792, allocations: 1.53 MB / 0.5156 GB, free: 12.75 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004357/0.4836, allocations: 2.87 MB / 0.5184 GB, free: 12.47 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004735/0.4884, allocations: 3.315 MB / 0.5216 GB, free: 11.32 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0129/0.5013, allocations: 10.04 MB / 0.5314 GB, free: 7.648 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.456e-06/0.5013, allocations: 3.75 kB / 0.5314 GB, free: 7.648 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.793e-06/0.5014, allocations: 0 / 0.5314 GB, free: 7.648 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0004638/0.5018, allocations: 0 / 0.5314 GB, free: 7.648 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: 2099 * Number of variables: 2099 Notification: Performance of Generate backend data structure: time 0.02175/0.5236, allocations: 7.361 MB / 0.5386 GB, free: 2.77 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.039e-05/0.5236, allocations: 8.719 kB / 0.5386 GB, free: 2.77 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002809/0.5265, allocations: 0.994 MB / 0.5396 GB, free: 2.125 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03897/0.5655, allocations: 6.142 MB / 0.5456 GB, free: 15.09 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01255/0.5781, allocations: 4.486 MB / 0.55 GB, free: 11.22 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004483/0.5786, allocations: 349.8 kB / 0.5503 GB, free: 10.92 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002638/0.5812, allocations: 478.5 kB / 0.5508 GB, free: 10.5 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03924/0.6205, allocations: 14.37 MB / 0.5648 GB, free: 11.42 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003874/0.6209, allocations: 64.55 kB / 0.5648 GB, free: 11.38 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002345/0.6233, allocations: 217.6 kB / 0.5651 GB, free: 11.21 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005801/0.6291, allocations: 2.635 MB / 0.5676 GB, free: 8.613 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03055/0.6597, allocations: 12.11 MB / 0.5795 GB, free: 12.73 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08816/0.7479, allocations: 55.18 MB / 0.6333 GB, free: 4.82 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01757/0.7656, allocations: 5.671 MB / 0.6389 GB, free: 15 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005367/0.771, allocations: 3.524 MB / 0.6423 GB, free: 11.47 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01778/0.7888, allocations: 7.931 MB / 0.6501 GB, free: 3.496 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.963e-05/0.7889, allocations: 54.94 kB / 0.6501 GB, free: 3.438 MB / 494.1 MB Notification: Performance of pre-optimization done (n=227): time 6.522e-06/0.7889, allocations: 4 kB / 0.6501 GB, free: 3.434 MB / 494.1 MB Notification: Performance of matching and sorting (n=269): time 0.09155/0.8805, allocations: 28.91 MB / 0.6784 GB, free: 6.324 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001978/0.8807, allocations: 247.2 kB / 0.6786 GB, free: 6.039 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01446/0.8952, allocations: 6.324 MB / 0.6848 GB, free: 15.71 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0008794/0.8961, allocations: 71.66 kB / 0.6848 GB, free: 15.63 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.004392/0.9005, allocations: 4.244 MB / 0.689 GB, free: 11.39 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.001878/0.9024, allocations: 1.016 MB / 0.69 GB, free: 10.38 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.005359/0.9078, allocations: 1.608 MB / 0.6915 GB, free: 8.77 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001319/0.908, allocations: 309.1 kB / 0.6918 GB, free: 8.465 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006078/0.9141, allocations: 3.213 MB / 0.695 GB, free: 5.246 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01091/0.925, allocations: 7.837 MB / 0.7026 GB, free: 11.2 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.2643/1.189, allocations: 11.97 MB / 0.7143 GB, free: 183.2 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001987/1.19, allocations: 45.41 kB / 0.7144 GB, free: 183.2 MB / 0.545 GB Notification: Performance of matching and sorting (n=1025) (initialization): time 0.02563/1.215, allocations: 12.38 MB / 0.7264 GB, free: 180.4 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002591/1.216, allocations: 79.78 kB / 0.7265 GB, free: 180.4 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003821/1.216, allocations: 161.8 kB / 0.7267 GB, free: 180.4 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00508/1.221, allocations: 1.766 MB / 0.7284 GB, free: 180 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006519/1.228, allocations: 1.804 MB / 0.7302 GB, free: 179.8 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01499/1.243, allocations: 12.9 MB / 0.7428 GB, free: 173 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007005/1.25, allocations: 450.7 kB / 0.7432 GB, free: 172.9 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001637/1.251, allocations: 483 kB / 0.7437 GB, free: 172.8 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 738 * Number of states: 0 () * Number of discrete variables: 65 (frameTorque2.torqueArrow.twoHeadedArrow,frameTorque2.torqueArrow.headAtOrigin,frameTorque2.forceArrow.twoHeadedArrow,frameTorque2.forceArrow.headAtOrigin,frameTorque1.torqueArrow.twoHeadedArrow,frameTorque1.torqueArrow.headAtOrigin,frameTorque1.forceArrow.twoHeadedArrow,frameTorque1.forceArrow.headAtOrigin,FixedRotation1.color[3],FixedRotation1.color[2],FixedRotation1.color[1],Revolute4.cylinderColor[3],Revolute4.cylinderColor[2],Revolute4.cylinderColor[1],Revolute3.cylinderColor[3],Revolute3.cylinderColor[2],Revolute3.cylinderColor[1],Revolute2.cylinderColor[3],Revolute2.cylinderColor[2],Revolute2.cylinderColor[1],frameTorque2.torqueColor[3],frameTorque2.torqueColor[2],frameTorque2.torqueColor[1],frameTorque2.forceColor[3],frameTorque2.forceColor[2],frameTorque2.forceColor[1],frameTorque1.torqueColor[3],frameTorque1.torqueColor[2],frameTorque1.torqueColor[1],frameTorque1.forceColor[3],frameTorque1.forceColor[2],frameTorque1.forceColor[1],fixed2.color[3],fixed2.color[2],fixed2.color[1],body2.color[3],body2.color[2],body2.color[1],body2.body.sphereColor[3],body2.body.sphereColor[2],body2.body.sphereColor[1],fixed1.color[3],fixed1.color[2],fixed1.color[1],body1.color[3],body1.color[2],body1.color[1],body1.body.sphereColor[3],body1.body.sphereColor[2],body1.body.sphereColor[1],Revolute1.cylinderColor[3],Revolute1.cylinderColor[2],Revolute1.cylinderColor[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 (943): * Single equations (assignments): 936 * Array equations: 5 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(2,23,100.0%), (2,23,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.005838/1.257, allocations: 2.88 MB / 0.7465 GB, free: 171.6 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001228/1.258, allocations: 0.5336 MB / 0.747 GB, free: 171.6 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01049/1.269, allocations: 6.247 MB / 0.7531 GB, free: 169.3 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.66e-05/1.269, allocations: 31.28 kB / 0.7531 GB, free: 169.3 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.464e-05/1.269, allocations: 15.61 kB / 0.7531 GB, free: 169.3 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.333e-05/1.269, allocations: 11.44 kB / 0.7531 GB, free: 169.3 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.026/1.295, allocations: 13.71 MB / 0.7665 GB, free: 158.6 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.732e-05/1.295, allocations: 3.828 kB / 0.7665 GB, free: 158.6 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002168/1.297, allocations: 453.6 kB / 0.767 GB, free: 158.2 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003588/1.301, allocations: 1.531 MB / 0.7685 GB, free: 156.7 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004165/1.301, allocations: 51.98 kB / 0.7685 GB, free: 156.6 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01288/1.314, allocations: 12.07 MB / 0.7803 GB, free: 144.4 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.741e-06/1.314, allocations: 8.812 kB / 0.7803 GB, free: 144.4 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01318/1.327, allocations: 10.13 MB / 0.7902 GB, free: 134.3 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001797/1.329, allocations: 0.611 MB / 0.7908 GB, free: 133.7 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001865/1.331, allocations: 44 kB / 0.7908 GB, free: 133.6 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003437/1.335, allocations: 176.6 kB / 0.791 GB, free: 133.5 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007621/1.335, allocations: 161.7 kB / 0.7912 GB, free: 133.3 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004147/1.336, allocations: 72.69 kB / 0.7912 GB, free: 133.2 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.008763/1.345, allocations: 4.079 MB / 0.7952 GB, free: 129.2 MB / 0.545 GB Notification: Performance of sort global known variables: time 5.72e-07/1.345, allocations: 0 / 0.7952 GB, free: 129.2 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.009259/1.354, allocations: 1.461 MB / 0.7966 GB, free: 127.7 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 8 (Revolute1.phi,Revolute1.w,Revolute3.phi,Revolute3.w,Revolute2.phi,Revolute2.w,Revolute4.phi,Revolute4.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 (211): * Single equations (assignments): 206 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(4,18,75.0%), (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.01624/1.37, allocations: 10.8 MB / 0.8072 GB, free: 116.8 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.01544/1.386, allocations: 9.481 MB / 0.8164 GB, free: 107.4 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.134e-05/1.386, allocations: 0 / 0.8164 GB, free: 107.4 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.005694/1.391, allocations: 3.151 MB / 0.8195 GB, free: 104.2 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007269/1.399, allocations: 0.7476 MB / 0.8203 GB, free: 103.4 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1226/1.521, allocations: 88.08 MB / 0.9063 GB, free: 3.984 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006349/1.528, allocations: 4.427 MB / 0.9106 GB, free: 15.52 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.00802/1.536, allocations: 2.612 MB / 0.9131 GB, free: 12.9 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005858/1.542, allocations: 2.85 MB / 0.9159 GB, free: 10.05 MB / 0.5606 GB Notification: Performance of SimCode: time 1.623e-06/1.542, allocations: 0 / 0.9159 GB, free: 10.05 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4001/1.942, allocations: 117.7 MB / 1.031 GB, free: 120.4 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.1/15.04, allocations: 8.797 kB / 1.031 GB, free: 120.4 MB / 0.5606 GB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_MultiBody_Forces_FrameForcesAndTorques_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_MultiBody_Forces_FrameForcesAndTorques.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques.pipe 2>&1)