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.0009596/0.0009594, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.006199/0.006199, allocations: 169.9 kB / 16.26 MB, free: 6.613 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.676/1.676, allocations: 205.4 MB / 222.4 MB, free: 5.793 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.0007273/0.0007274, allocations: 16 kB / 279.5 MB, free: 12.74 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2927/0.2934, allocations: 47.58 MB / 327 MB, free: 1.375 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Loops.PlanarFourbar): time 0.07373/0.3672, allocations: 79.49 MB / 406.5 MB, free: 3.613 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.04517/0.4124, allocations: 16.56 MB / 423.1 MB, free: 3.004 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01924/0.4317, allocations: 371 kB / 423.4 MB, free: 2.641 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002995/0.4347, allocations: 0.6723 MB / 424.1 MB, free: 1.965 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008171/0.4429, allocations: 2.721 MB / 426.8 MB, free: 15.23 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003701/0.4466, allocations: 1.357 MB / 428.2 MB, free: 13.88 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.01672/0.4634, allocations: 12.68 MB / 440.9 MB, free: 1.168 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01997/0.4834, allocations: 11.92 MB / 452.8 MB, free: 5.133 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004905/0.4884, allocations: 2.233 MB / 455 MB, free: 2.891 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.2881/0.7765, allocations: 3.686 MB / 458.7 MB, free: 11.11 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002369/0.7789, allocations: 247.6 kB / 458.9 MB, free: 11.11 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005072/0.784, allocations: 1.52 MB / 460.5 MB, free: 11.11 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005091/0.7891, allocations: 3.268 MB / 463.7 MB, free: 11.11 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.007664/0.7968, allocations: 3.483 MB / 467.2 MB, free: 10.68 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01858/0.8154, allocations: 12.33 MB / 479.5 MB, free: 9.09 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.487e-06/0.8154, allocations: 6.5 kB / 479.5 MB, free: 9.09 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.146e-06/0.8154, allocations: 0 / 479.5 MB, free: 9.09 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0007059/0.8162, allocations: 0 / 479.5 MB, free: 9.09 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.02412/0.8403, allocations: 7.326 MB / 486.9 MB, free: 4.793 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.203e-05/0.8404, allocations: 10.28 kB / 486.9 MB, free: 4.793 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05095/0.8913, allocations: 4.962 MB / 491.8 MB, free: 2.887 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01927/0.9107, allocations: 6.575 MB / 498.4 MB, free: 0.8711 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004345/0.9112, allocations: 441.6 kB / 498.8 MB, free: 0.8594 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003932/0.9151, allocations: 0.5831 MB / 499.4 MB, free: 0.8438 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04617/0.9613, allocations: 17.42 MB / 0.5047 GB, free: 11.18 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004064/0.9617, allocations: 79.64 kB / 0.5048 GB, free: 11.13 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002567/0.9643, allocations: 267.5 kB / 0.5051 GB, free: 10.91 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005112/0.9694, allocations: 2.661 MB / 0.5077 GB, free: 8.281 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03353/1.003, allocations: 14.84 MB / 0.5222 GB, free: 9.68 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09661/1.1, allocations: 64.62 MB / 0.5853 GB, free: 8.238 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02404/1.124, allocations: 8.834 MB / 0.5939 GB, free: 15.27 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006643/1.13, allocations: 5.061 MB / 0.5988 GB, free: 10.2 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03047/1.161, allocations: 18.64 MB / 0.617 GB, free: 7.434 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.182e-05/1.161, allocations: 67.59 kB / 0.6171 GB, free: 7.363 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=281): time 5.721e-06/1.161, allocations: 0 / 0.6171 GB, free: 7.363 MB / 0.4981 GB Notification: Performance of matching and sorting (n=374): time 0.547/1.708, allocations: 75.14 MB / 0.6905 GB, free: 105.8 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000131/1.708, allocations: 380.6 kB / 0.6908 GB, free: 105.4 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01134/1.72, allocations: 6.413 MB / 0.6971 GB, free: 98.97 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.001407/1.721, allocations: 84.28 kB / 0.6972 GB, free: 98.89 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.003469/1.725, allocations: 4.763 MB / 0.7018 GB, free: 94.14 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.002344/1.727, allocations: 1.373 MB / 0.7032 GB, free: 92.78 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001822/1.729, allocations: 0.812 MB / 0.704 GB, free: 91.96 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 6.071e-05/1.729, allocations: 306.8 kB / 0.7043 GB, free: 91.66 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007756/1.737, allocations: 5.993 MB / 0.7101 GB, free: 85.66 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01117/1.748, allocations: 11.02 MB / 0.7209 GB, free: 72.28 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.019/1.767, allocations: 17.96 MB / 0.7384 GB, free: 52.6 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001433/1.767, allocations: 52 kB / 0.7385 GB, free: 52.55 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1233) (initialization): time 0.04852/1.816, allocations: 23.36 MB / 0.7613 GB, free: 30.24 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001258/1.816, allocations: 83.31 kB / 0.7614 GB, free: 30.16 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001902/1.816, allocations: 183.9 kB / 0.7615 GB, free: 29.98 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02253/1.838, allocations: 7.468 MB / 0.7688 GB, free: 22.49 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008465/1.847, allocations: 2.19 MB / 0.771 GB, free: 20.47 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2772/2.124, allocations: 35.63 MB / 0.8058 GB, free: 210.4 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01036/2.135, allocations: 0.7429 MB / 0.8065 GB, free: 210.4 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002313/2.137, allocations: 0.5296 MB / 0.807 GB, free: 210.4 MB / 0.5137 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.008163/2.145, allocations: 3.44 MB / 0.8104 GB, free: 210.2 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002472/2.148, allocations: 0.5769 MB / 0.8109 GB, free: 210.2 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03641/2.184, allocations: 16.97 MB / 0.8275 GB, free: 204.8 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001109/2.184, allocations: 55.11 kB / 0.8276 GB, free: 204.8 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.841e-05/2.184, allocations: 15.75 kB / 0.8276 GB, free: 204.8 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.922e-05/2.184, allocations: 19.25 kB / 0.8276 GB, free: 204.8 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05394/2.238, allocations: 32.2 MB / 0.859 GB, free: 189.5 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.208e-05/2.238, allocations: 7.625 kB / 0.859 GB, free: 189.5 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003492/2.242, allocations: 0.6023 MB / 0.8596 GB, free: 189.1 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02056/2.263, allocations: 7.146 MB / 0.8666 GB, free: 182.4 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001079/2.264, allocations: 65.86 kB / 0.8667 GB, free: 182.3 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03888/2.303, allocations: 33.91 MB / 0.8998 GB, free: 148.3 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.759e-06/2.303, allocations: 2.812 kB / 0.8998 GB, free: 148.3 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03887/2.341, allocations: 24.63 MB / 0.9238 GB, free: 124 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004643/2.346, allocations: 1.665 MB / 0.9255 GB, free: 122.4 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002146/2.348, allocations: 65.08 kB / 0.9255 GB, free: 122.3 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005758/2.354, allocations: 454.1 kB / 0.926 GB, free: 121.9 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001654/2.356, allocations: 250.8 kB / 0.9262 GB, free: 121.6 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000387/2.356, allocations: 95.98 kB / 0.9263 GB, free: 121.6 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.007501/2.364, allocations: 4.08 MB / 0.9303 GB, free: 117.5 MB / 0.5137 GB Notification: Performance of sort global known variables: time 4e-07/2.364, allocations: 0 / 0.9303 GB, free: 117.5 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.01155/2.375, allocations: 2.295 MB / 0.9325 GB, free: 115.2 MB / 0.5137 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.001526/2.377, allocations: 278.4 kB / 0.9328 GB, free: 115 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.02171/2.399, allocations: 14.84 MB / 0.9473 GB, free: 100.1 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.501e-05/2.399, allocations: 4 kB / 0.9473 GB, free: 100.1 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.01051/2.409, allocations: 6.699 MB / 0.9538 GB, free: 93.4 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008521/2.418, allocations: 0.842 MB / 0.9546 GB, free: 92.58 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02948/2.447, allocations: 23.64 MB / 0.9777 GB, free: 68.88 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005664/2.453, allocations: 5.295 MB / 0.9829 GB, free: 63.54 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.007019/2.46, allocations: 3.023 MB / 0.9859 GB, free: 60.51 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001692/2.462, allocations: 383.4 kB / 0.9862 GB, free: 60.14 MB / 0.5137 GB Notification: Performance of SimCode: time 1.243e-06/2.462, allocations: 0 / 0.9862 GB, free: 60.14 MB / 0.5137 GB Notification: Performance of Templates: time 0.4128/2.875, allocations: 106.2 MB / 1.09 GB, free: 175 MB / 0.5137 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)