Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.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.2.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.2.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.0008216/0.0008215, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.0008223/0.0008223, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.468/1.468, allocations: 205.4 MB / 222.1 MB, free: 5.633 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.0004465/0.0004466, allocations: 8 kB / 278.9 MB, free: 12.81 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2691/0.2696, allocations: 47.59 MB / 326.5 MB, free: 1.613 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Loops.PlanarFourbar): time 0.06862/0.3382, allocations: 73.88 MB / 400.4 MB, free: 9.574 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.04248/0.3808, allocations: 15.86 MB / 416.2 MB, free: 9.66 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01619/0.397, allocations: 371 kB / 416.6 MB, free: 9.297 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01241/0.4095, allocations: 3.623 MB / 420.2 MB, free: 5.656 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.03516/0.4447, allocations: 10.77 MB / 431 MB, free: 10.85 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007772/0.4525, allocations: 1.232 MB / 432.2 MB, free: 9.613 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.3371/0.7896, allocations: 66.42 MB / 498.6 MB, free: 20.14 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01258/0.8022, allocations: 10.24 MB / 0.497 GB, free: 12.96 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004197/0.8064, allocations: 2.42 MB / 0.4993 GB, free: 11.32 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004811/0.8113, allocations: 3.653 MB / 0.5029 GB, free: 8.691 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001085/0.8124, allocations: 248 kB / 0.5031 GB, free: 8.449 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002673/0.8151, allocations: 1.302 MB / 0.5044 GB, free: 7.395 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003149/0.8182, allocations: 3.238 MB / 0.5076 GB, free: 5 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001757/0.82, allocations: 1.44 MB / 0.509 GB, free: 4.496 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009685/0.8297, allocations: 10.37 MB / 0.5191 GB, free: 11.49 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.233e-06/0.8297, allocations: 0 / 0.5191 GB, free: 11.49 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.734e-06/0.8297, allocations: 0 / 0.5191 GB, free: 11.49 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0004282/0.8302, allocations: 0 / 0.5191 GB, free: 11.49 MB / 398.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.01764/0.8478, allocations: 7.415 MB / 0.5263 GB, free: 4.668 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.508e-05/0.8479, allocations: 9.672 kB / 0.5263 GB, free: 4.66 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03913/0.887, allocations: 4.97 MB / 0.5312 GB, free: 15.83 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0151/0.9022, allocations: 6.467 MB / 0.5375 GB, free: 11.27 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003417/0.9025, allocations: 434.4 kB / 0.5379 GB, free: 11.04 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00226/0.9048, allocations: 0.5817 MB / 0.5385 GB, free: 10.65 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03345/0.9383, allocations: 17.06 MB / 0.5552 GB, free: 13.55 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002407/0.9386, allocations: 87.28 kB / 0.5552 GB, free: 13.5 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008383/0.9394, allocations: 268.8 kB / 0.5555 GB, free: 13.43 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004375/0.9438, allocations: 2.656 MB / 0.5581 GB, free: 11.23 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03001/0.9738, allocations: 14.77 MB / 0.5725 GB, free: 0.9727 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4661/1.44, allocations: 64.59 MB / 0.6356 GB, free: 157.3 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0199/1.46, allocations: 8.822 MB / 0.6442 GB, free: 156.6 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005047/1.465, allocations: 5.049 MB / 0.6491 GB, free: 156.6 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02357/1.489, allocations: 18.64 MB / 0.6673 GB, free: 147.1 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.697e-05/1.489, allocations: 65.06 kB / 0.6674 GB, free: 147 MB / 478.1 MB Notification: Performance of pre-optimization done (n=281): time 4.879e-06/1.489, allocations: 3.469 kB / 0.6674 GB, free: 147 MB / 478.1 MB Notification: Performance of matching and sorting (n=374): time 0.2189/1.708, allocations: 75.17 MB / 0.7408 GB, free: 72.36 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001139/1.708, allocations: 376.3 kB / 0.7412 GB, free: 71.92 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007835/1.716, allocations: 6.382 MB / 0.7474 GB, free: 65.54 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.001057/1.717, allocations: 81.7 kB / 0.7475 GB, free: 65.45 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002399/1.719, allocations: 4.756 MB / 0.7521 GB, free: 60.71 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001809/1.721, allocations: 1.38 MB / 0.7535 GB, free: 59.34 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006463/1.722, allocations: 192 kB / 0.7537 GB, free: 59.16 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0003775/1.722, allocations: 0.703 MB / 0.7543 GB, free: 58.45 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006732/1.729, allocations: 5.953 MB / 0.7602 GB, free: 52.48 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009573/1.738, allocations: 10.99 MB / 0.7709 GB, free: 39.12 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009926/1.748, allocations: 7.898 MB / 0.7786 GB, free: 31.36 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001002/1.748, allocations: 52 kB / 0.7787 GB, free: 31.31 MB / 478.1 MB Notification: Performance of matching and sorting (n=1233) (initialization): time 0.04582/1.794, allocations: 23.27 MB / 0.8014 GB, free: 8.098 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002171/1.794, allocations: 80 kB / 0.8015 GB, free: 8.02 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003492/1.795, allocations: 172 kB / 0.8016 GB, free: 7.852 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0199/1.815, allocations: 7.518 MB / 0.809 GB, free: 328 kB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.2185/2.033, allocations: 2.189 MB / 0.8111 GB, free: 174.7 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04281/2.076, allocations: 35.57 MB / 0.8458 GB, free: 161.2 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009195/2.085, allocations: 0.7428 MB / 0.8466 GB, free: 161.1 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00201/2.087, allocations: 0.5289 MB / 0.8471 GB, free: 161 MB / 478.1 MB 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 (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(6,77.8%) 67,(2,100.0%) 18} * Non-linear torn systems: 1 {2 24} Notification: Performance of prepare postOptimizeDAE: time 0.006668/2.094, allocations: 3.442 MB / 0.8504 GB, free: 158.7 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001333/2.095, allocations: 0.5762 MB / 0.851 GB, free: 158.4 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02908/2.125, allocations: 16.96 MB / 0.8676 GB, free: 142.3 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.854e-05/2.125, allocations: 48 kB / 0.8676 GB, free: 142.3 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.675e-05/2.125, allocations: 16 kB / 0.8676 GB, free: 142.3 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.715e-05/2.125, allocations: 18.09 kB / 0.8676 GB, free: 142.2 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04869/2.173, allocations: 32.17 MB / 0.8991 GB, free: 109.8 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.432e-05/2.174, allocations: 4 kB / 0.8991 GB, free: 109.8 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003202/2.177, allocations: 0.6044 MB / 0.8996 GB, free: 109.2 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01834/2.195, allocations: 7.148 MB / 0.9066 GB, free: 102.1 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008976/2.196, allocations: 63.98 kB / 0.9067 GB, free: 102 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04023/2.236, allocations: 33.87 MB / 0.9398 GB, free: 68.05 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.82e-06/2.236, allocations: 7.969 kB / 0.9398 GB, free: 68.04 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03791/2.274, allocations: 24.59 MB / 0.9638 GB, free: 43.4 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.004013/2.278, allocations: 1.665 MB / 0.9654 GB, free: 41.71 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001913/2.28, allocations: 60.62 kB / 0.9655 GB, free: 41.65 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004706/2.285, allocations: 451.9 kB / 0.9659 GB, free: 41.21 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001293/2.286, allocations: 243.3 kB / 0.9661 GB, free: 40.97 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007105/2.287, allocations: 96.25 kB / 0.9662 GB, free: 40.88 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.007582/2.295, allocations: 4.049 MB / 0.9702 GB, free: 36.84 MB / 478.1 MB Notification: Performance of sort global known variables: time 5.21e-07/2.295, allocations: 3.938 kB / 0.9702 GB, free: 36.83 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.01001/2.305, allocations: 2.293 MB / 0.9724 GB, free: 34.55 MB / 478.1 MB 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 (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(5,84.0%) 62,(2,100.0%) 15} * Non-linear torn systems: 1 {2 28} Notification: Performance of Backend phase and start with SimCode phase: time 0.001228/2.306, allocations: 262.6 kB / 0.9727 GB, free: 34.3 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.02094/2.327, allocations: 14.81 MB / 0.9871 GB, free: 19.53 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 1.192e-05/2.327, allocations: 0 / 0.9871 GB, free: 19.53 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.1977/2.525, allocations: 6.693 MB / 0.9937 GB, free: 174.3 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004946/2.53, allocations: 0.826 MB / 0.9945 GB, free: 174.3 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02798/2.558, allocations: 22.84 MB / 1.017 GB, free: 166.2 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005066/2.563, allocations: 5.288 MB / 1.022 GB, free: 164.4 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.00666/2.569, allocations: 3.022 MB / 1.025 GB, free: 164.3 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001643/2.571, allocations: 386.7 kB / 1.025 GB, free: 164.2 MB / 478.1 MB Notification: Performance of SimCode: time 9.32e-07/2.571, allocations: 0 / 1.025 GB, free: 164.2 MB / 478.1 MB Notification: Performance of Templates: time 0.1361/2.707, allocations: 104.1 MB / 1.127 GB, free: 61.22 MB / 478.1 MB make -j1 -f Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarFourbar.makefile (rm -f Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarFourbar.pipe ; mkfifo Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarFourbar.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarFourbar.pipe >> ../files/Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarFourbar.sim & ./Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarFourbar -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarFourbar.pipe 2>&1)