Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForces2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 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 ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.FrameForces2,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Forces_FrameForces2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.FrameForces2,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Forces_FrameForces2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001633/0.001633, allocations: 180.6 kB / 15.76 MB, free: 6.367 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.696/1.696, allocations: 205.4 MB / 221.9 MB, free: 13.83 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009862/0.0009863, allocations: 90.88 kB / 270.2 MB, free: 13.36 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2323/0.2323, allocations: 43.56 MB / 362.1 MB, free: 11.31 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003055/0.0003055, allocations: 11.98 kB / 431.5 MB, free: 19.51 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1189/0.1192, allocations: 58.86 MB / 490.3 MB, free: 8.582 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4333/0.5525, allocations: 105.6 MB / 0.582 GB, free: 10.41 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002036/0.5528, allocations: 80.14 kB / 0.5821 GB, free: 10.37 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6834/1.236, allocations: 163.5 MB / 0.7418 GB, free: 93.91 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.946e-06/1.236, allocations: 0 / 0.7418 GB, free: 93.91 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.000579/1.237, allocations: 163.6 kB / 0.7419 GB, free: 93.9 MB / 0.4948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2809 * Number of variables: 2809 Notification: Performance of Generate backend data structure: time 0.03384/1.271, allocations: 8.795 MB / 0.7505 GB, free: 90.52 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.566e-05/1.271, allocations: 10.88 kB / 0.7505 GB, free: 90.52 MB / 0.4948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0079/1.279, allocations: 1.404 MB / 0.7519 GB, free: 90.42 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04486/1.324, allocations: 12.02 MB / 0.7636 GB, free: 89.86 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02899/1.353, allocations: 10.87 MB / 0.7742 GB, free: 88.75 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007544/1.353, allocations: 0.6118 MB / 0.7748 GB, free: 88.73 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004416/1.358, allocations: 0.813 MB / 0.7756 GB, free: 88.72 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04335/1.401, allocations: 19.28 MB / 0.7944 GB, free: 82.85 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006312/1.402, allocations: 113.7 kB / 0.7946 GB, free: 82.83 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003536/1.405, allocations: 383.7 kB / 0.7949 GB, free: 82.61 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002475/1.408, allocations: 1.731 MB / 0.7966 GB, free: 82.31 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03268/1.441, allocations: 15.72 MB / 0.812 GB, free: 74.76 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09759/1.538, allocations: 79.73 MB / 0.8898 GB, free: 13.37 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02153/1.56, allocations: 8.258 MB / 0.8979 GB, free: 4.957 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001023/1.561, allocations: 0.6716 MB / 0.8985 GB, free: 4.199 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.715e-05/1.561, allocations: 71.25 kB / 0.8986 GB, free: 4.125 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=307): time 6.322e-06/1.561, allocations: 3.562 kB / 0.8986 GB, free: 4.125 MB / 0.5105 GB Notification: Performance of matching and sorting (n=331): time 0.4057/1.967, allocations: 30.27 MB / 0.9282 GB, free: 93.99 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001019/1.967, allocations: 293.5 kB / 0.9284 GB, free: 93.67 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01376/1.981, allocations: 6.742 MB / 0.935 GB, free: 93.17 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0008661/1.982, allocations: 82.39 kB / 0.9351 GB, free: 93.14 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.004321/1.986, allocations: 5.616 MB / 0.9406 GB, free: 90.67 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.001999/1.988, allocations: 1.248 MB / 0.9418 GB, free: 89.95 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008388/1.989, allocations: 187.8 kB / 0.942 GB, free: 89.95 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0005225/1.989, allocations: 0.7043 MB / 0.9427 GB, free: 89.63 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005274/1.995, allocations: 3.462 MB / 0.9461 GB, free: 89.61 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007404/2.002, allocations: 8.962 MB / 0.9548 GB, free: 82.53 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007955/2.01, allocations: 5.44 MB / 0.9601 GB, free: 82.49 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001742/2.01, allocations: 54.69 kB / 0.9602 GB, free: 82.49 MB / 0.5105 GB Notification: Performance of matching and sorting (n=1228) (initialization): time 0.02662/2.037, allocations: 13.04 MB / 0.9729 GB, free: 79.19 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001812/2.037, allocations: 90.25 kB / 0.973 GB, free: 79.19 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003159/2.037, allocations: 194.9 kB / 0.9732 GB, free: 79.19 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002653/2.04, allocations: 1.021 MB / 0.9742 GB, free: 79 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00822/2.048, allocations: 2.158 MB / 0.9763 GB, free: 78.74 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01166/2.06, allocations: 11.2 MB / 0.9872 GB, free: 70.92 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0106/2.071, allocations: 0.5184 MB / 0.9877 GB, free: 70.74 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002637/2.073, allocations: 0.55 MB / 0.9883 GB, free: 70.67 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 885 * Number of states: 0 () * Number of discrete variables: 66 (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.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.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 (1152): * Single equations (assignments): 1145 * 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.012/2.085, allocations: 3.741 MB / 0.9919 GB, free: 68.96 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00302/2.088, allocations: 0.661 MB / 0.9926 GB, free: 68.6 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01341/2.102, allocations: 5.944 MB / 0.9984 GB, free: 66.28 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.337e-05/2.102, allocations: 38.28 kB / 0.9984 GB, free: 66.28 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.164e-05/2.102, allocations: 7.656 kB / 0.9984 GB, free: 66.28 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.034e-05/2.102, allocations: 18.14 kB / 0.9984 GB, free: 66.28 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03807/2.14, allocations: 14.73 MB / 1.013 GB, free: 60.9 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.624e-05/2.14, allocations: 6.938 kB / 1.013 GB, free: 60.9 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002865/2.143, allocations: 0.5237 MB / 1.013 GB, free: 60.86 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001987/2.145, allocations: 0.6737 MB / 1.014 GB, free: 60.55 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005149/2.146, allocations: 60.75 kB / 1.014 GB, free: 60.49 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009145/2.155, allocations: 10.06 MB / 1.024 GB, free: 50.84 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.317e-06/2.155, allocations: 3.938 kB / 1.024 GB, free: 50.84 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01499/2.17, allocations: 10.05 MB / 1.034 GB, free: 41.92 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00481/2.175, allocations: 1.168 MB / 1.035 GB, free: 40.82 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002169/2.177, allocations: 58.62 kB / 1.035 GB, free: 40.77 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004307/2.181, allocations: 189 kB / 1.035 GB, free: 40.64 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005962/2.182, allocations: 195.3 kB / 1.035 GB, free: 40.52 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002467/2.182, allocations: 89.98 kB / 1.035 GB, free: 40.44 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.01032/2.192, allocations: 4.831 MB / 1.04 GB, free: 36.51 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.202e-06/2.192, allocations: 6.938 kB / 1.04 GB, free: 36.51 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.01167/2.204, allocations: 1.807 MB / 1.042 GB, free: 34.7 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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 (276): * Single equations (assignments): 269 * 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.01559/2.22, allocations: 11.02 MB / 1.053 GB, free: 24.82 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0161/2.236, allocations: 8.792 MB / 1.061 GB, free: 17.1 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.893e-05/2.236, allocations: 0 / 1.061 GB, free: 17.1 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.005623/2.242, allocations: 3.196 MB / 1.064 GB, free: 14.23 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007063/2.249, allocations: 0.9213 MB / 1.065 GB, free: 13.47 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.466/2.715, allocations: 206.9 MB / 1.267 GB, free: 26.73 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01228/2.727, allocations: 5.9 MB / 1.273 GB, free: 25.82 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.009363/2.737, allocations: 3.053 MB / 1.276 GB, free: 25.7 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007565/2.744, allocations: 3.922 MB / 1.28 GB, free: 25.69 MB / 0.5886 GB Notification: Performance of SimCode: time 1.393e-06/2.744, allocations: 3.75 kB / 1.28 GB, free: 25.69 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5663/3.311, allocations: 146.8 MB / 1.423 GB, free: 156.4 MB / 0.5886 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001644/3.311, allocations: 203.7 kB / 1.423 GB, free: 156.1 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.03/11.34, allocations: 3.469 kB / 1.423 GB, free: 156.1 MB / 0.5886 GB (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForces2.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForces2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForces2.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForces2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForces2_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_MultiBody_Forces_FrameForces2_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_MultiBody_Forces_FrameForces2.fmu > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForces2.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForces2_res.mat does not exist to compare? outputFormat=mat