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.001742/0.001742, allocations: 117.2 kB / 17.78 MB, free: 5.379 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00198/0.00198, allocations: 200.6 kB / 18.72 MB, free: 4.438 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.429/1.429, allocations: 227.4 MB / 247 MB, free: 10.47 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.2233/0.2233, allocations: 46.11 MB / 344.3 MB, free: 11.48 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.002676/0.002676, allocations: 79.86 kB / 480.9 MB, free: 4.527 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3297/0.3324, allocations: 62.44 MB / 0.5306 GB, free: 13.39 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.FrameForcesAndTorques): time 0.01808/0.3505, allocations: 14.55 MB / 0.5448 GB, free: 1.965 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01162/0.3622, allocations: 4.926 MB / 0.5496 GB, free: 14.08 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003291/0.3655, allocations: 102.1 kB / 0.5497 GB, free: 14.06 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.009522/0.3751, allocations: 4.739 MB / 0.5543 GB, free: 9.367 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007585/0.3828, allocations: 2.377 MB / 0.5567 GB, free: 6.98 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003421/0.3862, allocations: 1.139 MB / 0.5578 GB, free: 5.84 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.01473/0.401, allocations: 6.716 MB / 0.5643 GB, free: 15.11 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01155/0.4126, allocations: 5.736 MB / 0.5699 GB, free: 9.309 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006076/0.4187, allocations: 2.337 MB / 0.5722 GB, free: 6.965 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00552/0.4243, allocations: 3.084 MB / 0.5752 GB, free: 3.871 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002516/0.4268, allocations: 0.4961 MB / 0.5757 GB, free: 3.375 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005934/0.4328, allocations: 1.533 MB / 0.5772 GB, free: 1.84 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005858/0.4387, allocations: 2.879 MB / 0.58 GB, free: 14.95 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.008848/0.4476, allocations: 3.309 MB / 0.5833 GB, free: 11.62 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01763/0.4653, allocations: 10.39 MB / 0.5934 GB, free: 1.195 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.13e-05/0.4654, allocations: 0 / 0.5934 GB, free: 1.195 MB / 446.1 MB Notification: Performance of FrontEnd: time 3.737e-06/0.4654, allocations: 0 / 0.5934 GB, free: 1.195 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0004384/0.4659, allocations: 4 kB / 0.5934 GB, free: 1.191 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: 2099 * Number of variables: 2099 Notification: Performance of Generate backend data structure: time 0.02219/0.4881, allocations: 7.546 MB / 0.6008 GB, free: 9.543 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.657e-05/0.4881, allocations: 8.031 kB / 0.6008 GB, free: 9.535 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002975/0.4911, allocations: 1 MB / 0.6018 GB, free: 8.523 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03916/0.5303, allocations: 6.175 MB / 0.6078 GB, free: 2.336 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01075/0.5411, allocations: 4.598 MB / 0.6123 GB, free: 13.66 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003339/0.5415, allocations: 357.1 kB / 0.6126 GB, free: 13.3 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001619/0.5431, allocations: 471.7 kB / 0.6131 GB, free: 12.84 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02951/0.5726, allocations: 14.35 MB / 0.6271 GB, free: 13.53 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002004/0.5729, allocations: 67.45 kB / 0.6272 GB, free: 13.46 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008345/0.5737, allocations: 223.8 kB / 0.6274 GB, free: 13.24 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005037/0.5788, allocations: 2.633 MB / 0.6299 GB, free: 10.6 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02697/0.6058, allocations: 12.13 MB / 0.6418 GB, free: 14.45 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07448/0.6803, allocations: 55.03 MB / 0.6955 GB, free: 5.961 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01572/0.6961, allocations: 5.654 MB / 0.701 GB, free: 152 kB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005089/0.7012, allocations: 3.515 MB / 0.7045 GB, free: 12.61 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0144/0.7156, allocations: 7.936 MB / 0.7122 GB, free: 4.57 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.32e-05/0.7157, allocations: 72.08 kB / 0.7123 GB, free: 4.492 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=227): time 4.909e-06/0.7157, allocations: 0 / 0.7123 GB, free: 4.492 MB / 0.5606 GB Notification: Performance of matching and sorting (n=269): time 0.3185/1.034, allocations: 29.32 MB / 0.7409 GB, free: 155.5 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.752e-05/1.034, allocations: 234.6 kB / 0.7412 GB, free: 155.2 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007932/1.042, allocations: 6.342 MB / 0.7474 GB, free: 150 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0007478/1.043, allocations: 65.7 kB / 0.7474 GB, free: 149.9 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.002343/1.045, allocations: 4.405 MB / 0.7517 GB, free: 146 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.001069/1.047, allocations: 1.069 MB / 0.7528 GB, free: 144.9 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001721/1.048, allocations: 1.611 MB / 0.7543 GB, free: 143.3 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 4.448e-05/1.048, allocations: 309.1 kB / 0.7546 GB, free: 143 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003469/1.052, allocations: 3.213 MB / 0.7578 GB, free: 139.8 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004754/1.057, allocations: 7.836 MB / 0.7654 GB, free: 129.8 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009446/1.066, allocations: 11.98 MB / 0.7771 GB, free: 115.5 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.692e-05/1.066, allocations: 48 kB / 0.7772 GB, free: 115.5 MB / 0.5606 GB Notification: Performance of matching and sorting (n=1025) (initialization): time 0.0169/1.083, allocations: 12.39 MB / 0.7893 GB, free: 103.1 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001259/1.083, allocations: 75.94 kB / 0.7893 GB, free: 103 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001817/1.083, allocations: 164 kB / 0.7895 GB, free: 102.8 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003815/1.087, allocations: 1.77 MB / 0.7912 GB, free: 101.1 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005598/1.093, allocations: 1.793 MB / 0.793 GB, free: 99.25 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0127/1.106, allocations: 12.9 MB / 0.8056 GB, free: 86.08 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006524/1.112, allocations: 459.4 kB / 0.806 GB, free: 85.63 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001239/1.113, allocations: 475.9 kB / 0.8065 GB, free: 85.16 MB / 0.5606 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.004797/1.118, allocations: 2.885 MB / 0.8093 GB, free: 82.27 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001131/1.119, allocations: 0.5587 MB / 0.8098 GB, free: 81.71 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009435/1.129, allocations: 6.246 MB / 0.8159 GB, free: 75.44 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.478e-05/1.129, allocations: 39.22 kB / 0.816 GB, free: 75.4 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.395e-05/1.129, allocations: 8 kB / 0.816 GB, free: 75.39 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.125e-05/1.129, allocations: 11.95 kB / 0.816 GB, free: 75.38 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01927/1.148, allocations: 13.53 MB / 0.8292 GB, free: 61.82 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.96e-05/1.148, allocations: 4 kB / 0.8292 GB, free: 61.81 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002076/1.15, allocations: 447.3 kB / 0.8296 GB, free: 61.38 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003527/1.154, allocations: 1.534 MB / 0.8311 GB, free: 59.84 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003686/1.154, allocations: 51.83 kB / 0.8312 GB, free: 59.79 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01243/1.167, allocations: 12.23 MB / 0.8431 GB, free: 47.29 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.328e-06/1.167, allocations: 7.938 kB / 0.8431 GB, free: 47.28 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01241/1.179, allocations: 10.18 MB / 0.8531 GB, free: 37 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001425/1.181, allocations: 0.6377 MB / 0.8537 GB, free: 36.34 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007903/1.181, allocations: 44 kB / 0.8537 GB, free: 36.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002225/1.184, allocations: 167.8 kB / 0.8539 GB, free: 36.13 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004493/1.184, allocations: 173.7 kB / 0.854 GB, free: 35.96 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001835/1.184, allocations: 71.98 kB / 0.8541 GB, free: 35.89 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.004771/1.189, allocations: 4.071 MB / 0.8581 GB, free: 31.82 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.3e-07/1.189, allocations: 0 / 0.8581 GB, free: 31.82 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.005922/1.195, allocations: 1.464 MB / 0.8595 GB, free: 30.36 MB / 0.5606 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.01274/1.208, allocations: 10.85 MB / 0.8701 GB, free: 19.4 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.01008/1.218, allocations: 7.962 MB / 0.8779 GB, free: 11.45 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 9.478e-06/1.218, allocations: 192 / 0.8779 GB, free: 11.45 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.004727/1.223, allocations: 3.207 MB / 0.881 GB, free: 8.219 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004718/1.228, allocations: 0.7368 MB / 0.8817 GB, free: 7.496 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1275/1.355, allocations: 71.54 MB / 0.9516 GB, free: 8.969 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007262/1.362, allocations: 4.427 MB / 0.9559 GB, free: 4.496 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.2378/1.6, allocations: 2.608 MB / 0.9585 GB, free: 227 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003872/1.604, allocations: 2.85 MB / 0.9613 GB, free: 227 MB / 0.6387 GB Notification: Performance of SimCode: time 1.483e-06/1.604, allocations: 0 / 0.9613 GB, free: 227 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1556/1.76, allocations: 112.3 MB / 1.071 GB, free: 131.1 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 23.93/25.69, allocations: 7.031 kB / 1.071 GB, free: 131.1 MB / 0.6387 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)