Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForces.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.FrameForces,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Forces_FrameForces",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.FrameForces,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Forces_FrameForces",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008388/0.0008389, allocations: 88.19 kB / 15.7 MB, free: 460 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008766/0.0008766, allocations: 174.5 kB / 16.58 MB, free: 6.84 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.445/1.445, allocations: 205.4 MB / 222.8 MB, free: 5.641 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3485/0.3485, allocations: 43.54 MB / 314.6 MB, free: 8.734 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005456/0.0005458, allocations: 16 kB / 384 MB, free: 7.922 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1107/0.1113, allocations: 58.85 MB / 442.9 MB, free: 12.96 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.FrameForces): time 0.2316/0.3429, allocations: 66.42 MB / 0.4974 GB, free: 7.449 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.03036/0.3733, allocations: 13.8 MB / 0.5108 GB, free: 14.05 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0139/0.3872, allocations: 313.8 kB / 0.5111 GB, free: 14 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01182/0.3991, allocations: 3.484 MB / 0.5145 GB, free: 12.77 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.03061/0.4298, allocations: 10.31 MB / 0.5246 GB, free: 8.305 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005057/0.4348, allocations: 0.7891 MB / 0.5254 GB, free: 7.801 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.04602/0.4809, allocations: 35 MB / 0.5596 GB, free: 8.562 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007965/0.4889, allocations: 5.494 MB / 0.5649 GB, free: 3.035 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003177/0.4921, allocations: 1.689 MB / 0.5666 GB, free: 1.34 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003745/0.4959, allocations: 2.629 MB / 0.5691 GB, free: 14.7 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009398/0.4968, allocations: 188 kB / 0.5693 GB, free: 14.52 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002498/0.4994, allocations: 1.092 MB / 0.5704 GB, free: 13.43 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00289/0.5023, allocations: 2.31 MB / 0.5726 GB, free: 11.11 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002631/0.5049, allocations: 1.088 MB / 0.5737 GB, free: 10.01 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01029/0.5152, allocations: 7.334 MB / 0.5809 GB, free: 2.66 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.121e-06/0.5153, allocations: 0 / 0.5809 GB, free: 2.66 MB / 446.1 MB Notification: Performance of FrontEnd: time 3.005e-06/0.5153, allocations: 0 / 0.5809 GB, free: 2.66 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0004046/0.5157, allocations: 4 kB / 0.5809 GB, free: 2.656 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: 1888 * Number of variables: 1888 Notification: Performance of Generate backend data structure: time 0.01513/0.5308, allocations: 5.489 MB / 0.5862 GB, free: 13.09 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.215e-05/0.5309, allocations: 12.03 kB / 0.5862 GB, free: 13.08 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002945/0.5339, allocations: 0.8852 MB / 0.5871 GB, free: 12.18 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03303/0.5669, allocations: 6.213 MB / 0.5932 GB, free: 5.953 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01087/0.5778, allocations: 4.647 MB / 0.5977 GB, free: 1.254 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004471/0.5783, allocations: 295.6 kB / 0.598 GB, free: 0.9648 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001728/0.5801, allocations: 403.6 kB / 0.5984 GB, free: 0.5703 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02268/0.6027, allocations: 12.48 MB / 0.6106 GB, free: 3.227 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001906/0.603, allocations: 55.53 kB / 0.6106 GB, free: 3.172 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001028/0.604, allocations: 187.8 kB / 0.6108 GB, free: 2.988 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003868/0.6079, allocations: 2.409 MB / 0.6132 GB, free: 0.5781 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01965/0.6276, allocations: 10.26 MB / 0.6232 GB, free: 6.301 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2604/0.888, allocations: 48.39 MB / 0.6704 GB, free: 109.1 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009476/0.8975, allocations: 4.668 MB / 0.675 GB, free: 107.4 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002903/0.9005, allocations: 2.309 MB / 0.6772 GB, free: 106.4 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01077/0.9113, allocations: 6.885 MB / 0.684 GB, free: 103.2 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.54e-05/0.9113, allocations: 55.3 kB / 0.684 GB, free: 103.1 MB / 494.1 MB Notification: Performance of pre-optimization done (n=181): time 4.549e-06/0.9113, allocations: 0 / 0.684 GB, free: 103.1 MB / 494.1 MB Notification: Performance of matching and sorting (n=193): time 0.03855/0.9499, allocations: 16.16 MB / 0.6998 GB, free: 96.69 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.846e-05/0.95, allocations: 199 kB / 0.7 GB, free: 96.47 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008512/0.9585, allocations: 5.825 MB / 0.7057 GB, free: 94.45 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003946/0.959, allocations: 52.86 kB / 0.7057 GB, free: 94.39 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002473/0.9614, allocations: 4.001 MB / 0.7096 GB, free: 91.3 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000791/0.9622, allocations: 0.7664 MB / 0.7104 GB, free: 90.71 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002598/0.9625, allocations: 140.4 kB / 0.7105 GB, free: 90.61 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0002534/0.9628, allocations: 0.6016 MB / 0.7111 GB, free: 90.09 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002804/0.9656, allocations: 2.356 MB / 0.7134 GB, free: 88.95 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004394/0.97, allocations: 6.782 MB / 0.72 GB, free: 81.61 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005036/0.975, allocations: 3.899 MB / 0.7238 GB, free: 78.23 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001061/0.9752, allocations: 44 kB / 0.7239 GB, free: 78.19 MB / 494.1 MB Notification: Performance of matching and sorting (n=926) (initialization): time 0.01348/0.9887, allocations: 9.366 MB / 0.733 GB, free: 68.82 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.338e-05/0.9888, allocations: 72 kB / 0.7331 GB, free: 68.75 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001379/0.989, allocations: 156 kB / 0.7332 GB, free: 68.59 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001397/0.9904, allocations: 0.7327 MB / 0.734 GB, free: 67.86 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00441/0.9948, allocations: 1.646 MB / 0.7356 GB, free: 66.21 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005284/1, allocations: 6.334 MB / 0.7418 GB, free: 59.63 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005464/1.006, allocations: 387.3 kB / 0.7421 GB, free: 59.25 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008286/1.006, allocations: 442.8 kB / 0.7425 GB, free: 58.82 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 712 * Number of states: 0 () * Number of discrete variables: 45 (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 (866): * Single equations (assignments): 859 * Array equations: 5 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 13,(1,100.0%) 13} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.004656/1.011, allocations: 2.627 MB / 0.7451 GB, free: 56.18 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001163/1.012, allocations: 481.7 kB / 0.7456 GB, free: 55.71 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005446/1.018, allocations: 3.23 MB / 0.7487 GB, free: 52.45 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.953e-05/1.018, allocations: 20 kB / 0.7487 GB, free: 52.43 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.301e-05/1.018, allocations: 8 kB / 0.7488 GB, free: 52.43 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.162e-05/1.018, allocations: 11.97 kB / 0.7488 GB, free: 52.41 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01488/1.033, allocations: 8.57 MB / 0.7571 GB, free: 43.79 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.647e-05/1.033, allocations: 4 kB / 0.7571 GB, free: 43.78 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001508/1.034, allocations: 359.4 kB / 0.7575 GB, free: 43.43 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001114/1.035, allocations: 494.8 kB / 0.758 GB, free: 42.94 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001227/1.036, allocations: 35.98 kB / 0.758 GB, free: 42.91 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004839/1.04, allocations: 5.683 MB / 0.7635 GB, free: 36.96 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.908e-06/1.04, allocations: 7.938 kB / 0.7635 GB, free: 36.95 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007144/1.048, allocations: 5.809 MB / 0.7692 GB, free: 31.09 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002273/1.05, allocations: 0.8148 MB / 0.77 GB, free: 30.25 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001154/1.051, allocations: 39.94 kB / 0.7701 GB, free: 30.21 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001917/1.053, allocations: 95.88 kB / 0.7701 GB, free: 30.12 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002625/1.053, allocations: 114.4 kB / 0.7703 GB, free: 30 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001173/1.053, allocations: 52 kB / 0.7703 GB, free: 29.95 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.005263/1.059, allocations: 3.72 MB / 0.7739 GB, free: 26.26 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.012e-06/1.059, allocations: 4 kB / 0.7739 GB, free: 26.26 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.006393/1.065, allocations: 1.22 MB / 0.7751 GB, free: 25.04 MB / 494.1 MB 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 (154): * Single equations (assignments): 149 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 10,(1,100.0%) 10} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.007665/1.073, allocations: 6.457 MB / 0.7814 GB, free: 18.53 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.008232/1.081, allocations: 5.765 MB / 0.7871 GB, free: 12.77 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.016e-05/1.081, allocations: 4 kB / 0.7871 GB, free: 12.76 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002311/1.083, allocations: 1.757 MB / 0.7888 GB, free: 10.98 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005015/1.088, allocations: 0.6306 MB / 0.7894 GB, free: 10.36 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3107/1.399, allocations: 47.57 MB / 0.8359 GB, free: 157 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005274/1.405, allocations: 4.015 MB / 0.8398 GB, free: 156.1 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.005859/1.41, allocations: 2.287 MB / 0.842 GB, free: 156.1 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003377/1.414, allocations: 2.514 MB / 0.8445 GB, free: 155.7 MB / 0.5137 GB Notification: Performance of SimCode: time 1.513e-06/1.414, allocations: 0 / 0.8445 GB, free: 155.7 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1968/1.611, allocations: 99.44 MB / 0.9416 GB, free: 84.12 MB / 0.5137 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000152/1.611, allocations: 206.3 kB / 0.9418 GB, free: 83.88 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.288/5.899, allocations: 1.75 kB / 0.9418 GB, free: 83.88 MB / 0.5137 GB (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForces.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForces.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForces.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForces.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForces_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_MultiBody_Forces_FrameForces_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_MultiBody_Forces_FrameForces.fmu > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForces.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForces_res.mat does not exist to compare? outputFormat=mat