Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic.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) 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(Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic,fileNamePrefix="Modelica_3_2_3_Modelica_Mechanics_MultiBody_Examples_Loops_Fourbar_analytic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic,fileNamePrefix="Modelica_3_2_3_Modelica_Mechanics_MultiBody_Examples_Loops_Fourbar_analytic",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.0009823/0.0009825, allocations: 172.9 kB / 14.1 MB, free: 1.223 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.439/1.439, allocations: 205.2 MB / 219.8 MB, free: 14.2 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.000844/0.0008439, allocations: 74.73 kB / 268 MB, free: 14.04 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.674e-05/2.679e-05, allocations: 4 kB / 322.5 MB, free: 17.25 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07999/0.08003, allocations: 47.57 MB / 370.1 MB, free: 1.609 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3168/0.3969, allocations: 103.4 MB / 473.5 MB, free: 6.234 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002807/0.3972, allocations: 91.06 kB / 473.6 MB, free: 6.188 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4644/0.8616, allocations: 111.3 MB / 0.5711 GB, free: 92.1 MB / 410.7 MB Notification: Performance of FrontEnd: time 3.837e-06/0.8616, allocations: 0 / 0.5711 GB, free: 92.1 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0003229/0.862, allocations: 106.7 kB / 0.5712 GB, free: 92.09 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1743 * Number of variables: 1743 Notification: Performance of Generate backend data structure: time 0.01523/0.8772, allocations: 4.929 MB / 0.5761 GB, free: 90.03 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.442e-05/0.8773, allocations: 15.25 kB / 0.5761 GB, free: 90.02 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003597/0.8809, allocations: 1.033 MB / 0.5771 GB, free: 89.93 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02491/0.9058, allocations: 6.899 MB / 0.5838 GB, free: 89.18 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01537/0.9213, allocations: 6.778 MB / 0.5904 GB, free: 86.82 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003499/0.9217, allocations: 392.9 kB / 0.5908 GB, free: 86.66 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002238/0.9239, allocations: 0.5209 MB / 0.5913 GB, free: 86.51 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02363/0.9475, allocations: 12.57 MB / 0.6036 GB, free: 77.98 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001928/0.9478, allocations: 63.45 kB / 0.6037 GB, free: 77.91 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008101/0.9486, allocations: 241.2 kB / 0.6039 GB, free: 77.7 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00104/0.9496, allocations: 1.052 MB / 0.6049 GB, free: 76.65 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.019/0.9687, allocations: 10.39 MB / 0.6151 GB, free: 66.26 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05389/1.023, allocations: 50.24 MB / 0.6641 GB, free: 14.79 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01134/1.034, allocations: 4.77 MB / 0.6688 GB, free: 9.871 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002165/1.036, allocations: 1.874 MB / 0.6706 GB, free: 7.988 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01048/1.047, allocations: 7.055 MB / 0.6775 GB, free: 0.7031 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.786e-05/1.047, allocations: 51.56 kB / 0.6776 GB, free: 0.6445 MB / 410.7 MB Notification: Performance of pre-optimization done (n=179): time 5.41e-06/1.047, allocations: 0 / 0.6776 GB, free: 0.6445 MB / 410.7 MB Notification: Performance of matching and sorting (n=224): time 0.2753/1.322, allocations: 17.13 MB / 0.6943 GB, free: 100.7 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.036e-05/1.322, allocations: 206.2 kB / 0.6945 GB, free: 100.5 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009845/1.332, allocations: 3.912 MB / 0.6983 GB, free: 100.2 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000443/1.333, allocations: 61.14 kB / 0.6984 GB, free: 100.2 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003435/1.336, allocations: 3.577 MB / 0.7019 GB, free: 99.11 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001486/1.337, allocations: 0.8375 MB / 0.7027 GB, free: 98.62 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001028/1.338, allocations: 127.1 kB / 0.7028 GB, free: 98.62 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0008636/1.339, allocations: 0.5707 MB / 0.7033 GB, free: 98.31 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004326/1.344, allocations: 2.115 MB / 0.7054 GB, free: 98.29 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005594/1.349, allocations: 5.862 MB / 0.7111 GB, free: 93.47 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005037/1.354, allocations: 3.52 MB / 0.7146 GB, free: 93.44 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.455e-05/1.354, allocations: 41.44 kB / 0.7146 GB, free: 93.44 MB / 426.7 MB Notification: Performance of matching and sorting (n=835) (initialization): time 0.01463/1.369, allocations: 8.693 MB / 0.7231 GB, free: 91.83 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001002/1.369, allocations: 59.09 kB / 0.7232 GB, free: 91.83 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001654/1.369, allocations: 132 kB / 0.7233 GB, free: 91.83 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002922/1.372, allocations: 1.032 MB / 0.7243 GB, free: 91.64 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004479/1.377, allocations: 1.416 MB / 0.7257 GB, free: 91.47 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00882/1.386, allocations: 6.883 MB / 0.7324 GB, free: 87.82 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006214/1.392, allocations: 332.5 kB / 0.7327 GB, free: 87.7 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001282/1.393, allocations: 385.5 kB / 0.7331 GB, free: 87.65 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 603 * Number of states: 0 () * Number of discrete variables: 46 (jointSSP.prismatic.positiveBranch,b2.color[3],b2.color[2],b2.color[1],b2.body.sphereColor[3],b2.body.sphereColor[2],b2.body.sphereColor[1],jointSSP.rod2Color[3],jointSSP.rod2Color[2],jointSSP.rod2Color[1],jointSSP.sphereColor[3],jointSSP.sphereColor[2],jointSSP.sphereColor[1],jointSSP.rod1Color[3],jointSSP.rod1Color[2],jointSSP.rod1Color[1],jointSSP.rod1.massColor[3],jointSSP.rod1.massColor[2],jointSSP.rod1.massColor[1],jointSSP.boxColor[3],jointSSP.boxColor[2],jointSSP.boxColor[1],b3.color[3],b3.color[2],b3.color[1],b1.color[3],b1.color[2],b1.color[1],b1.body.sphereColor[3],b1.body.sphereColor[2],b1.body.sphereColor[1],j1.cylinderColor[3],j1.cylinderColor[2],j1.cylinderColor[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],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (771): * Single equations (assignments): 767 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 40} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001703/1.395, allocations: 0.5871 MB / 0.7337 GB, free: 87.17 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001096/1.396, allocations: 416.1 kB / 0.7341 GB, free: 86.94 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006794/1.403, allocations: 3.608 MB / 0.7376 GB, free: 85.59 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.457e-05/1.403, allocations: 24.55 kB / 0.7376 GB, free: 85.59 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.254e-05/1.403, allocations: 7.281 kB / 0.7376 GB, free: 85.59 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.704e-05/1.403, allocations: 10 kB / 0.7376 GB, free: 85.59 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0173/1.42, allocations: 9.831 MB / 0.7472 GB, free: 81.73 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.206e-05/1.42, allocations: 10.94 kB / 0.7472 GB, free: 81.73 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001551/1.422, allocations: 347.3 kB / 0.7476 GB, free: 81.71 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002575/1.425, allocations: 0.7972 MB / 0.7483 GB, free: 81.54 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001798/1.425, allocations: 43.08 kB / 0.7484 GB, free: 81.52 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006374/1.431, allocations: 5.604 MB / 0.7539 GB, free: 78.44 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.102e-06/1.431, allocations: 10.25 kB / 0.7539 GB, free: 78.44 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008549/1.44, allocations: 6.942 MB / 0.7606 GB, free: 74.77 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001897/1.442, allocations: 0.7176 MB / 0.7613 GB, free: 74.32 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000396/1.442, allocations: 37.47 kB / 0.7614 GB, free: 74.29 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001408/1.443, allocations: 105.2 kB / 0.7615 GB, free: 74.27 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002794/1.444, allocations: 143 kB / 0.7616 GB, free: 74.24 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001306/1.444, allocations: 66.52 kB / 0.7617 GB, free: 74.22 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.003617/1.447, allocations: 2.751 MB / 0.7644 GB, free: 73.25 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.9e-07/1.447, allocations: 0 / 0.7644 GB, free: 73.25 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.005126/1.453, allocations: 1.18 MB / 0.7655 GB, free: 73.11 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 25 * Number of states: 2 (j1.phi,j1.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (176): * Single equations (assignments): 172 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 30} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.008954/1.462, allocations: 8.903 MB / 0.7742 GB, free: 66 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.007546/1.469, allocations: 5.331 MB / 0.7794 GB, free: 61.1 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 9.528e-06/1.469, allocations: 0 / 0.7794 GB, free: 61.1 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00213/1.471, allocations: 1.772 MB / 0.7811 GB, free: 59.46 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002573/1.474, allocations: 0.5157 MB / 0.7817 GB, free: 59.02 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01909/1.493, allocations: 10.7 MB / 0.7921 GB, free: 49.63 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003344/1.496, allocations: 3.991 MB / 0.796 GB, free: 46.62 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.004376/1.501, allocations: 1.945 MB / 0.7979 GB, free: 45.39 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002526/1.503, allocations: 2.312 MB / 0.8002 GB, free: 43.24 MB / 426.7 MB Notification: Performance of SimCode: time 9.72e-07/1.503, allocations: 0 / 0.8002 GB, free: 43.24 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3497/1.853, allocations: 90.88 MB / 0.8889 GB, free: 95.11 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001562/1.853, allocations: 187 kB / 0.8891 GB, free: 94.88 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.227/6.081, allocations: 0 / 0.8891 GB, free: 94.88 MB / 442.7 MB (rm -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Mechanics_MultiBody_Examples_Loops_Fourbar_analytic_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Mechanics_MultiBody_Examples_Loops_Fourbar_analytic.fmu > Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic.pipe 2>&1)