Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_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.2_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.2_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.0009188/0.0009186, allocations: 86.67 kB / 16.31 MB, free: 6.449 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.001007/0.001007, allocations: 180.7 kB / 17.21 MB, free: 6.32 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.728/1.728, allocations: 205.4 MB / 223.4 MB, free: 5.289 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.0005349/0.0005352, allocations: 8 kB / 280.2 MB, free: 12.67 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3019/0.3024, allocations: 47.58 MB / 327.7 MB, free: 1.641 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Loops.PlanarFourbar): time 0.07406/0.3765, allocations: 73.89 MB / 401.6 MB, free: 9.527 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.04631/0.4229, allocations: 15.86 MB / 417.5 MB, free: 9.617 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02007/0.443, allocations: 371 kB / 417.8 MB, free: 9.254 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01385/0.4569, allocations: 3.627 MB / 421.5 MB, free: 5.609 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.03915/0.4961, allocations: 10.77 MB / 432.2 MB, free: 10.79 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006665/0.5028, allocations: 1.225 MB / 433.5 MB, free: 9.566 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.3803/0.8831, allocations: 66.43 MB / 499.9 MB, free: 20.03 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01728/0.9004, allocations: 10.23 MB / 0.4982 GB, free: 12.85 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005183/0.9056, allocations: 2.422 MB / 0.5005 GB, free: 11.21 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006034/0.9117, allocations: 3.658 MB / 0.5041 GB, free: 8.582 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001905/0.9136, allocations: 248 kB / 0.5043 GB, free: 8.34 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00405/0.9177, allocations: 1.301 MB / 0.5056 GB, free: 7.281 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004397/0.9221, allocations: 3.234 MB / 0.5088 GB, free: 4.891 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002618/0.9248, allocations: 1.446 MB / 0.5102 GB, free: 4.387 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01265/0.9374, allocations: 10.37 MB / 0.5203 GB, free: 11.39 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.174e-06/0.9375, allocations: 0 / 0.5203 GB, free: 11.39 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.815e-06/0.9375, allocations: 0 / 0.5203 GB, free: 11.39 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0005195/0.938, allocations: 3.938 kB / 0.5203 GB, free: 11.38 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.02069/0.9587, allocations: 7.417 MB / 0.5276 GB, free: 4.562 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.439e-05/0.9588, allocations: 8.031 kB / 0.5276 GB, free: 4.555 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03861/0.9974, allocations: 4.976 MB / 0.5324 GB, free: 15.72 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01701/1.014, allocations: 6.469 MB / 0.5387 GB, free: 11.16 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004509/1.015, allocations: 429.9 kB / 0.5392 GB, free: 10.93 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00297/1.018, allocations: 0.5837 MB / 0.5397 GB, free: 10.54 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03775/1.056, allocations: 17.07 MB / 0.5564 GB, free: 13.43 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003059/1.056, allocations: 86.95 kB / 0.5565 GB, free: 13.38 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008903/1.057, allocations: 261.1 kB / 0.5567 GB, free: 13.31 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004272/1.061, allocations: 2.658 MB / 0.5593 GB, free: 11.12 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03209/1.093, allocations: 14.78 MB / 0.5738 GB, free: 0.8594 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5589/1.652, allocations: 64.59 MB / 0.6368 GB, free: 157.3 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01978/1.672, allocations: 8.819 MB / 0.6454 GB, free: 156.6 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005097/1.677, allocations: 5.051 MB / 0.6504 GB, free: 156.6 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02411/1.701, allocations: 18.63 MB / 0.6686 GB, free: 147.1 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.433e-05/1.701, allocations: 72.17 kB / 0.6686 GB, free: 147 MB / 478.1 MB Notification: Performance of pre-optimization done (n=281): time 8.536e-06/1.701, allocations: 3.422 kB / 0.6686 GB, free: 147 MB / 478.1 MB Notification: Performance of matching and sorting (n=374): time 0.2126/1.914, allocations: 75.17 MB / 0.742 GB, free: 72.35 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001209/1.914, allocations: 385.7 kB / 0.7424 GB, free: 71.9 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008158/1.922, allocations: 6.376 MB / 0.7486 GB, free: 65.52 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.001135/1.924, allocations: 85.7 kB / 0.7487 GB, free: 65.43 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002655/1.926, allocations: 4.758 MB / 0.7534 GB, free: 60.69 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.002025/1.928, allocations: 1.384 MB / 0.7547 GB, free: 59.32 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007974/1.929, allocations: 188 kB / 0.7549 GB, free: 59.14 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.000434/1.93, allocations: 0.7069 MB / 0.7556 GB, free: 58.42 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007056/1.937, allocations: 5.953 MB / 0.7614 GB, free: 52.46 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009966/1.947, allocations: 10.99 MB / 0.7721 GB, free: 39.1 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01116/1.958, allocations: 7.901 MB / 0.7798 GB, free: 31.33 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001168/1.958, allocations: 48 kB / 0.7799 GB, free: 31.29 MB / 478.1 MB Notification: Performance of matching and sorting (n=1233) (initialization): time 0.04575/2.004, allocations: 23.27 MB / 0.8026 GB, free: 8.07 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002449/2.004, allocations: 79.98 kB / 0.8027 GB, free: 7.992 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003602/2.004, allocations: 172 kB / 0.8029 GB, free: 7.824 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01981/2.024, allocations: 7.522 MB / 0.8102 GB, free: 296 kB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.2505/2.275, allocations: 2.19 MB / 0.8123 GB, free: 174.7 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04613/2.321, allocations: 35.56 MB / 0.8471 GB, free: 161.3 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01012/2.331, allocations: 0.7508 MB / 0.8478 GB, free: 161.1 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002384/2.333, allocations: 0.5308 MB / 0.8483 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.008743/2.342, allocations: 3.432 MB / 0.8517 GB, free: 158.6 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00185/2.344, allocations: 0.5773 MB / 0.8522 GB, free: 158.4 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02974/2.374, allocations: 16.95 MB / 0.8688 GB, free: 142.3 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.000103/2.374, allocations: 49.25 kB / 0.8688 GB, free: 142.2 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.42e-05/2.374, allocations: 16 kB / 0.8688 GB, free: 142.2 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.533e-05/2.374, allocations: 19.94 kB / 0.8689 GB, free: 142.2 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05645/2.431, allocations: 32.17 MB / 0.9003 GB, free: 109.8 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.664e-05/2.431, allocations: 4 kB / 0.9003 GB, free: 109.8 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003209/2.434, allocations: 0.6043 MB / 0.9009 GB, free: 109.2 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01761/2.452, allocations: 7.143 MB / 0.9079 GB, free: 102.1 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009584/2.453, allocations: 64.61 kB / 0.9079 GB, free: 102 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03935/2.492, allocations: 33.88 MB / 0.941 GB, free: 67.99 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.174e-06/2.492, allocations: 7.938 kB / 0.941 GB, free: 67.98 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03583/2.528, allocations: 24.57 MB / 0.965 GB, free: 43.36 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.004089/2.532, allocations: 1.665 MB / 0.9666 GB, free: 41.67 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002149/2.534, allocations: 67.98 kB / 0.9667 GB, free: 41.6 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005046/2.539, allocations: 448.7 kB / 0.9671 GB, free: 41.17 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001388/2.541, allocations: 248.9 kB / 0.9674 GB, free: 40.92 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007962/2.541, allocations: 99.98 kB / 0.9675 GB, free: 40.82 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.007606/2.549, allocations: 4.041 MB / 0.9714 GB, free: 36.79 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.252e-06/2.549, allocations: 0 / 0.9714 GB, free: 36.79 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0119/2.561, allocations: 2.294 MB / 0.9736 GB, free: 34.51 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.001465/2.562, allocations: 263.3 kB / 0.9739 GB, free: 34.26 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.02148/2.584, allocations: 14.82 MB / 0.9884 GB, free: 19.48 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 9.117e-06/2.584, allocations: 4 kB / 0.9884 GB, free: 19.48 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.2012/2.785, allocations: 6.683 MB / 0.9949 GB, free: 174.1 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00629/2.792, allocations: 0.8402 MB / 0.9957 GB, free: 174.1 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03155/2.823, allocations: 22.84 MB / 1.018 GB, free: 166 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00586/2.829, allocations: 5.29 MB / 1.023 GB, free: 164.2 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.007224/2.836, allocations: 3.02 MB / 1.026 GB, free: 164.1 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00179/2.838, allocations: 381 kB / 1.026 GB, free: 164.1 MB / 478.1 MB Notification: Performance of SimCode: time 1.673e-06/2.838, allocations: 1.031 kB / 1.026 GB, free: 164.1 MB / 478.1 MB Notification: Performance of Templates: time 0.1443/2.982, allocations: 104.1 MB / 1.128 GB, free: 61.15 MB / 478.1 MB make -j1 -f Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarFourbar.makefile (rm -f Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarFourbar.pipe ; mkfifo Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarFourbar.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarFourbar.pipe >> ../files/Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarFourbar.sim & ./Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarFourbar -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarFourbar.pipe 2>&1)