Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic.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) 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(Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic,fileNamePrefix="Modelica_4_0_0_Modelica_Mechanics_MultiBody_Examples_Loops_Fourbar_analytic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic,fileNamePrefix="Modelica_4_0_0_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 4.0.0+maint.om/package.mo): time 0.001527/0.001527, allocations: 177.1 kB / 8.35 MB, free: 0.7266 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.579/1.579, allocations: 221.5 MB / 230.3 MB, free: 7.582 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.0008937/0.0008936, allocations: 94.97 kB / 281.2 MB, free: 5.328 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.533e-05/2.535e-05, allocations: 4 kB / 337.1 MB, free: 9.926 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1275/0.1276, allocations: 50.42 MB / 387.6 MB, free: 7.465 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4463/0.574, allocations: 104.4 MB / 492 MB, free: 6.227 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003184/0.5744, allocations: 89.52 kB / 492.1 MB, free: 6.141 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5742/1.149, allocations: 110.3 MB / 0.5883 GB, free: 97.12 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.405e-06/1.149, allocations: 0 / 0.5883 GB, free: 97.12 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0002705/1.149, allocations: 110 kB / 0.5884 GB, free: 97.11 MB / 426.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.01732/1.166, allocations: 4.91 MB / 0.5932 GB, free: 95.05 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.203e-05/1.166, allocations: 7.156 kB / 0.5932 GB, free: 95.05 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02771/1.194, allocations: 6.911 MB / 0.5999 GB, free: 94.14 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02345/1.218, allocations: 6.452 MB / 0.6062 GB, free: 91.84 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003903/1.218, allocations: 166.8 kB / 0.6064 GB, free: 91.84 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003105/1.221, allocations: 314.7 kB / 0.6067 GB, free: 91.83 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01523/1.236, allocations: 7.497 MB / 0.614 GB, free: 89.11 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02723/1.264, allocations: 10.65 MB / 0.6244 GB, free: 80.15 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000316/1.264, allocations: 63.45 kB / 0.6245 GB, free: 80.09 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001816/1.266, allocations: 28 kB / 0.6245 GB, free: 80.06 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001484/1.267, allocations: 1.048 MB / 0.6255 GB, free: 79.01 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05723/1.325, allocations: 48.42 MB / 0.6728 GB, free: 29.43 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003577/1.328, allocations: 3.146 MB / 0.6759 GB, free: 26.14 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00172/1.33, allocations: 1.79 MB / 0.6776 GB, free: 24.34 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001063/1.331, allocations: 1.204 MB / 0.6788 GB, free: 22.94 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.73e-05/1.331, allocations: 59.62 kB / 0.6789 GB, free: 22.88 MB / 426.7 MB Notification: Performance of pre-optimization done (n=185): time 4.679e-06/1.331, allocations: 4.969 kB / 0.6789 GB, free: 22.87 MB / 426.7 MB Notification: Performance of matching and sorting (n=233): time 0.03875/1.37, allocations: 16.08 MB / 0.6946 GB, free: 6.793 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.015e-05/1.37, allocations: 205.9 kB / 0.6948 GB, free: 6.547 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005652/1.376, allocations: 3.451 MB / 0.6981 GB, free: 3.082 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005827/1.376, allocations: 29.7 kB / 0.6982 GB, free: 3.047 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0023/1.379, allocations: 3.616 MB / 0.7017 GB, free: 15.38 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001264/1.38, allocations: 0.8402 MB / 0.7025 GB, free: 14.53 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002543/1.38, allocations: 0 / 0.7025 GB, free: 14.53 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0004043/1.381, allocations: 0.5831 MB / 0.7031 GB, free: 13.94 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003083/1.384, allocations: 2.055 MB / 0.7051 GB, free: 11.88 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0067/1.39, allocations: 5.904 MB / 0.7109 GB, free: 4.035 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005725/1.396, allocations: 3.475 MB / 0.7143 GB, free: 0.5625 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.993e-05/1.396, allocations: 40 kB / 0.7143 GB, free: 0.5234 MB / 442.7 MB Notification: Performance of matching and sorting (n=868) (initialization): time 0.3346/1.731, allocations: 8.008 MB / 0.7221 GB, free: 98.83 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.496e-05/1.731, allocations: 68.39 kB / 0.7222 GB, free: 98.82 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001538/1.731, allocations: 135.3 kB / 0.7223 GB, free: 98.82 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003023/1.734, allocations: 1.029 MB / 0.7233 GB, free: 98.82 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005684/1.74, allocations: 1.476 MB / 0.7248 GB, free: 98.68 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01015/1.75, allocations: 6.528 MB / 0.7311 GB, free: 97.31 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005591/1.756, allocations: 216.1 kB / 0.7313 GB, free: 97.31 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001616/1.757, allocations: 396.2 kB / 0.7317 GB, free: 97.31 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 627 * 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 (804): * Single equations (assignments): 800 * 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.001476/1.759, allocations: 465.3 kB / 0.7322 GB, free: 97.06 MB / 442.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.008169/1.767, allocations: 3.721 MB / 0.7358 GB, free: 96.94 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001001/1.768, allocations: 385.2 kB / 0.7362 GB, free: 96.92 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007599/1.776, allocations: 3.444 MB / 0.7395 GB, free: 96.73 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.657e-05/1.776, allocations: 30.72 kB / 0.7396 GB, free: 96.73 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.846e-05/1.776, allocations: 7.062 kB / 0.7396 GB, free: 96.73 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.306e-05/1.776, allocations: 11.3 kB / 0.7396 GB, free: 96.73 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01928/1.795, allocations: 8.915 MB / 0.7483 GB, free: 93.38 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.696e-05/1.795, allocations: 6.375 kB / 0.7483 GB, free: 93.38 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001711/1.797, allocations: 371.5 kB / 0.7486 GB, free: 93.35 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00262/1.8, allocations: 0.7876 MB / 0.7494 GB, free: 93.18 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003509/1.8, allocations: 20.84 kB / 0.7494 GB, free: 93.18 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00673/1.807, allocations: 5.259 MB / 0.7546 GB, free: 90.27 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.154e-05/1.807, allocations: 7.688 kB / 0.7546 GB, free: 90.27 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009544/1.816, allocations: 6.89 MB / 0.7613 GB, free: 86.68 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001257/1.818, allocations: 427.7 kB / 0.7617 GB, free: 86.36 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004879/1.818, allocations: 12.56 kB / 0.7617 GB, free: 86.36 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001542/1.82, allocations: 66.11 kB / 0.7618 GB, free: 86.36 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002903/1.82, allocations: 150.3 kB / 0.7619 GB, free: 86.33 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000137/1.82, allocations: 69.61 kB / 0.762 GB, free: 86.32 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.004584/1.825, allocations: 2.328 MB / 0.7643 GB, free: 85.44 MB / 442.7 MB Notification: Performance of sort global known variables: time 3.327e-06/1.825, allocations: 0 / 0.7643 GB, free: 85.44 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.01129/1.836, allocations: 1.027 MB / 0.7653 GB, free: 85.44 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 27 * 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 (185): * Single equations (assignments): 181 * 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.01202/1.848, allocations: 8.977 MB / 0.774 GB, free: 79.99 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.008046/1.856, allocations: 5.11 MB / 0.779 GB, free: 78.06 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.046e-05/1.856, allocations: 0 / 0.779 GB, free: 78.06 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00218/1.859, allocations: 1.735 MB / 0.7807 GB, free: 77.32 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002758/1.861, allocations: 440 kB / 0.7811 GB, free: 77.14 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0267/1.888, allocations: 10.48 MB / 0.7914 GB, free: 71 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007678/1.896, allocations: 3.978 MB / 0.7953 GB, free: 68.02 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.006391/1.902, allocations: 2.026 MB / 0.7972 GB, free: 66.84 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003769/1.906, allocations: 2.294 MB / 0.7995 GB, free: 64.7 MB / 442.7 MB Notification: Performance of SimCode: time 2.264e-06/1.906, allocations: 0 / 0.7995 GB, free: 64.7 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4428/2.349, allocations: 85.38 MB / 0.8828 GB, free: 88.01 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002097/2.349, allocations: 149.7 kB / 0.883 GB, free: 87.82 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.477/6.827, allocations: 6.828 kB / 0.883 GB, free: 87.82 MB / 458.7 MB (rm -f Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic.pipe >> ../files/Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Mechanics_MultiBody_Examples_Loops_Fourbar_analytic_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Mechanics_MultiBody_Examples_Loops_Fourbar_analytic.fmu > Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic.pipe 2>&1)