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.00172/0.00172, allocations: 176.7 kB / 17.06 MB, free: 5.098 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.455/1.455, allocations: 223.2 MB / 241 MB, free: 11.89 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009456/0.0009456, allocations: 89.94 kB / 292.1 MB, free: 10.9 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.4067/0.4067, allocations: 44.23 MB / 387.5 MB, free: 38.76 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000306/0.000306, allocations: 8 kB / 460 MB, free: 1.402 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.347/0.3473, allocations: 61.9 MB / 0.5096 GB, free: 38.03 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1382/0.4856, allocations: 106.9 MB / 0.6141 GB, free: 4.129 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000244/0.4859, allocations: 83.88 kB / 0.6141 GB, free: 4.055 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6707/1.157, allocations: 155.8 MB / 0.7663 GB, free: 77.3 MB / 490.7 MB Notification: Performance of FrontEnd: time 3.737e-06/1.157, allocations: 0 / 0.7663 GB, free: 77.3 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0007852/1.157, allocations: 165 kB / 0.7665 GB, free: 77.29 MB / 490.7 MB 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.02995/1.187, allocations: 8.365 MB / 0.7747 GB, free: 70.7 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.215e-05/1.187, allocations: 8.031 kB / 0.7747 GB, free: 70.7 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.006483/1.194, allocations: 1.306 MB / 0.7759 GB, free: 69.38 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0621/1.256, allocations: 11.92 MB / 0.7876 GB, free: 57.43 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03969/1.296, allocations: 9.995 MB / 0.7973 GB, free: 47.35 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007202/1.297, allocations: 0.5618 MB / 0.7979 GB, free: 46.79 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004132/1.301, allocations: 0.7691 MB / 0.7986 GB, free: 46.02 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04399/1.345, allocations: 18.09 MB / 0.8163 GB, free: 26.46 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005986/1.345, allocations: 107 kB / 0.8164 GB, free: 26.35 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002894/1.348, allocations: 363.8 kB / 0.8168 GB, free: 26 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002048/1.35, allocations: 1.575 MB / 0.8183 GB, free: 24.42 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02967/1.38, allocations: 14.57 MB / 0.8325 GB, free: 9.805 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4437/1.824, allocations: 75.42 MB / 0.9062 GB, free: 51.24 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0272/1.851, allocations: 7.493 MB / 0.9135 GB, free: 50.55 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009589/1.852, allocations: 0.6531 MB / 0.9141 GB, free: 49.99 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.97e-05/1.852, allocations: 59.31 kB / 0.9142 GB, free: 49.95 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=239): time 1.143e-05/1.852, allocations: 3.969 kB / 0.9142 GB, free: 49.95 MB / 0.5105 GB Notification: Performance of matching and sorting (n=263): time 0.09718/1.949, allocations: 26.9 MB / 0.9405 GB, free: 43.64 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002215/1.95, allocations: 289.9 kB / 0.9407 GB, free: 43.33 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0234/1.973, allocations: 6.493 MB / 0.9471 GB, free: 42.83 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0007902/1.974, allocations: 68.89 kB / 0.9472 GB, free: 42.8 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.00665/1.981, allocations: 5.329 MB / 0.9524 GB, free: 40.11 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.001951/1.983, allocations: 1.026 MB / 0.9534 GB, free: 39.54 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001559/1.984, allocations: 172.8 kB / 0.9535 GB, free: 39.54 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.001251/1.986, allocations: 0.6691 MB / 0.9542 GB, free: 39.21 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006025/1.992, allocations: 2.893 MB / 0.957 GB, free: 39.19 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009399/2.001, allocations: 8.131 MB / 0.9649 GB, free: 31.95 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008242/2.009, allocations: 4.753 MB / 0.9696 GB, free: 30.39 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003634/2.01, allocations: 56.62 kB / 0.9696 GB, free: 30.39 MB / 0.5105 GB Notification: Performance of matching and sorting (n=1116) (initialization): time 0.02562/2.035, allocations: 11.58 MB / 0.9809 GB, free: 26.69 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.000394/2.036, allocations: 84.09 kB / 0.981 GB, free: 26.69 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005958/2.036, allocations: 183.6 kB / 0.9812 GB, free: 26.69 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003076/2.04, allocations: 1.001 MB / 0.9822 GB, free: 26.49 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006911/2.046, allocations: 1.93 MB / 0.9841 GB, free: 26.25 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01187/2.058, allocations: 11.18 MB / 0.995 GB, free: 18.43 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009391/2.068, allocations: 457.4 kB / 0.9954 GB, free: 18.26 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002378/2.07, allocations: 0.5104 MB / 0.9959 GB, free: 18.2 MB / 0.5105 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 () * Number of clocked 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.01363/2.084, allocations: 3.538 MB / 0.9994 GB, free: 16.59 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002362/2.086, allocations: 0.6197 MB / 1 GB, free: 15.96 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009751/2.096, allocations: 4.594 MB / 1.004 GB, free: 12.17 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.591e-05/2.096, allocations: 30.89 kB / 1.004 GB, free: 12.14 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.774e-05/2.096, allocations: 8 kB / 1.004 GB, free: 12.13 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.594e-05/2.096, allocations: 21.97 kB / 1.005 GB, free: 12.12 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03118/2.127, allocations: 12.43 MB / 1.017 GB, free: 2.055 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.463e-05/2.127, allocations: 0 / 1.017 GB, free: 2.055 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002022/2.129, allocations: 387.5 kB / 1.017 GB, free: 1.738 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002161/2.132, allocations: 0.6758 MB / 1.018 GB, free: 1.234 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004699/2.132, allocations: 40 kB / 1.018 GB, free: 1.195 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01198/2.144, allocations: 10.07 MB / 1.028 GB, free: 7.512 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.388e-06/2.144, allocations: 5.969 kB / 1.028 GB, free: 7.512 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01373/2.158, allocations: 7.961 MB / 1.035 GB, free: 460 kB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002616/2.161, allocations: 0.6779 MB / 1.036 GB, free: 15.77 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002086/2.163, allocations: 44 kB / 1.036 GB, free: 15.73 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003864/2.167, allocations: 151.2 kB / 1.036 GB, free: 15.63 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006574/2.167, allocations: 153.2 kB / 1.036 GB, free: 15.53 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003689/2.168, allocations: 64 kB / 1.036 GB, free: 15.47 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.01161/2.179, allocations: 4.631 MB / 1.041 GB, free: 11.7 MB / 0.5417 GB Notification: Performance of sort global known variables: time 5.31e-07/2.179, allocations: 0 / 1.041 GB, free: 11.7 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.01095/2.19, allocations: 1.65 MB / 1.043 GB, free: 10.05 MB / 0.5417 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 () * Number of clocked 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.01461/2.205, allocations: 8.804 MB / 1.051 GB, free: 2.164 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.01353/2.218, allocations: 7.491 MB / 1.058 GB, free: 11.57 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 7.975e-06/2.219, allocations: 0 / 1.058 GB, free: 11.57 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.004565/2.223, allocations: 2.609 MB / 1.061 GB, free: 9.23 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005874/2.229, allocations: 0.9111 MB / 1.062 GB, free: 8.484 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.5442/2.773, allocations: 193.8 MB / 1.251 GB, free: 20.98 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01757/2.791, allocations: 5.553 MB / 1.257 GB, free: 20.11 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.01576/2.807, allocations: 2.755 MB / 1.259 GB, free: 19.9 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.009951/2.817, allocations: 3.637 MB / 1.263 GB, free: 19.89 MB / 0.5886 GB Notification: Performance of SimCode: time 1.713e-06/2.817, allocations: 2.5 kB / 1.263 GB, free: 19.89 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5645/3.381, allocations: 135.9 MB / 1.396 GB, free: 153.8 MB / 0.5886 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001472/3.381, allocations: 208.5 kB / 1.396 GB, free: 153.5 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.443/10.82, allocations: 0 / 1.396 GB, free: 153.5 MB / 0.5886 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