Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar1.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.Fourbar1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar1") translateModel(Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001191/0.001191, allocations: 97.83 kB / 16.5 MB, free: 6.648 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.001212/0.001212, allocations: 194 kB / 17.42 MB, free: 6.066 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.399/1.399, allocations: 205.1 MB / 223.3 MB, free: 12.47 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.001375/0.001375, allocations: 47.94 kB / 279.3 MB, free: 3.586 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09765/0.09904, allocations: 46.63 MB / 326 MB, free: 4.891 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar1): time 0.2363/0.3354, allocations: 75.43 MB / 401.4 MB, free: 8.637 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.03776/0.3732, allocations: 14.96 MB / 416.4 MB, free: 3.152 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01794/0.3912, allocations: 339.9 kB / 416.7 MB, free: 3.094 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007288/0.3986, allocations: 4.44 MB / 421.1 MB, free: 1.137 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006575/0.4052, allocations: 2.392 MB / 423.5 MB, free: 15.71 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002515/0.4077, allocations: 1.06 MB / 424.6 MB, free: 15.06 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.01166/0.4194, allocations: 10.51 MB / 435.1 MB, free: 7.105 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00671/0.4261, allocations: 5.216 MB / 440.3 MB, free: 1.93 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004055/0.4302, allocations: 2.21 MB / 442.5 MB, free: 15.79 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005301/0.4356, allocations: 3.607 MB / 446.1 MB, free: 12.38 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001082/0.4367, allocations: 356 kB / 446.5 MB, free: 12.03 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003411/0.4401, allocations: 1.403 MB / 447.9 MB, free: 10.67 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00287/0.443, allocations: 2.843 MB / 450.7 MB, free: 7.836 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004293/0.4473, allocations: 3.216 MB / 453.9 MB, free: 4.613 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01089/0.4582, allocations: 9.938 MB / 463.9 MB, free: 10.91 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.717e-06/0.4583, allocations: 0 / 463.9 MB, free: 10.91 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.724e-06/0.4583, allocations: 0 / 463.9 MB, free: 10.91 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0004535/0.4587, allocations: 0 / 463.9 MB, free: 10.91 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: 2058 * Number of variables: 2058 Notification: Performance of Generate backend data structure: time 0.01906/0.4778, allocations: 7.634 MB / 471.5 MB, free: 3.32 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.346e-05/0.4779, allocations: 8.031 kB / 471.5 MB, free: 3.312 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01499/0.4928, allocations: 3.19 MB / 474.7 MB, free: 112 kB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01221/0.5051, allocations: 4.887 MB / 479.6 MB, free: 11.2 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004517/0.5056, allocations: 336.4 kB / 479.9 MB, free: 10.92 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002701/0.5083, allocations: 466.6 kB / 480.4 MB, free: 10.51 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02874/0.5371, allocations: 14.57 MB / 494.9 MB, free: 11.15 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002679/0.5374, allocations: 71.34 kB / 495 MB, free: 11.08 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007789/0.5382, allocations: 211.7 kB / 495.2 MB, free: 10.92 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005289/0.5435, allocations: 2.841 MB / 498.1 MB, free: 8.082 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02499/0.5685, allocations: 13.2 MB / 0.4993 GB, free: 10.86 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3078/0.8763, allocations: 58.54 MB / 0.5564 GB, free: 130.3 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02002/0.8964, allocations: 7.736 MB / 0.564 GB, free: 129.3 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006656/0.9031, allocations: 5.047 MB / 0.5689 GB, free: 127.3 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01881/0.922, allocations: 12.81 MB / 0.5814 GB, free: 121.7 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.272e-05/0.9221, allocations: 66.39 kB / 0.5815 GB, free: 121.7 MB / 446.1 MB Notification: Performance of pre-optimization done (n=326): time 5.781e-06/0.9221, allocations: 0 / 0.5815 GB, free: 121.7 MB / 446.1 MB Notification: Performance of matching and sorting (n=572): time 2.035/2.958, allocations: 411.5 MB / 0.9833 GB, free: 57.04 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001691/2.958, allocations: 261.7 kB / 0.9836 GB, free: 56.73 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007791/2.966, allocations: 5.494 MB / 0.9889 GB, free: 51.45 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.002251/2.968, allocations: 113.7 kB / 0.9891 GB, free: 51.34 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002214/2.97, allocations: 3.945 MB / 0.9929 GB, free: 47.98 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.003157/2.973, allocations: 2.007 MB / 0.9949 GB, free: 45.98 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004442/2.978, allocations: 2.178 MB / 0.997 GB, free: 43.8 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 7.563e-05/2.978, allocations: 312.9 kB / 0.9973 GB, free: 43.49 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01367/2.991, allocations: 11.06 MB / 1.008 GB, free: 32.42 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2712/3.263, allocations: 15.23 MB / 1.023 GB, free: 141.2 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.04156/3.304, allocations: 27.46 MB / 1.05 GB, free: 126.8 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003095/3.305, allocations: 38.09 kB / 1.05 GB, free: 126.8 MB / 446.1 MB Notification: Performance of matching and sorting (n=1259) (initialization): time 0.5627/3.867, allocations: 141.1 MB / 1.188 GB, free: 132.1 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001748/3.868, allocations: 63.91 kB / 1.188 GB, free: 132.1 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002402/3.868, allocations: 142.5 kB / 1.188 GB, free: 132.1 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0789/3.947, allocations: 34.69 MB / 1.222 GB, free: 124.4 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005359/3.952, allocations: 1.568 MB / 1.223 GB, free: 123 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.51/4.462, allocations: 190.6 MB / 1.409 GB, free: 91.36 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01483/4.477, allocations: 1.719 MB / 1.411 GB, free: 90.36 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003273/4.48, allocations: 0.5338 MB / 1.412 GB, free: 89.88 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 632 * Number of states: 0 () * Number of discrete variables: 54 (b0.color[3],b0.color[2],b0.color[1],j5.cylinderColor[3],j5.cylinderColor[2],j5.cylinderColor[1],j4.cylinderColor[3],j4.cylinderColor[2],j4.cylinderColor[1],j3.cylinderColor[3],j3.cylinderColor[2],j3.cylinderColor[1],rev1.cylinderColor[3],rev1.cylinderColor[2],rev1.cylinderColor[1],rev.cylinderColor[3],rev.cylinderColor[2],rev.cylinderColor[1],b3.color[3],b3.color[2],b3.color[1],b3.body.sphereColor[3],b3.body.sphereColor[2],b3.body.sphereColor[1],b2.color[3],b2.color[2],b2.color[1],b2.body.sphereColor[3],b2.body.sphereColor[2],b2.body.sphereColor[1],b1.color[3],b1.color[2],b1.color[1],b1.body.sphereColor[3],b1.body.sphereColor[2],b1.body.sphereColor[1],j2.boxColor[3],j2.boxColor[2],j2.boxColor[1],j1.cylinderColor[3],j1.cylinderColor[2],j1.cylinderColor[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]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (840): * Single equations (assignments): 833 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(20,164,40.5%), (16,102,51.6%), (2,7,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(12,76)} Notification: Performance of prepare postOptimizeDAE: time 0.009913/4.49, allocations: 3.103 MB / 1.415 GB, free: 87.3 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003228/4.494, allocations: 0.5755 MB / 1.415 GB, free: 87.03 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.5807/5.074, allocations: 136.7 MB / 1.549 GB, free: 110.2 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.381e-05/5.074, allocations: 55.91 kB / 1.549 GB, free: 110.2 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001907/5.075, allocations: 59.81 kB / 1.549 GB, free: 110.2 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000131/5.075, allocations: 29.86 kB / 1.549 GB, free: 110.2 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.6044/5.679, allocations: 206.2 MB / 1.75 GB, free: 97.35 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001305/5.679, allocations: 8 kB / 1.75 GB, free: 97.34 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001687/5.681, allocations: 337.8 kB / 1.75 GB, free: 97.03 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.07528/5.756, allocations: 33.84 MB / 1.783 GB, free: 68.21 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002429/5.759, allocations: 101.9 kB / 1.784 GB, free: 68.11 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.4981/6.257, allocations: 173.4 MB / 1.953 GB, free: 59.11 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.917e-06/6.257, allocations: 15.73 kB / 1.953 GB, free: 59.1 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.6081/6.865, allocations: 152.5 MB / 2.102 GB, free: 68.65 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.006884/6.872, allocations: 3.01 MB / 2.105 GB, free: 65.93 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003135/6.875, allocations: 98.34 kB / 2.105 GB, free: 65.84 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01002/6.885, allocations: 1.485 MB / 2.106 GB, free: 64.35 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.004948/6.89, allocations: 0.4914 MB / 2.107 GB, free: 63.87 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001555/6.892, allocations: 140 kB / 2.107 GB, free: 63.73 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.006612/6.898, allocations: 3.503 MB / 2.11 GB, free: 60.25 MB / 462.1 MB Notification: Performance of sort global known variables: time 9.22e-07/6.899, allocations: 0 / 2.11 GB, free: 60.25 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.01635/6.915, allocations: 3.862 MB / 2.114 GB, free: 56.39 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 27 * 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 (165): * Single equations (assignments): 158 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(20,157,40.5%), (16,99,51.6%), (2,7,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(12,86)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001893/6.917, allocations: 249.2 kB / 2.114 GB, free: 56.16 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.05607/6.973, allocations: 33.71 MB / 2.147 GB, free: 22.55 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 9.558e-06/6.973, allocations: 0 / 2.147 GB, free: 22.55 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.2279/7.201, allocations: 20.5 MB / 2.167 GB, free: 137.9 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008942/7.21, allocations: 0.748 MB / 2.168 GB, free: 137.9 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04145/7.251, allocations: 30.49 MB / 2.198 GB, free: 129.2 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008298/7.26, allocations: 5.119 MB / 2.203 GB, free: 127.3 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.006024/7.266, allocations: 2.057 MB / 2.205 GB, free: 126 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001069/7.267, allocations: 306.3 kB / 2.205 GB, free: 125.7 MB / 462.1 MB Notification: Performance of SimCode: time 1.292e-06/7.267, allocations: 8.922 kB / 2.205 GB, free: 125.7 MB / 462.1 MB Notification: Performance of Templates: time 0.5046/7.771, allocations: 270.2 MB / 2.469 GB, free: 5.391 MB / 462.1 MB make -j1 -f Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar1.makefile (rm -f Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar1.pipe ; mkfifo Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar1.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar1.pipe >> ../files/Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar1.sim & ./Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar1.pipe 2>&1)