Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameForces.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.FrameForces,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Forces_FrameForces",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.FrameForces,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Forces_FrameForces",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.001283/0.001283, allocations: 172 kB / 8.738 MB, free: 348 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.408/1.408, allocations: 221.5 MB / 230.7 MB, free: 7.516 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.0009057/0.0009058, allocations: 93.48 kB / 281.6 MB, free: 5.262 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.1952/0.1952, allocations: 44.14 MB / 376.5 MB, free: 3.031 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 2.243e-05/2.265e-05, allocations: 4.219 kB / 444.7 MB, free: 15.14 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1616/0.1616, allocations: 61.93 MB / 0.4948 GB, free: 1.152 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5595/0.7211, allocations: 107.5 MB / 0.5997 GB, free: 4.957 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000337/0.7216, allocations: 79.95 kB / 0.5998 GB, free: 4.879 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5589/1.281, allocations: 105.9 MB / 0.7032 GB, free: 105.4 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.505e-06/1.281, allocations: 0 / 0.7032 GB, free: 105.4 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0004035/1.281, allocations: 100.2 kB / 0.7033 GB, free: 105.4 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: 1784 * Number of variables: 1784 Notification: Performance of Generate backend data structure: time 0.01958/1.301, allocations: 5.147 MB / 0.7083 GB, free: 103.4 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 7.073e-05/1.301, allocations: 13.02 kB / 0.7083 GB, free: 103.4 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02963/1.33, allocations: 6.876 MB / 0.715 GB, free: 103.1 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01933/1.35, allocations: 6.37 MB / 0.7212 GB, free: 102.3 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003978/1.35, allocations: 162.7 kB / 0.7214 GB, free: 102.3 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002414/1.353, allocations: 308.4 kB / 0.7217 GB, free: 102.3 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01214/1.365, allocations: 6.799 MB / 0.7283 GB, free: 102.3 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02159/1.386, allocations: 10.86 MB / 0.7389 GB, free: 99.03 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002999/1.387, allocations: 70.16 kB / 0.739 GB, free: 99.02 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008711/1.388, allocations: 39.25 kB / 0.739 GB, free: 99.02 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001459/1.389, allocations: 1.136 MB / 0.7401 GB, free: 99.01 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05982/1.449, allocations: 54.39 MB / 0.7933 GB, free: 59.6 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004034/1.453, allocations: 3.141 MB / 0.7963 GB, free: 57.94 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002147/1.455, allocations: 1.842 MB / 0.7981 GB, free: 57.14 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000105/1.455, allocations: 29.39 kB / 0.7981 GB, free: 57.14 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.339e-05/1.455, allocations: 51.17 kB / 0.7982 GB, free: 57.08 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=151): time 4.739e-06/1.455, allocations: 0 / 0.7982 GB, free: 57.08 MB / 0.4948 GB Notification: Performance of matching and sorting (n=165): time 0.0364/1.492, allocations: 15.86 MB / 0.8137 GB, free: 50.16 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.422e-05/1.492, allocations: 201.2 kB / 0.8139 GB, free: 49.93 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008136/1.5, allocations: 3.934 MB / 0.8177 GB, free: 46.47 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.000369/1.5, allocations: 25.7 kB / 0.8177 GB, free: 46.44 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.002429/1.503, allocations: 3.925 MB / 0.8216 GB, free: 42.87 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006815/1.504, allocations: 0.6476 MB / 0.8222 GB, free: 42.3 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002212/1.504, allocations: 0 / 0.8222 GB, free: 42.3 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0002997/1.504, allocations: 0.5975 MB / 0.8228 GB, free: 41.78 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002283/1.506, allocations: 1.903 MB / 0.8246 GB, free: 40.09 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003995/1.51, allocations: 6.29 MB / 0.8308 GB, free: 31.91 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003889/1.514, allocations: 3.447 MB / 0.8342 GB, free: 28.98 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.759e-05/1.514, allocations: 44 kB / 0.8342 GB, free: 28.94 MB / 0.4948 GB Notification: Performance of matching and sorting (n=897) (initialization): time 0.01311/1.527, allocations: 7.536 MB / 0.8416 GB, free: 22.33 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 9.762e-05/1.528, allocations: 72 kB / 0.8416 GB, free: 22.26 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001983/1.528, allocations: 159.8 kB / 0.8418 GB, free: 22.11 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001203/1.529, allocations: 0.5867 MB / 0.8423 GB, free: 21.6 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004606/1.534, allocations: 1.561 MB / 0.8439 GB, free: 20.23 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005269/1.539, allocations: 5.408 MB / 0.8492 GB, free: 15.1 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00725/1.546, allocations: 217.8 kB / 0.8494 GB, free: 14.91 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001289/1.548, allocations: 434.6 kB / 0.8498 GB, free: 14.49 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 721 * Number of states: 0 () * Number of discrete variables: 49 (FixedRotation1.color[3],FixedRotation1.color[2],FixedRotation1.color[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 (847): * Single equations (assignments): 842 * 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%) 13,(1,100.0%) 13} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0009816/1.549, allocations: 0.4972 MB / 0.8503 GB, free: 13.99 MB / 0.4948 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.004147/1.553, allocations: 2.636 MB / 0.8528 GB, free: 11.7 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007326/1.553, allocations: 398.8 kB / 0.8532 GB, free: 11.3 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004083/1.558, allocations: 2.285 MB / 0.8554 GB, free: 9.422 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.92e-05/1.558, allocations: 20 kB / 0.8555 GB, free: 9.402 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.476e-05/1.558, allocations: 7.938 kB / 0.8555 GB, free: 9.395 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.674e-05/1.558, allocations: 10.94 kB / 0.8555 GB, free: 9.391 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01249/1.57, allocations: 6.35 MB / 0.8617 GB, free: 4.23 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.333e-05/1.57, allocations: 0 / 0.8617 GB, free: 4.23 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00113/1.571, allocations: 227.6 kB / 0.8619 GB, free: 4.043 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000878/1.572, allocations: 328.6 kB / 0.8622 GB, free: 3.797 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001304/1.572, allocations: 7.938 kB / 0.8622 GB, free: 3.793 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004737/1.577, allocations: 4.742 MB / 0.8669 GB, free: 15.28 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-05/1.577, allocations: 4.031 kB / 0.8669 GB, free: 15.27 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007692/1.585, allocations: 4.565 MB / 0.8713 GB, free: 11.18 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001642/1.587, allocations: 438.9 kB / 0.8717 GB, free: 10.74 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005138/1.587, allocations: 7.469 kB / 0.8717 GB, free: 10.74 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001363/1.588, allocations: 41.72 kB / 0.8718 GB, free: 10.71 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002605/1.589, allocations: 99.25 kB / 0.8719 GB, free: 10.65 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001146/1.589, allocations: 40.94 kB / 0.8719 GB, free: 10.61 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.00539/1.594, allocations: 2.651 MB / 0.8745 GB, free: 8.312 MB / 0.5105 GB Notification: Performance of sort global known variables: time 2.5e-07/1.594, allocations: 0 / 0.8745 GB, free: 8.312 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.008022/1.602, allocations: 0.9531 MB / 0.8754 GB, free: 7.359 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 4 (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 (125): * Single equations (assignments): 120 * 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.61, allocations: 5.347 MB / 0.8807 GB, free: 2.496 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.008931/1.619, allocations: 4.738 MB / 0.8853 GB, free: 14.09 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 6.512e-06/1.619, allocations: 0 / 0.8853 GB, free: 14.09 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.002161/1.621, allocations: 1.398 MB / 0.8867 GB, free: 12.68 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0031/1.624, allocations: 497.5 kB / 0.8871 GB, free: 12.21 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02699/1.651, allocations: 10.04 MB / 0.8969 GB, free: 2.121 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.3078/1.959, allocations: 3.964 MB / 0.9008 GB, free: 119.6 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.00862/1.968, allocations: 2.183 MB / 0.9029 GB, free: 119.6 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00521/1.973, allocations: 2.367 MB / 0.9052 GB, free: 119.6 MB / 0.5261 GB Notification: Performance of SimCode: time 1.493e-06/1.973, allocations: 1.031 kB / 0.9052 GB, free: 119.6 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1496/2.123, allocations: 82.07 MB / 0.9854 GB, free: 99.54 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001494/2.123, allocations: 131.5 kB / 0.9855 GB, free: 99.34 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.814/6.937, allocations: 0 / 0.9855 GB, free: 99.34 MB / 0.5261 GB (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameForces.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameForces.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameForces.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameForces.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameForces_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_MultiBody_Forces_FrameForces_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_MultiBody_Forces_FrameForces.fmu > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameForces.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameForces_res.mat does not exist to compare? outputFormat=mat