Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic.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.Fourbar_analytic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic") translateModel(Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00144/0.00144, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001702/0.001702, allocations: 196.4 kB / 16.14 MB, free: 6.707 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.46/1.46, allocations: 205.1 MB / 222 MB, free: 5.004 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.001202/0.001202, allocations: 55.92 kB / 278.1 MB, free: 13 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2692/0.2704, allocations: 46.62 MB / 324.7 MB, free: 1.828 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic): time 0.05077/0.3212, allocations: 55.45 MB / 380.1 MB, free: 12.53 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.03159/0.3529, allocations: 11.92 MB / 392 MB, free: 0.5703 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01648/0.3695, allocations: 247.4 kB / 392.3 MB, free: 336 kB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008228/0.3777, allocations: 4.2 MB / 396.5 MB, free: 12.12 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006555/0.3843, allocations: 2.02 MB / 398.5 MB, free: 10.09 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002698/0.387, allocations: 1.006 MB / 399.5 MB, free: 9.082 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0113/0.3984, allocations: 8.228 MB / 407.7 MB, free: 0.832 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006851/0.4053, allocations: 5.211 MB / 413 MB, free: 11.56 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003765/0.409, allocations: 1.916 MB / 414.9 MB, free: 9.637 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004814/0.4139, allocations: 3.038 MB / 417.9 MB, free: 6.59 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001041/0.415, allocations: 344 kB / 418.2 MB, free: 6.254 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003267/0.4182, allocations: 1.552 MB / 419.8 MB, free: 4.699 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002675/0.4209, allocations: 2.466 MB / 422.3 MB, free: 2.227 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003477/0.4244, allocations: 2.754 MB / 425 MB, free: 15.45 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01142/0.4358, allocations: 9.175 MB / 434.2 MB, free: 6.254 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.273e-05/0.4359, allocations: 0 / 434.2 MB, free: 6.254 MB / 366.1 MB Notification: Performance of FrontEnd: time 3.166e-06/0.4359, allocations: 7.938 kB / 434.2 MB, free: 6.246 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0003936/0.4363, allocations: 0 / 434.2 MB, free: 6.246 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: 1743 * Number of variables: 1743 Notification: Performance of Generate backend data structure: time 0.01799/0.4543, allocations: 6.032 MB / 440.2 MB, free: 140 kB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.091e-05/0.4544, allocations: 8.031 kB / 440.2 MB, free: 132 kB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01109/0.4655, allocations: 2.537 MB / 442.8 MB, free: 13.58 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009958/0.4755, allocations: 3.843 MB / 446.6 MB, free: 9.676 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002781/0.4759, allocations: 308.3 kB / 446.9 MB, free: 9.371 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001999/0.4779, allocations: 447.5 kB / 447.4 MB, free: 8.934 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2511/0.729, allocations: 12.4 MB / 459.8 MB, free: 109.9 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.00021/0.7293, allocations: 55.44 kB / 459.8 MB, free: 109.9 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006383/0.7299, allocations: 190.7 kB / 460 MB, free: 109.8 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003195/0.7331, allocations: 2.03 MB / 462 MB, free: 109.4 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02012/0.7532, allocations: 10.56 MB / 472.6 MB, free: 104.5 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04939/0.8027, allocations: 44.37 MB / 0.5048 GB, free: 59.93 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01121/0.8139, allocations: 4.846 MB / 0.5096 GB, free: 54.95 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002274/0.8162, allocations: 2.01 MB / 0.5115 GB, free: 52.93 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009962/0.8262, allocations: 7.126 MB / 0.5185 GB, free: 45.54 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.169e-05/0.8263, allocations: 51.56 kB / 0.5186 GB, free: 45.48 MB / 382.1 MB Notification: Performance of pre-optimization done (n=179): time 4.409e-06/0.8263, allocations: 0 / 0.5186 GB, free: 45.48 MB / 382.1 MB Notification: Performance of matching and sorting (n=223): time 0.06291/0.8892, allocations: 19.65 MB / 0.5377 GB, free: 25.77 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.698e-05/0.8893, allocations: 205.9 kB / 0.5379 GB, free: 25.52 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007478/0.8968, allocations: 4.489 MB / 0.5423 GB, free: 21.01 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004593/0.8973, allocations: 61.7 kB / 0.5424 GB, free: 20.95 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002189/0.8995, allocations: 3.517 MB / 0.5458 GB, free: 17.38 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001045/0.9006, allocations: 0.8407 MB / 0.5466 GB, free: 16.53 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002846/0.9034, allocations: 1.337 MB / 0.5479 GB, free: 15.18 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.961e-05/0.9035, allocations: 309.1 kB / 0.5482 GB, free: 14.88 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003787/0.9073, allocations: 2.363 MB / 0.5505 GB, free: 12.51 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005318/0.9126, allocations: 6.159 MB / 0.5566 GB, free: 4.477 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0102/0.9228, allocations: 9.163 MB / 0.5655 GB, free: 9.445 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001338/0.923, allocations: 40 kB / 0.5655 GB, free: 9.406 MB / 398.1 MB Notification: Performance of matching and sorting (n=868) (initialization): time 0.01922/0.9422, allocations: 9.543 MB / 0.5749 GB, free: 15.85 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.000168/0.9424, allocations: 68.03 kB / 0.5749 GB, free: 15.78 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002625/0.9427, allocations: 132 kB / 0.5751 GB, free: 15.65 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00441/0.9471, allocations: 1.374 MB / 0.5764 GB, free: 14.27 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005089/0.9522, allocations: 1.478 MB / 0.5778 GB, free: 12.79 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01186/0.9641, allocations: 7.971 MB / 0.5856 GB, free: 4.684 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0055/0.9696, allocations: 351.5 kB / 0.586 GB, free: 4.34 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001195/0.9708, allocations: 396 kB / 0.5863 GB, free: 3.953 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 605 * Number of states: 0 () * Number of discrete variables: 46 (jointSSP.prismatic.positiveBranch,b2.color[3],b2.color[2],b2.color[1],b2.body.sphereColor[3],b2.body.sphereColor[2],b2.body.sphereColor[1],jointSSP.rod2Color[3],jointSSP.rod2Color[2],jointSSP.rod2Color[1],jointSSP.sphereColor[3],jointSSP.sphereColor[2],jointSSP.sphereColor[1],jointSSP.rod1Color[3],jointSSP.rod1Color[2],jointSSP.rod1Color[1],jointSSP.rod1.massColor[3],jointSSP.rod1.massColor[2],jointSSP.rod1.massColor[1],jointSSP.boxColor[3],jointSSP.boxColor[2],jointSSP.boxColor[1],b3.color[3],b3.color[2],b3.color[1],b1.color[3],b1.color[2],b1.color[1],b1.body.sphereColor[3],b1.body.sphereColor[2],b1.body.sphereColor[1],j1.cylinderColor[3],j1.cylinderColor[2],j1.cylinderColor[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],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (804): * Single equations (assignments): 800 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,40,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.005634/0.9765, allocations: 2.489 MB / 0.5888 GB, free: 1.453 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001113/0.9776, allocations: 394.8 kB / 0.5891 GB, free: 1.062 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00913/0.9868, allocations: 4.129 MB / 0.5932 GB, free: 12.92 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.152e-05/0.9868, allocations: 24 kB / 0.5932 GB, free: 12.89 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.223e-05/0.9869, allocations: 8 kB / 0.5932 GB, free: 12.89 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.709e-05/0.9869, allocations: 15.95 kB / 0.5932 GB, free: 12.87 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02284/1.01, allocations: 10.35 MB / 0.6033 GB, free: 2.355 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.14e-05/1.01, allocations: 8 kB / 0.6033 GB, free: 2.348 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001672/1.012, allocations: 347.5 kB / 0.6037 GB, free: 2.008 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003857/1.015, allocations: 1.152 MB / 0.6048 GB, free: 0.8516 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002911/1.016, allocations: 47.98 kB / 0.6048 GB, free: 0.8047 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2329/1.249, allocations: 6.668 MB / 0.6114 GB, free: 140.4 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.008e-05/1.249, allocations: 9.219 kB / 0.6114 GB, free: 140.4 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01112/1.26, allocations: 6.912 MB / 0.6181 GB, free: 137.7 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001927/1.262, allocations: 0.732 MB / 0.6188 GB, free: 137.5 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004432/1.262, allocations: 38.55 kB / 0.6189 GB, free: 137.5 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001493/1.264, allocations: 114.1 kB / 0.619 GB, free: 137.5 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000387/1.264, allocations: 150.1 kB / 0.6191 GB, free: 137.4 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001402/1.264, allocations: 62.06 kB / 0.6192 GB, free: 137.4 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.003921/1.268, allocations: 2.822 MB / 0.6219 GB, free: 136.5 MB / 430.1 MB Notification: Performance of sort global known variables: time 2.7e-07/1.268, allocations: 0 / 0.6219 GB, free: 136.5 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.005284/1.274, allocations: 1.214 MB / 0.6231 GB, free: 136.3 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 23 * 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 (173): * Single equations (assignments): 169 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,30,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0005592/1.274, allocations: 231.3 kB / 0.6233 GB, free: 136.2 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.008092/1.282, allocations: 5.742 MB / 0.6289 GB, free: 134.1 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 9.908e-06/1.282, allocations: 3.719 kB / 0.629 GB, free: 134.1 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002915/1.285, allocations: 1.87 MB / 0.6308 GB, free: 133.3 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003972/1.289, allocations: 0.5066 MB / 0.6313 GB, free: 133.1 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01827/1.307, allocations: 13.63 MB / 0.6446 GB, free: 121.1 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003452/1.311, allocations: 3.881 MB / 0.6484 GB, free: 117.2 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.004194/1.315, allocations: 1.921 MB / 0.6503 GB, free: 115.3 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000756/1.316, allocations: 275.4 kB / 0.6505 GB, free: 115 MB / 430.1 MB Notification: Performance of SimCode: time 1.563e-06/1.316, allocations: 0 / 0.6505 GB, free: 115 MB / 430.1 MB Notification: Performance of Templates: time 0.06885/1.385, allocations: 44.21 MB / 0.6937 GB, free: 70.79 MB / 430.1 MB make -j1 -f Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic.makefile (rm -f Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic.pipe ; mkfifo Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic.pipe >> ../files/Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic.sim & ./Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic.pipe 2>&1)