Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Forces.FrameTorques.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.FrameTorques,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_MultiBody_Forces_FrameTorques",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.FrameTorques,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_MultiBody_Forces_FrameTorques",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001772/0.001772, allocations: 117.6 kB / 17.79 MB, free: 5.125 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002155/0.002155, allocations: 199.9 kB / 18.74 MB, free: 4.184 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.386/1.386, allocations: 227.4 MB / 247 MB, free: 10.41 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.2255/0.2255, allocations: 46.12 MB / 344.3 MB, free: 11.46 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.002402/0.002402, allocations: 79.88 kB / 480.9 MB, free: 4.516 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3316/0.334, allocations: 62.45 MB / 0.5306 GB, free: 13.37 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.FrameTorques): time 0.01517/0.3493, allocations: 12.67 MB / 0.543 GB, free: 3.43 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01003/0.3593, allocations: 4.507 MB / 0.5474 GB, free: 15.89 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002515/0.3619, allocations: 85.12 kB / 0.5475 GB, free: 15.88 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007339/0.3693, allocations: 3.704 MB / 0.5511 GB, free: 12.71 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00671/0.376, allocations: 2.183 MB / 0.5532 GB, free: 10.52 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00276/0.3788, allocations: 0.9982 MB / 0.5542 GB, free: 9.516 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.009981/0.3888, allocations: 6.042 MB / 0.5601 GB, free: 3.461 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00609/0.395, allocations: 4.562 MB / 0.5645 GB, free: 14.83 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003559/0.3986, allocations: 1.955 MB / 0.5665 GB, free: 12.87 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004181/0.4028, allocations: 2.609 MB / 0.569 GB, free: 10.25 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001343/0.4042, allocations: 412 kB / 0.5694 GB, free: 9.848 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003414/0.4076, allocations: 1.439 MB / 0.5708 GB, free: 8.406 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00313/0.4107, allocations: 2.416 MB / 0.5732 GB, free: 5.984 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00447/0.4152, allocations: 2.777 MB / 0.5759 GB, free: 3.191 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01271/0.428, allocations: 8.786 MB / 0.5845 GB, free: 10.37 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.623e-06/0.428, allocations: 0 / 0.5845 GB, free: 10.37 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.924e-06/0.428, allocations: 4 kB / 0.5845 GB, free: 10.37 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0002867/0.4283, allocations: 0 / 0.5845 GB, free: 10.37 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: 1729 * Number of variables: 1729 Notification: Performance of Generate backend data structure: time 0.01729/0.4456, allocations: 6.351 MB / 0.5907 GB, free: 3.934 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.258e-05/0.4457, allocations: 12.03 kB / 0.5907 GB, free: 3.922 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002027/0.4477, allocations: 0.8189 MB / 0.5915 GB, free: 3.094 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03993/0.4877, allocations: 6.063 MB / 0.5974 GB, free: 13.02 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009782/0.4975, allocations: 4.151 MB / 0.6014 GB, free: 8.812 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002762/0.4978, allocations: 283.3 kB / 0.6017 GB, free: 8.535 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001391/0.4992, allocations: 379.7 kB / 0.6021 GB, free: 8.164 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02517/0.5244, allocations: 11.48 MB / 0.6133 GB, free: 11.83 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003019/0.5248, allocations: 51.58 kB / 0.6133 GB, free: 11.78 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001651/0.5264, allocations: 183.8 kB / 0.6135 GB, free: 11.6 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00413/0.5306, allocations: 2.147 MB / 0.6156 GB, free: 9.449 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02046/0.5511, allocations: 9.379 MB / 0.6248 GB, free: 56 kB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0606/0.6117, allocations: 45.35 MB / 0.6691 GB, free: 1.434 MB / 0.5138 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01032/0.6221, allocations: 3.784 MB / 0.6728 GB, free: 13.5 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002883/0.625, allocations: 2.018 MB / 0.6747 GB, free: 11.46 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01019/0.6352, allocations: 5.665 MB / 0.6803 GB, free: 5.703 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.701e-05/0.6354, allocations: 52.05 kB / 0.6803 GB, free: 5.645 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=150): time 6.843e-06/0.6354, allocations: 0 / 0.6803 GB, free: 5.645 MB / 0.5294 GB Notification: Performance of matching and sorting (n=162): time 0.04175/0.6771, allocations: 15.93 MB / 0.6959 GB, free: 5.535 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001556/0.6773, allocations: 226.1 kB / 0.6961 GB, free: 5.262 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008673/0.686, allocations: 5.64 MB / 0.7016 GB, free: 15.64 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0003513/0.6864, allocations: 53.61 kB / 0.7016 GB, free: 15.59 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.003704/0.6901, allocations: 3.901 MB / 0.7054 GB, free: 11.64 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.001158/0.6913, allocations: 0.6825 MB / 0.7061 GB, free: 10.96 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002218/0.6935, allocations: 1.341 MB / 0.7074 GB, free: 9.605 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001293/0.6937, allocations: 305.1 kB / 0.7077 GB, free: 9.305 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003345/0.697, allocations: 2.066 MB / 0.7097 GB, free: 7.234 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2655/0.9626, allocations: 6.312 MB / 0.7159 GB, free: 157.4 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009348/0.972, allocations: 9.135 MB / 0.7248 GB, free: 150.3 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001657/0.9722, allocations: 43.44 kB / 0.7249 GB, free: 150.3 MB / 0.5606 GB Notification: Performance of matching and sorting (n=860) (initialization): time 0.01406/0.9862, allocations: 8.638 MB / 0.7333 GB, free: 147.3 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 9.801e-05/0.9864, allocations: 67.97 kB / 0.7334 GB, free: 147.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001582/0.9865, allocations: 148.6 kB / 0.7335 GB, free: 147.3 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001542/0.9881, allocations: 0.7205 MB / 0.7342 GB, free: 147.2 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004122/0.9922, allocations: 1.501 MB / 0.7357 GB, free: 147 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006191/0.9984, allocations: 6.972 MB / 0.7425 GB, free: 142.4 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004555/1.003, allocations: 341.5 kB / 0.7428 GB, free: 142.3 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007434/1.004, allocations: 413.7 kB / 0.7432 GB, free: 142.3 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 686 * Number of states: 0 () * Number of discrete variables: 49 (frameTorque2.arrow.twoHeadedArrow,frameTorque2.arrow.headAtOrigin,frameTorque1.arrow.twoHeadedArrow,frameTorque1.arrow.headAtOrigin,Revolute2.cylinderColor[3],Revolute2.cylinderColor[2],Revolute2.cylinderColor[1],frameTorque2.color[3],frameTorque2.color[2],frameTorque2.color[1],frameTorque1.color[3],frameTorque1.color[2],frameTorque1.color[1],FixedRotation1.color[3],FixedRotation1.color[2],FixedRotation1.color[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 (798): * Single equations (assignments): 791 * 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 {(1,14,100.0%), (1,14,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003059/1.007, allocations: 2.462 MB / 0.7456 GB, free: 141.2 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000677/1.008, allocations: 485.7 kB / 0.7461 GB, free: 141.1 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003723/1.011, allocations: 2.661 MB / 0.7487 GB, free: 138.9 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.368e-05/1.011, allocations: 18.95 kB / 0.7487 GB, free: 138.9 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.018e-05/1.011, allocations: 8 kB / 0.7487 GB, free: 138.9 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.475e-05/1.011, allocations: 6.656 kB / 0.7487 GB, free: 138.9 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01084/1.022, allocations: 7.46 MB / 0.756 GB, free: 131.7 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.545e-05/1.022, allocations: 4 kB / 0.756 GB, free: 131.7 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001134/1.023, allocations: 257.5 kB / 0.7562 GB, free: 131.4 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001211/1.025, allocations: 0.4982 MB / 0.7567 GB, free: 130.9 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001169/1.025, allocations: 31.61 kB / 0.7567 GB, free: 130.9 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005058/1.03, allocations: 6.28 MB / 0.7629 GB, free: 124.4 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.277e-06/1.03, allocations: 4.562 kB / 0.7629 GB, free: 124.4 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005354/1.035, allocations: 4.971 MB / 0.7677 GB, free: 119.5 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001028/1.036, allocations: 0.532 MB / 0.7683 GB, free: 119 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000564/1.037, allocations: 35.98 kB / 0.7683 GB, free: 118.9 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001431/1.038, allocations: 71.67 kB / 0.7684 GB, free: 118.9 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002235/1.039, allocations: 104.8 kB / 0.7685 GB, free: 118.8 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.688e-05/1.039, allocations: 54.22 kB / 0.7685 GB, free: 118.7 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.004191/1.043, allocations: 3.61 MB / 0.772 GB, free: 115.1 MB / 0.5606 GB Notification: Performance of sort global known variables: time 3.6e-07/1.043, allocations: 0 / 0.772 GB, free: 115.1 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.004786/1.048, allocations: 1.083 MB / 0.7731 GB, free: 114 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 4 (Revolute1.phi,Revolute1.w,Revolute2.phi,Revolute2.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 (120): * Single equations (assignments): 115 * 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 {(1,11,100.0%), (1,11,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.005462/1.053, allocations: 5.613 MB / 0.7786 GB, free: 108.4 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.006485/1.06, allocations: 5.167 MB / 0.7836 GB, free: 103.2 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 6.372e-06/1.06, allocations: 4.125 kB / 0.7836 GB, free: 103.2 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.001634/1.061, allocations: 1.489 MB / 0.7851 GB, free: 101.7 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003563/1.065, allocations: 0.6255 MB / 0.7857 GB, free: 101.1 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06846/1.133, allocations: 53.99 MB / 0.8384 GB, free: 40.41 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003337/1.137, allocations: 3.769 MB / 0.8421 GB, free: 36.61 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.003886/1.141, allocations: 2.125 MB / 0.8442 GB, free: 34.48 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002391/1.143, allocations: 2.303 MB / 0.8464 GB, free: 32.18 MB / 0.5606 GB Notification: Performance of SimCode: time 2.174e-06/1.143, allocations: 0 / 0.8464 GB, free: 32.18 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1433/1.286, allocations: 84.14 MB / 0.9286 GB, free: 12.5 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 29.96/31.25, allocations: 14.98 kB / 0.9286 GB, free: 12.49 MB / 0.6231 GB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Forces.FrameTorques.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Forces.FrameTorques.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Forces.FrameTorques.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Forces.FrameTorques.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Forces.FrameTorques_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_MultiBody_Forces_FrameTorques_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_MultiBody_Forces_FrameTorques.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Forces.FrameTorques.pipe 2>&1)