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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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 3.2.3+maint.om/package.mo", uses=false) 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 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) 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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001032/0.001032, allocations: 101.4 kB / 16.95 MB, free: 6.453 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001045/0.001046, allocations: 185.6 kB / 17.84 MB, free: 6.004 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.475/1.475, allocations: 205.4 MB / 224 MB, free: 13.16 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0004558/0.0004561, allocations: 15.98 kB / 280.9 MB, free: 3.625 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1016/0.102, allocations: 47.58 MB / 328.5 MB, free: 3.977 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic): time 0.04947/0.1515, allocations: 50.28 MB / 378.7 MB, free: 1.555 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.2307/0.3823, allocations: 11.29 MB / 390 MB, free: 8.566 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01253/0.3949, allocations: 240 kB / 390.3 MB, free: 8.566 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.009605/0.4046, allocations: 2.567 MB / 392.8 MB, free: 8.531 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02555/0.4301, allocations: 7.717 MB / 400.5 MB, free: 5.719 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004905/0.4351, allocations: 0.9176 MB / 401.5 MB, free: 5.445 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0465/0.4816, allocations: 35.7 MB / 437.2 MB, free: 0.5195 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01027/0.4919, allocations: 6.587 MB / 443.7 MB, free: 11.65 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003626/0.4956, allocations: 1.658 MB / 445.4 MB, free: 10.23 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004038/0.4997, allocations: 2.542 MB / 447.9 MB, free: 8.117 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006298/0.5003, allocations: 188 kB / 448.1 MB, free: 7.934 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002685/0.503, allocations: 1.178 MB / 449.3 MB, free: 6.957 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002211/0.5052, allocations: 2.2 MB / 451.5 MB, free: 5.129 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001277/0.5065, allocations: 1.05 MB / 452.6 MB, free: 4.555 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009601/0.5161, allocations: 7.564 MB / 460.1 MB, free: 13.98 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.546e-06/0.5162, allocations: 0 / 460.1 MB, free: 13.98 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.525e-06/0.5162, allocations: 0 / 460.1 MB, free: 13.98 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0002727/0.5165, allocations: 0 / 460.1 MB, free: 13.98 MB / 366.1 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.0136/0.5301, allocations: 5.172 MB / 465.3 MB, free: 9.172 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.068e-05/0.5302, allocations: 8.031 kB / 465.3 MB, free: 9.164 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002949/0.5331, allocations: 0.937 MB / 466.2 MB, free: 8.562 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03203/0.5652, allocations: 6.108 MB / 472.3 MB, free: 2.867 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01065/0.5759, allocations: 4.619 MB / 477 MB, free: 14.94 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003306/0.5762, allocations: 309.5 kB / 477.3 MB, free: 14.67 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001936/0.5782, allocations: 443.8 kB / 477.7 MB, free: 14.27 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02538/0.6036, allocations: 12.31 MB / 490 MB, free: 1.328 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000188/0.6038, allocations: 51.48 kB / 490.1 MB, free: 1.277 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005695/0.6044, allocations: 187.8 kB / 490.2 MB, free: 1.129 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002985/0.6074, allocations: 2.034 MB / 492.3 MB, free: 15.11 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02263/0.63, allocations: 10.34 MB / 0.4908 GB, free: 4.758 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06704/0.6971, allocations: 44.15 MB / 0.5339 GB, free: 7.598 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01278/0.7099, allocations: 4.831 MB / 0.5387 GB, free: 2.617 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003102/0.7131, allocations: 1.965 MB / 0.5406 GB, free: 0.6484 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2347/0.9478, allocations: 7.012 MB / 0.5474 GB, free: 163.2 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.642e-05/0.9479, allocations: 57.36 kB / 0.5475 GB, free: 163.2 MB / 446.1 MB Notification: Performance of pre-optimization done (n=179): time 5.12e-06/0.948, allocations: 0 / 0.5475 GB, free: 163.2 MB / 446.1 MB Notification: Performance of matching and sorting (n=223): time 0.05817/1.006, allocations: 19.28 MB / 0.5663 GB, free: 157.4 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.096e-05/1.006, allocations: 217.4 kB / 0.5665 GB, free: 157.2 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006151/1.012, allocations: 4.487 MB / 0.5709 GB, free: 154.3 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003867/1.013, allocations: 53.7 kB / 0.571 GB, free: 154.2 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002125/1.015, allocations: 3.57 MB / 0.5744 GB, free: 150.7 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009572/1.016, allocations: 0.838 MB / 0.5753 GB, free: 149.8 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002611/1.016, allocations: 130.5 kB / 0.5754 GB, free: 149.7 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0003137/1.017, allocations: 0.5699 MB / 0.5759 GB, free: 149.1 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003001/1.02, allocations: 2.206 MB / 0.5781 GB, free: 146.9 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00502/1.025, allocations: 5.947 MB / 0.5839 GB, free: 139.2 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004665/1.029, allocations: 3.56 MB / 0.5874 GB, free: 135.6 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.528e-05/1.029, allocations: 40 kB / 0.5874 GB, free: 135.6 MB / 446.1 MB Notification: Performance of matching and sorting (n=830) (initialization): time 0.01499/1.044, allocations: 8.982 MB / 0.5962 GB, free: 126.6 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.949e-05/1.044, allocations: 63.28 kB / 0.5963 GB, free: 126.5 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000103/1.045, allocations: 132 kB / 0.5964 GB, free: 126.4 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003077/1.048, allocations: 1.226 MB / 0.5976 GB, free: 125.2 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003955/1.052, allocations: 1.411 MB / 0.599 GB, free: 123.8 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009135/1.061, allocations: 7.542 MB / 0.6063 GB, free: 116.1 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005673/1.067, allocations: 339.5 kB / 0.6066 GB, free: 115.8 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000823/1.067, allocations: 378.3 kB / 0.607 GB, free: 115.4 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 599 * 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (766): * Single equations (assignments): 762 * 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.004062/1.071, allocations: 2.488 MB / 0.6094 GB, free: 112.9 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000808/1.072, allocations: 406.8 kB / 0.6098 GB, free: 112.5 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006444/1.079, allocations: 3.871 MB / 0.6136 GB, free: 108.6 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.123e-05/1.079, allocations: 30.06 kB / 0.6136 GB, free: 108.6 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.363e-05/1.079, allocations: 11.95 kB / 0.6136 GB, free: 108.6 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.758e-05/1.079, allocations: 15.33 kB / 0.6137 GB, free: 108.6 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.016/1.095, allocations: 10.18 MB / 0.6236 GB, free: 98.27 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.946e-05/1.095, allocations: 8 kB / 0.6236 GB, free: 98.26 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001376/1.096, allocations: 343.5 kB / 0.6239 GB, free: 97.93 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002753/1.099, allocations: 0.9917 MB / 0.6249 GB, free: 96.93 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001889/1.099, allocations: 40 kB / 0.6249 GB, free: 96.89 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0074/1.107, allocations: 6.205 MB / 0.631 GB, free: 90.55 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.871e-06/1.107, allocations: 4.875 kB / 0.631 GB, free: 90.55 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009485/1.116, allocations: 6.597 MB / 0.6374 GB, free: 83.86 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001967/1.118, allocations: 0.7378 MB / 0.6382 GB, free: 83.1 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005969/1.119, allocations: 37.33 kB / 0.6382 GB, free: 83.07 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001449/1.12, allocations: 111.2 kB / 0.6383 GB, free: 82.96 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002964/1.121, allocations: 145 kB / 0.6384 GB, free: 82.82 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001337/1.121, allocations: 61.31 kB / 0.6385 GB, free: 82.76 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.004248/1.125, allocations: 2.829 MB / 0.6413 GB, free: 79.93 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.9e-07/1.125, allocations: 0 / 0.6413 GB, free: 79.93 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.006136/1.131, allocations: 1.172 MB / 0.6424 GB, free: 78.77 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 23 * Number of states: 2 (j1.phi,j1.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 (173): * Single equations (assignments): 169 * 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.009095/1.14, allocations: 7.306 MB / 0.6495 GB, free: 71.39 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.00803/1.148, allocations: 5.469 MB / 0.6549 GB, free: 65.93 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.105e-05/1.148, allocations: 2 kB / 0.6549 GB, free: 65.93 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002308/1.151, allocations: 1.826 MB / 0.6567 GB, free: 64.09 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00333/1.154, allocations: 0.5367 MB / 0.6572 GB, free: 63.55 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06627/1.22, allocations: 40.84 MB / 0.6971 GB, free: 18.61 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004105/1.224, allocations: 3.872 MB / 0.7009 GB, free: 14.71 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.004665/1.229, allocations: 1.938 MB / 0.7028 GB, free: 12.76 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002744/1.232, allocations: 2.296 MB / 0.705 GB, free: 10.46 MB / 446.1 MB Notification: Performance of SimCode: time 1.152e-06/1.232, allocations: 3.938 kB / 0.705 GB, free: 10.46 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3411/1.573, allocations: 91.25 MB / 0.7941 GB, free: 86.58 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001727/1.573, allocations: 225 kB / 0.7943 GB, free: 86.34 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.658/6.231, allocations: 0 / 0.7943 GB, free: 86.34 MB / 446.1 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) Environment - environmentSimulation: