Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameForces2.conf.json 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 4.0.0+maint.om/package.mo", uses=false) 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/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 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) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.FrameForces2,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Forces_FrameForces2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.FrameForces2,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Forces_FrameForces2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001136/0.001136, allocations: 180.5 kB / 14.15 MB, free: 1.176 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.387/1.387, allocations: 221.3 MB / 236 MB, free: 2.93 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001064/0.001064, allocations: 87.84 kB / 287 MB, free: 204 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1927/0.1927, allocations: 44.15 MB / 382 MB, free: 14.67 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.762e-05/3.77e-05, allocations: 4.219 kB / 451.9 MB, free: 9.34 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1457/0.1458, allocations: 61.92 MB / 0.5018 GB, free: 11.36 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4837/0.6296, allocations: 106.9 MB / 0.6061 GB, free: 14.38 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002788/0.6299, allocations: 75.95 kB / 0.6062 GB, free: 14.3 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7908/1.421, allocations: 156 MB / 0.7586 GB, free: 109 MB / 0.5105 GB Notification: Performance of FrontEnd: time 5.06e-06/1.421, allocations: 0 / 0.7586 GB, free: 109 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.000654/1.421, allocations: 155 kB / 0.7587 GB, free: 109 MB / 0.5105 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2601 * Number of variables: 2601 Notification: Performance of Generate backend data structure: time 0.03513/1.457, allocations: 7.612 MB / 0.7661 GB, free: 106.1 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 6.617e-05/1.457, allocations: 7.5 kB / 0.7661 GB, free: 106.1 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.008567/1.465, allocations: 1.305 MB / 0.7674 GB, free: 106 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04984/1.515, allocations: 11.93 MB / 0.7791 GB, free: 105.4 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02447/1.54, allocations: 9.968 MB / 0.7888 GB, free: 103.4 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007349/1.54, allocations: 0.5721 MB / 0.7894 GB, free: 103.2 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004202/1.545, allocations: 0.7668 MB / 0.7901 GB, free: 102.9 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04576/1.591, allocations: 17.95 MB / 0.8076 GB, free: 94.13 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006195/1.591, allocations: 103.8 kB / 0.8077 GB, free: 94.04 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00256/1.594, allocations: 365.7 kB / 0.8081 GB, free: 93.72 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002074/1.596, allocations: 1.567 MB / 0.8096 GB, free: 92.4 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0298/1.626, allocations: 14.36 MB / 0.8236 GB, free: 78.41 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08489/1.711, allocations: 75.42 MB / 0.8973 GB, free: 1.41 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02034/1.731, allocations: 7.46 MB / 0.9046 GB, free: 9.793 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005529/1.737, allocations: 3.546 MB / 0.908 GB, free: 6.23 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008228/1.737, allocations: 0.6509 MB / 0.9087 GB, free: 5.484 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.235e-05/1.738, allocations: 60.06 kB / 0.9087 GB, free: 5.418 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=239): time 5.961e-06/1.738, allocations: 0 / 0.9087 GB, free: 5.418 MB / 0.5261 GB Notification: Performance of matching and sorting (n=263): time 0.4309/2.168, allocations: 23.01 MB / 0.9312 GB, free: 109.6 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001137/2.169, allocations: 286.7 kB / 0.9315 GB, free: 109.3 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01478/2.183, allocations: 6.425 MB / 0.9378 GB, free: 108.8 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0006487/2.184, allocations: 64.55 kB / 0.9378 GB, free: 108.8 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.003948/2.188, allocations: 5.338 MB / 0.943 GB, free: 106.3 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.001518/2.19, allocations: 1.023 MB / 0.944 GB, free: 105.8 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006786/2.19, allocations: 167.2 kB / 0.9442 GB, free: 105.8 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0005096/2.191, allocations: 0.664 MB / 0.9448 GB, free: 105.4 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004653/2.195, allocations: 2.842 MB / 0.9476 GB, free: 105.4 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008052/2.204, allocations: 8.079 MB / 0.9555 GB, free: 98.66 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00736/2.211, allocations: 4.742 MB / 0.9601 GB, free: 98.62 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002579/2.211, allocations: 57.73 kB / 0.9602 GB, free: 98.62 MB / 0.5261 GB Notification: Performance of matching and sorting (n=1116) (initialization): time 0.02423/2.236, allocations: 11.46 MB / 0.9714 GB, free: 95.77 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001769/2.236, allocations: 86.03 kB / 0.9715 GB, free: 95.77 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002911/2.236, allocations: 183.9 kB / 0.9716 GB, free: 95.77 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002538/2.239, allocations: 0.9938 MB / 0.9726 GB, free: 95.57 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006793/2.245, allocations: 1.931 MB / 0.9745 GB, free: 95.34 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01095/2.256, allocations: 10.99 MB / 0.9852 GB, free: 87.63 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009503/2.266, allocations: 454.9 kB / 0.9857 GB, free: 87.47 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002168/2.268, allocations: 0.513 MB / 0.9862 GB, free: 87.4 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 845 * Number of states: 0 () * Number of discrete variables: 74 (frameForce4.arrow.arrowLine.twoHeadedArrow,frameForce4.arrow.headAtOrigin,frameForce4.color[3],frameForce4.color[2],frameForce4.color[1],BodyCylinder4.color[3],BodyCylinder4.color[2],BodyCylinder4.color[1],BodyCylinder4.body.sphereColor[3],BodyCylinder4.body.sphereColor[2],BodyCylinder4.body.sphereColor[1],Revolute4.cylinderColor[3],Revolute4.cylinderColor[2],Revolute4.cylinderColor[1],frameForce3.arrow.arrowLine.twoHeadedArrow,frameForce3.arrow.headAtOrigin,frameForce3.color[3],frameForce3.color[2],frameForce3.color[1],BodyCylinder3.color[3],BodyCylinder3.color[2],BodyCylinder3.color[1],BodyCylinder3.body.sphereColor[3],BodyCylinder3.body.sphereColor[2],BodyCylinder3.body.sphereColor[1],Revolute3.cylinderColor[3],Revolute3.cylinderColor[2],Revolute3.cylinderColor[1],frameForce2.arrow.arrowLine.twoHeadedArrow,frameForce2.arrow.headAtOrigin,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.arrow.arrowLine.twoHeadedArrow,frameForce1.arrow.headAtOrigin,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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1040): * Single equations (assignments): 1033 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 13,(1,100.0%) 13,(1,100.0%) 13,(1,100.0%) 13} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003039/2.271, allocations: 0.7775 MB / 0.9869 GB, free: 86.78 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001755/2.273, allocations: 0.6195 MB / 0.9875 GB, free: 86.44 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008641/2.282, allocations: 4.569 MB / 0.992 GB, free: 84.74 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.56e-05/2.282, allocations: 32.09 kB / 0.992 GB, free: 84.74 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.953e-05/2.282, allocations: 9.062 kB / 0.992 GB, free: 84.74 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.454e-05/2.282, allocations: 17.03 kB / 0.992 GB, free: 84.74 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02842/2.31, allocations: 12.39 MB / 1.004 GB, free: 80.28 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.884e-05/2.31, allocations: 3.594 kB / 1.004 GB, free: 80.28 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001839/2.312, allocations: 390.6 kB / 1.005 GB, free: 80.24 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001842/2.314, allocations: 0.6572 MB / 1.005 GB, free: 80.07 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002681/2.314, allocations: 48.97 kB / 1.005 GB, free: 80.04 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009302/2.324, allocations: 9.857 MB / 1.015 GB, free: 72.72 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.346e-06/2.324, allocations: 4.062 kB / 1.015 GB, free: 72.71 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01159/2.335, allocations: 7.91 MB / 1.023 GB, free: 68.91 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002626/2.338, allocations: 0.6708 MB / 1.023 GB, free: 68.25 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00131/2.339, allocations: 44.86 kB / 1.023 GB, free: 68.2 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002696/2.342, allocations: 140.7 kB / 1.023 GB, free: 68.11 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004962/2.343, allocations: 154.4 kB / 1.024 GB, free: 68.01 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001916/2.343, allocations: 71.42 kB / 1.024 GB, free: 67.95 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.00943/2.352, allocations: 4.564 MB / 1.028 GB, free: 63.95 MB / 0.5261 GB Notification: Performance of sort global known variables: time 4.01e-07/2.352, allocations: 4 kB / 1.028 GB, free: 63.95 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.01103/2.363, allocations: 1.65 MB / 1.03 GB, free: 62.3 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 8 (Revolute3.phi,Revolute3.w,Revolute4.phi,Revolute4.w,Revolute1.phi,Revolute1.w,Revolute2.phi,Revolute2.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (207): * Single equations (assignments): 200 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 10,(1,100.0%) 10,(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.01175/2.375, allocations: 8.744 MB / 1.038 GB, free: 54.41 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.01142/2.386, allocations: 7.413 MB / 1.045 GB, free: 47.64 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.07e-05/2.387, allocations: 4 kB / 1.045 GB, free: 47.64 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.003396/2.39, allocations: 2.559 MB / 1.048 GB, free: 45.28 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005979/2.396, allocations: 0.9161 MB / 1.049 GB, free: 44.54 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03998/2.436, allocations: 15.56 MB / 1.064 GB, free: 31.06 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008427/2.444, allocations: 5.557 MB / 1.069 GB, free: 27.01 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.00874/2.453, allocations: 2.756 MB / 1.072 GB, free: 25.24 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007256/2.461, allocations: 3.636 MB / 1.076 GB, free: 21.86 MB / 0.5261 GB Notification: Performance of SimCode: time 1.092e-06/2.461, allocations: 0 / 1.076 GB, free: 21.86 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5894/3.05, allocations: 135.5 MB / 1.208 GB, free: 84.07 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001592/3.05, allocations: 174.2 kB / 1.208 GB, free: 83.84 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.554/10.6, allocations: 0 / 1.208 GB, free: 83.84 MB / 0.5417 GB (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameForces2.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameForces2.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameForces2.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameForces2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameForces2_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_MultiBody_Forces_FrameForces2_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_MultiBody_Forces_FrameForces2.fmu > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameForces2.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameForces2_res.mat does not exist to compare? outputFormat=mat