Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Forces.FrameForces.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.FrameForces,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_MultiBody_Forces_FrameForces",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.FrameForces,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_MultiBody_Forces_FrameForces",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001404/0.001408, allocations: 121.6 kB / 17.79 MB, free: 5.258 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001407/0.001407, allocations: 203.9 kB / 18.74 MB, free: 4.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.47/1.47, allocations: 227.4 MB / 247 MB, free: 10.44 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.2339/0.2339, allocations: 46.13 MB / 344.4 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.002392/0.002392, allocations: 83.84 kB / 480.9 MB, free: 4.512 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3434/0.3458, allocations: 62.44 MB / 0.5306 GB, free: 13.35 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.FrameForces): time 0.01597/0.3618, allocations: 12.65 MB / 0.543 GB, free: 3.418 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01116/0.373, allocations: 4.498 MB / 0.5474 GB, free: 15.89 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003328/0.3764, allocations: 86 kB / 0.5474 GB, free: 15.87 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007822/0.3843, allocations: 3.709 MB / 0.5511 GB, free: 12.71 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007464/0.3919, allocations: 2.183 MB / 0.5532 GB, free: 10.52 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003017/0.3949, allocations: 0.9944 MB / 0.5542 GB, free: 9.523 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.01069/0.4056, allocations: 6.027 MB / 0.5601 GB, free: 3.484 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006998/0.4127, allocations: 4.558 MB / 0.5645 GB, free: 14.86 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004229/0.417, allocations: 1.947 MB / 0.5664 GB, free: 12.9 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004647/0.4217, allocations: 2.609 MB / 0.569 GB, free: 10.29 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001368/0.4231, allocations: 412 kB / 0.5693 GB, free: 9.883 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003402/0.4265, allocations: 1.436 MB / 0.5707 GB, free: 8.445 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003037/0.4296, allocations: 2.42 MB / 0.5731 GB, free: 6.02 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004375/0.434, allocations: 2.765 MB / 0.5758 GB, free: 3.238 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01256/0.4465, allocations: 8.771 MB / 0.5844 GB, free: 10.43 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.754e-06/0.4466, allocations: 3.938 kB / 0.5844 GB, free: 10.43 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.104e-06/0.4466, allocations: 4 kB / 0.5844 GB, free: 10.43 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0002825/0.4469, allocations: 0 / 0.5844 GB, free: 10.43 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: 1726 * Number of variables: 1726 Notification: Performance of Generate backend data structure: time 0.01645/0.4634, allocations: 6.335 MB / 0.5906 GB, free: 4.008 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.925e-05/0.4634, allocations: 12.03 kB / 0.5906 GB, free: 3.996 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002341/0.4658, allocations: 0.8149 MB / 0.5914 GB, free: 3.172 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04147/0.5073, allocations: 6.066 MB / 0.5973 GB, free: 13.09 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01039/0.5177, allocations: 4.15 MB / 0.6014 GB, free: 8.883 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003713/0.5181, allocations: 279.3 kB / 0.6016 GB, free: 8.609 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001544/0.5197, allocations: 371.8 kB / 0.602 GB, free: 8.246 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02488/0.5446, allocations: 11.47 MB / 0.6132 GB, free: 11.92 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002478/0.5449, allocations: 55.53 kB / 0.6132 GB, free: 11.86 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001304/0.5462, allocations: 183.8 kB / 0.6134 GB, free: 11.68 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004188/0.5504, allocations: 2.143 MB / 0.6155 GB, free: 9.539 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02066/0.5711, allocations: 9.363 MB / 0.6246 GB, free: 168 kB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06521/0.6364, allocations: 45.27 MB / 0.6688 GB, free: 1.629 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01056/0.647, allocations: 3.8 MB / 0.6726 GB, free: 13.68 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003045/0.6501, allocations: 2.044 MB / 0.6746 GB, free: 11.62 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01178/0.6619, allocations: 6.248 MB / 0.6807 GB, free: 5.281 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.603e-05/0.662, allocations: 51.5 kB / 0.6807 GB, free: 5.223 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=154): time 5.23e-06/0.662, allocations: 0 / 0.6807 GB, free: 5.223 MB / 0.5294 GB Notification: Performance of matching and sorting (n=166): time 0.04311/0.7051, allocations: 15 MB / 0.6954 GB, free: 6.129 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001333/0.7053, allocations: 196.9 kB / 0.6955 GB, free: 5.895 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009337/0.7147, allocations: 5.632 MB / 0.701 GB, free: 292 kB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.0003229/0.715, allocations: 45.7 kB / 0.7011 GB, free: 240 kB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.003485/0.7185, allocations: 3.877 MB / 0.7049 GB, free: 12.32 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.001026/0.7196, allocations: 0.694 MB / 0.7055 GB, free: 11.62 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002423/0.722, allocations: 1.353 MB / 0.7069 GB, free: 10.25 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001247/0.7222, allocations: 301.1 kB / 0.7072 GB, free: 9.957 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003681/0.7258, allocations: 2.098 MB / 0.7092 GB, free: 7.855 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2813/1.007, allocations: 6.34 MB / 0.7154 GB, free: 157.6 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01404/1.021, allocations: 9.192 MB / 0.7244 GB, free: 150.5 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000241/1.022, allocations: 45.94 kB / 0.7244 GB, free: 150.5 MB / 0.5606 GB Notification: Performance of matching and sorting (n=864) (initialization): time 0.01539/1.037, allocations: 8.65 MB / 0.7329 GB, free: 147.4 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001871/1.037, allocations: 70.28 kB / 0.7329 GB, free: 147.4 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002501/1.037, allocations: 155.8 kB / 0.7331 GB, free: 147.4 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001749/1.039, allocations: 0.7032 MB / 0.7338 GB, free: 147.3 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004326/1.044, allocations: 1.508 MB / 0.7352 GB, free: 147.1 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006459/1.05, allocations: 6.834 MB / 0.7419 GB, free: 142.6 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005157/1.055, allocations: 341.4 kB / 0.7422 GB, free: 142.5 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00121/1.056, allocations: 420 kB / 0.7426 GB, free: 142.4 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 (frameForce2.arrow.twoHeadedArrow,frameForce2.arrow.headAtOrigin,frameForce1.arrow.twoHeadedArrow,frameForce1.arrow.headAtOrigin,FixedRotation1.color[3],FixedRotation1.color[2],FixedRotation1.color[1],frameForce2.color[3],frameForce2.color[2],frameForce2.color[1],fixed2.color[3],fixed2.color[2],fixed2.color[1],BodyCylinder2.color[3],BodyCylinder2.color[2],BodyCylinder2.color[1],BodyCylinder2.body.sphereColor[3],BodyCylinder2.body.sphereColor[2],BodyCylinder2.body.sphereColor[1],Revolute2.cylinderColor[3],Revolute2.cylinderColor[2],Revolute2.cylinderColor[1],frameForce1.color[3],frameForce1.color[2],frameForce1.color[1],fixed1.color[3],fixed1.color[2],fixed1.color[1],BodyCylinder1.color[3],BodyCylinder1.color[2],BodyCylinder1.color[1],BodyCylinder1.body.sphereColor[3],BodyCylinder1.body.sphereColor[2],BodyCylinder1.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 (804): * Single equations (assignments): 797 * 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,13,100.0%), (1,13,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.004546/1.061, allocations: 2.455 MB / 0.745 GB, free: 141.4 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001087/1.062, allocations: 484.8 kB / 0.7455 GB, free: 141.3 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004997/1.067, allocations: 2.694 MB / 0.7481 GB, free: 139.1 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.709e-05/1.067, allocations: 23.83 kB / 0.7481 GB, free: 139.1 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.422e-05/1.067, allocations: 4 kB / 0.7482 GB, free: 139.1 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.306e-05/1.067, allocations: 6.656 kB / 0.7482 GB, free: 139.1 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01296/1.08, allocations: 7.439 MB / 0.7554 GB, free: 131.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.773e-05/1.08, allocations: 4 kB / 0.7554 GB, free: 131.8 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001361/1.082, allocations: 299.8 kB / 0.7557 GB, free: 131.5 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001291/1.083, allocations: 492 kB / 0.7562 GB, free: 131 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002002/1.083, allocations: 40 kB / 0.7562 GB, free: 131 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005532/1.089, allocations: 6.188 MB / 0.7623 GB, free: 124.6 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.878e-06/1.089, allocations: 4 kB / 0.7623 GB, free: 124.6 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006691/1.095, allocations: 4.993 MB / 0.7671 GB, free: 119.7 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001285/1.097, allocations: 0.5404 MB / 0.7677 GB, free: 119.1 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001144/1.098, allocations: 28 kB / 0.7677 GB, free: 119.1 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002234/1.1, allocations: 75.91 kB / 0.7678 GB, free: 119 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004245/1.101, allocations: 100.7 kB / 0.7679 GB, free: 118.9 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001917/1.101, allocations: 44 kB / 0.7679 GB, free: 118.9 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.006218/1.107, allocations: 3.613 MB / 0.7714 GB, free: 115.3 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.623e-06/1.107, allocations: 0 / 0.7714 GB, free: 115.3 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.006563/1.114, allocations: 1.093 MB / 0.7725 GB, free: 114.2 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * 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 (126): * Single equations (assignments): 121 * 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,10,100.0%), (1,10,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.007499/1.121, allocations: 5.634 MB / 0.778 GB, free: 108.5 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.007505/1.129, allocations: 5.169 MB / 0.7831 GB, free: 103.4 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 9.127e-06/1.129, allocations: 0 / 0.7831 GB, free: 103.4 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.002052/1.131, allocations: 1.495 MB / 0.7845 GB, free: 101.8 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004982/1.136, allocations: 0.6433 MB / 0.7851 GB, free: 101.2 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0846/1.221, allocations: 54.03 MB / 0.8379 GB, free: 40.48 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00598/1.227, allocations: 3.765 MB / 0.8416 GB, free: 36.68 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.005122/1.232, allocations: 2.125 MB / 0.8437 GB, free: 34.55 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003042/1.235, allocations: 2.315 MB / 0.8459 GB, free: 32.23 MB / 0.5606 GB Notification: Performance of SimCode: time 1.032e-06/1.235, allocations: 0 / 0.8459 GB, free: 32.23 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1453/1.38, allocations: 84.89 MB / 0.9288 GB, free: 11.78 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 30.56/31.94, allocations: 7.828 kB / 0.9288 GB, free: 11.78 MB / 0.6231 GB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Forces.FrameForces.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Forces.FrameForces.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Forces.FrameForces.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Forces.FrameForces.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Forces.FrameForces_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_MultiBody_Forces_FrameForces_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_MultiBody_Forces_FrameForces.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Forces.FrameForces.pipe 2>&1)