Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarFourbar.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: translateModel(Modelica.Mechanics.MultiBody.Examples.Loops.PlanarFourbar,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarFourbar") translateModel(Modelica.Mechanics.MultiBody.Examples.Loops.PlanarFourbar,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarFourbar") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00118/0.00118, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.0015/0.0015, allocations: 186.6 kB / 16.25 MB, free: 6.621 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.486/1.486, allocations: 205.1 MB / 222.1 MB, free: 4.734 MB / 174.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.001463/0.001464, allocations: 47.92 kB / 278.2 MB, free: 12.64 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2767/0.2782, allocations: 46.62 MB / 324.8 MB, free: 1.879 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Loops.PlanarFourbar): time 0.0748/0.353, allocations: 81.45 MB / 406.3 MB, free: 2.344 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.04326/0.3963, allocations: 16.51 MB / 422.8 MB, free: 1.777 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02011/0.4165, allocations: 375 kB / 423.2 MB, free: 1.41 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01194/0.4285, allocations: 6.078 MB / 429.3 MB, free: 11.32 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008456/0.437, allocations: 2.663 MB / 431.9 MB, free: 8.645 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005423/0.4424, allocations: 2.188 MB / 434.1 MB, free: 6.453 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.01541/0.4579, allocations: 9.26 MB / 443.4 MB, free: 13.17 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01501/0.473, allocations: 8.857 MB / 452.2 MB, free: 4.211 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007388/0.4804, allocations: 3.287 MB / 455.5 MB, free: 0.9141 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.2995/0.78, allocations: 4.632 MB / 460.1 MB, free: 13.8 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.004437/0.7845, allocations: 0.7175 MB / 460.9 MB, free: 13.8 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00557/0.79, allocations: 1.918 MB / 462.8 MB, free: 13.8 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.006339/0.7964, allocations: 3.891 MB / 466.7 MB, free: 13.8 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.009413/0.8059, allocations: 4.194 MB / 470.9 MB, free: 12.88 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01937/0.8253, allocations: 13.01 MB / 483.9 MB, free: 11.2 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.072e-05/0.8253, allocations: 0 / 483.9 MB, free: 11.2 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.546e-06/0.8253, allocations: 0 / 483.9 MB, free: 11.2 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0007133/0.826, allocations: 0 / 483.9 MB, free: 11.2 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2349 * Number of variables: 2349 Notification: Performance of Generate backend data structure: time 0.03173/0.8578, allocations: 8.937 MB / 492.8 MB, free: 6.672 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.903e-05/0.8579, allocations: 9.219 kB / 492.8 MB, free: 6.672 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04564/0.9035, allocations: 4.85 MB / 497.7 MB, free: 4.738 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01681/0.9203, allocations: 6.579 MB / 0.4924 GB, free: 2.703 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004544/0.9208, allocations: 436 kB / 0.4928 GB, free: 2.691 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003554/0.9244, allocations: 0.5856 MB / 0.4934 GB, free: 2.59 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04266/0.9671, allocations: 17.05 MB / 0.5101 GB, free: 3.789 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003204/0.9675, allocations: 85.52 kB / 0.5102 GB, free: 3.734 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002201/0.9697, allocations: 271.7 kB / 0.5104 GB, free: 3.512 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004659/0.9743, allocations: 2.652 MB / 0.513 GB, free: 0.8906 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03288/1.007, allocations: 14.8 MB / 0.5275 GB, free: 2.34 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1001/1.107, allocations: 64.62 MB / 0.5906 GB, free: 0.9102 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02423/1.132, allocations: 8.784 MB / 0.5991 GB, free: 7.988 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.007498/1.139, allocations: 5.058 MB / 0.6041 GB, free: 2.926 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03797/1.177, allocations: 18.65 MB / 0.6223 GB, free: 160 kB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.361e-05/1.177, allocations: 70.81 kB / 0.6224 GB, free: 84 kB / 0.4981 GB Notification: Performance of pre-optimization done (n=281): time 6.091e-06/1.177, allocations: 0 / 0.6224 GB, free: 84 kB / 0.4981 GB Notification: Performance of matching and sorting (n=374): time 0.4428/1.62, allocations: 74.06 MB / 0.6947 GB, free: 172.9 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001257/1.62, allocations: 380.6 kB / 0.6951 GB, free: 172.5 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009043/1.629, allocations: 6.421 MB / 0.7013 GB, free: 166 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.001266/1.631, allocations: 84.12 kB / 0.7014 GB, free: 165.9 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.002488/1.633, allocations: 4.76 MB / 0.7061 GB, free: 161.2 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.001933/1.635, allocations: 1.373 MB / 0.7074 GB, free: 159.8 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002989/1.638, allocations: 1.988 MB / 0.7093 GB, free: 157.8 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 4.905e-05/1.638, allocations: 301.1 kB / 0.7096 GB, free: 157.5 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006603/1.645, allocations: 5.988 MB / 0.7155 GB, free: 151.5 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009583/1.654, allocations: 11.02 MB / 0.7262 GB, free: 138.1 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01956/1.674, allocations: 17.96 MB / 0.7438 GB, free: 117.7 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001356/1.674, allocations: 48 kB / 0.7438 GB, free: 117.6 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1233) (initialization): time 0.04655/1.721, allocations: 23.34 MB / 0.7666 GB, free: 94.23 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003055/1.721, allocations: 82.88 kB / 0.7667 GB, free: 94.15 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003597/1.721, allocations: 172 kB / 0.7669 GB, free: 93.98 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02145/1.743, allocations: 7.464 MB / 0.7741 GB, free: 86.5 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007555/1.75, allocations: 2.195 MB / 0.7763 GB, free: 84.3 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04357/1.794, allocations: 38.1 MB / 0.8135 GB, free: 45.78 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01012/1.804, allocations: 0.7489 MB / 0.8142 GB, free: 45.03 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002207/1.806, allocations: 0.5234 MB / 0.8147 GB, free: 44.51 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 785 * Number of states: 0 () * Number of discrete variables: 51 (sensorJoint4.arrowColor[3],sensorJoint4.arrowColor[2],sensorJoint4.arrowColor[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],body4.color[3],body4.color[2],body4.color[1],body4.body.sphereColor[3],body4.body.sphereColor[2],body4.body.sphereColor[1],body3.color[3],body3.color[2],body3.color[1],body3.body.sphereColor[3],body3.body.sphereColor[2],body3.body.sphereColor[1],body2.color[3],body2.color[2],body2.color[1],body2.body.sphereColor[3],body2.body.sphereColor[2],body2.body.sphereColor[1],body1.color[3],body1.color[2],body1.color[1],body1.body.sphereColor[3],body1.body.sphereColor[2],body1.body.sphereColor[1],revolute4cut.cylinderColor[3],revolute4cut.cylinderColor[2],revolute4cut.cylinderColor[1],revolute3.cylinderColor[3],revolute3.cylinderColor[2],revolute3.cylinderColor[1],revolute2.cylinderColor[3],revolute2.cylinderColor[2],revolute2.cylinderColor[1],revolute1.cylinderColor[3],revolute1.cylinderColor[2],revolute1.cylinderColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1091): * Single equations (assignments): 1084 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(5,68,84.0%), (2,18,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,24)} Notification: Performance of prepare postOptimizeDAE: time 0.006976/1.813, allocations: 3.44 MB / 0.8181 GB, free: 41.05 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001561/1.815, allocations: 0.5785 MB / 0.8187 GB, free: 40.46 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03011/1.845, allocations: 16.95 MB / 0.8352 GB, free: 23.45 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.465e-05/1.845, allocations: 48 kB / 0.8353 GB, free: 23.4 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.43e-05/1.845, allocations: 16 kB / 0.8353 GB, free: 23.38 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.068e-05/1.845, allocations: 19.94 kB / 0.8353 GB, free: 23.36 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2766/2.122, allocations: 32.16 MB / 0.8667 GB, free: 190.5 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.289e-05/2.122, allocations: 3.844 kB / 0.8667 GB, free: 190.5 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003266/2.125, allocations: 0.6052 MB / 0.8673 GB, free: 190.5 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01952/2.145, allocations: 7.038 MB / 0.8742 GB, free: 189.4 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001259/2.146, allocations: 61.88 kB / 0.8742 GB, free: 189.3 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04096/2.187, allocations: 36.3 MB / 0.9097 GB, free: 161.2 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.636e-06/2.187, allocations: 3.938 kB / 0.9097 GB, free: 161.2 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03859/2.226, allocations: 24.62 MB / 0.9337 GB, free: 136.8 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005107/2.231, allocations: 1.664 MB / 0.9354 GB, free: 135.5 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002178/2.233, allocations: 61.88 kB / 0.9354 GB, free: 135.4 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005109/2.238, allocations: 448.2 kB / 0.9358 GB, free: 135 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001343/2.24, allocations: 249.7 kB / 0.9361 GB, free: 134.7 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003894/2.24, allocations: 93.95 kB / 0.9362 GB, free: 134.6 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.006924/2.247, allocations: 4.08 MB / 0.9402 GB, free: 130.6 MB / 0.4981 GB Notification: Performance of sort global known variables: time 3.31e-07/2.247, allocations: 0 / 0.9402 GB, free: 130.6 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.01014/2.257, allocations: 2.293 MB / 0.9424 GB, free: 128.3 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 2 (revolute1.phi,revolute1.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 (243): * Single equations (assignments): 236 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(5,62,84.0%), (2,15,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,28)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001154/2.258, allocations: 280.6 kB / 0.9427 GB, free: 128 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.03407/2.292, allocations: 20.06 MB / 0.9622 GB, free: 108 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.599e-05/2.293, allocations: 0 / 0.9622 GB, free: 108 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.01215/2.305, allocations: 6.713 MB / 0.9688 GB, free: 101.3 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008876/2.314, allocations: 0.8928 MB / 0.9697 GB, free: 100.4 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03754/2.351, allocations: 23.59 MB / 0.9927 GB, free: 76.93 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007491/2.359, allocations: 5.287 MB / 0.9979 GB, free: 71.61 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.007613/2.366, allocations: 3.02 MB / 1.001 GB, free: 68.58 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0021/2.369, allocations: 383.4 kB / 1.001 GB, free: 68.2 MB / 0.4981 GB Notification: Performance of SimCode: time 3.186e-06/2.369, allocations: 0 / 1.001 GB, free: 68.2 MB / 0.4981 GB Notification: Performance of Templates: time 0.405/2.774, allocations: 113.2 MB / 1.112 GB, free: 158.2 MB / 0.4981 GB make -j1 -f Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarFourbar.makefile (rm -f Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarFourbar.pipe ; mkfifo Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarFourbar.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarFourbar.pipe >> ../files/Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarFourbar.sim & ./Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarFourbar -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarFourbar.pipe 2>&1)