Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.SpringDamperParallel.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Forces.SpringDamperParallel,tolerance=1e-07,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pm3.r_0.1.|pm3.r_0.2.|pm3.r_0.3.|pm3.v_0.1.|pm3.v_0.2.|pm3.v_0.3.|prismatic.s|prismatic.v|prismatic1.s|prismatic1.v|universal.phi_a|universal.phi_b|universal.w_a|universal.w_b|universal1.phi_a|universal1.phi_b|universal1.w_a|universal1.w_b",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.SpringDamperParallel") translateModel(ModelicaTest.MultiBody.Forces.SpringDamperParallel,tolerance=1e-07,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pm3.r_0.1.|pm3.r_0.2.|pm3.r_0.3.|pm3.v_0.1.|pm3.v_0.2.|pm3.v_0.3.|prismatic.s|prismatic.v|prismatic1.s|prismatic1.v|universal.phi_a|universal.phi_b|universal.w_a|universal.w_b|universal1.phi_a|universal1.phi_b|universal1.w_a|universal1.w_b",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.SpringDamperParallel") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00153/0.00153, allocations: 118.3 kB / 18.46 MB, free: 4.605 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001807/0.001807, allocations: 202.7 kB / 19.42 MB, free: 3.66 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.327/1.327, allocations: 227.4 MB / 247.6 MB, free: 10.48 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2219/0.2219, allocations: 46.1 MB / 345 MB, free: 11.48 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001666/0.001666, allocations: 71.88 kB / 482 MB, free: 4.035 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2965/0.2982, allocations: 62.44 MB / 0.5317 GB, free: 13.58 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.SpringDamperParallel): time 0.01786/0.3161, allocations: 17.55 MB / 0.5488 GB, free: 15.77 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01174/0.3279, allocations: 4.68 MB / 0.5534 GB, free: 11.39 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004105/0.332, allocations: 115.7 kB / 0.5535 GB, free: 11.28 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.009775/0.3419, allocations: 5.26 MB / 0.5586 GB, free: 6 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005994/0.3479, allocations: 2.068 MB / 0.5607 GB, free: 3.922 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002588/0.3505, allocations: 0.9398 MB / 0.5616 GB, free: 2.98 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.00759/0.3582, allocations: 5.21 MB / 0.5667 GB, free: 13.76 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008379/0.3666, allocations: 6.157 MB / 0.5727 GB, free: 7.531 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004729/0.3713, allocations: 2.465 MB / 0.5751 GB, free: 5.059 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005398/0.3768, allocations: 3.286 MB / 0.5783 GB, free: 1.762 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002273/0.3791, allocations: 0.5742 MB / 0.5789 GB, free: 1.188 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003624/0.3827, allocations: 1.26 MB / 0.5801 GB, free: 15.92 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003903/0.3867, allocations: 2.973 MB / 0.583 GB, free: 12.95 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006225/0.3929, allocations: 3.651 MB / 0.5866 GB, free: 9.273 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01463/0.4076, allocations: 11.13 MB / 0.5974 GB, free: 14.09 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.054e-06/0.4076, allocations: 0 / 0.5974 GB, free: 14.09 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.024e-06/0.4076, allocations: 0 / 0.5974 GB, free: 14.09 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0004185/0.408, allocations: 0 / 0.5974 GB, free: 14.09 MB / 462.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2641 * Number of variables: 2641 Notification: Performance of Generate backend data structure: time 0.01844/0.4265, allocations: 8.012 MB / 0.6053 GB, free: 5.984 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.41e-05/0.4265, allocations: 8.031 kB / 0.6053 GB, free: 5.977 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00789/0.4344, allocations: 2.418 MB / 0.6076 GB, free: 3.551 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00633/0.4408, allocations: 3.301 MB / 0.6108 GB, free: 192 kB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003586/0.4412, allocations: 431.4 kB / 0.6113 GB, free: 15.77 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001701/0.4429, allocations: 0.5777 MB / 0.6118 GB, free: 15.19 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03624/0.4792, allocations: 20.24 MB / 0.6316 GB, free: 9.977 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002352/0.4794, allocations: 67.47 kB / 0.6316 GB, free: 9.91 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001166/0.4806, allocations: 271.8 kB / 0.6319 GB, free: 9.645 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005854/0.4865, allocations: 3.74 MB / 0.6356 GB, free: 5.902 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03609/0.5226, allocations: 17.96 MB / 0.6531 GB, free: 3.914 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5021/1.025, allocations: 67.9 MB / 0.7194 GB, free: 147.1 MB / 0.5607 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02425/1.049, allocations: 8.506 MB / 0.7277 GB, free: 146.3 MB / 0.5607 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006552/1.056, allocations: 5.837 MB / 0.7334 GB, free: 144.9 MB / 0.5607 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02324/1.079, allocations: 20.25 MB / 0.7532 GB, free: 135.1 MB / 0.5607 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.821e-05/1.079, allocations: 75.77 kB / 0.7533 GB, free: 135 MB / 0.5607 GB Notification: Performance of pre-optimization done (n=386): time 5.881e-06/1.079, allocations: 0 / 0.7533 GB, free: 135 MB / 0.5607 GB Notification: Performance of matching and sorting (n=493): time 0.171/1.25, allocations: 63.32 MB / 0.8151 GB, free: 75.98 MB / 0.5607 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.266e-05/1.25, allocations: 183.4 kB / 0.8153 GB, free: 75.78 MB / 0.5607 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005424/1.255, allocations: 5.173 MB / 0.8203 GB, free: 70.71 MB / 0.5607 GB Notification: Performance of collectPreVariables (initialization): time 0.0006869/1.256, allocations: 101.5 kB / 0.8204 GB, free: 70.61 MB / 0.5607 GB Notification: Performance of collectInitialEqns (initialization): time 0.001607/1.258, allocations: 4.704 MB / 0.825 GB, free: 66.09 MB / 0.5607 GB Notification: Performance of collectInitialBindings (initialization): time 0.001341/1.259, allocations: 1.872 MB / 0.8268 GB, free: 64.25 MB / 0.5607 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002465/1.262, allocations: 1.985 MB / 0.8288 GB, free: 62.25 MB / 0.5607 GB Notification: Performance of setup shared object (initialization): time 2.882e-05/1.262, allocations: 305.1 kB / 0.8291 GB, free: 61.95 MB / 0.5607 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005234/1.267, allocations: 4.943 MB / 0.8339 GB, free: 57 MB / 0.5607 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006624/1.274, allocations: 9.889 MB / 0.8436 GB, free: 44.8 MB / 0.5607 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0128/1.286, allocations: 16.02 MB / 0.8592 GB, free: 26.43 MB / 0.5607 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.604e-05/1.286, allocations: 48 kB / 0.8592 GB, free: 26.39 MB / 0.5607 GB Notification: Performance of matching and sorting (n=1294) (initialization): time 0.02108/1.308, allocations: 17.38 MB / 0.8762 GB, free: 8.969 MB / 0.5607 GB Notification: Performance of prepare postOptimizeDAE: time 6.562e-05/1.308, allocations: 76 kB / 0.8763 GB, free: 8.895 MB / 0.5607 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.553e-05/1.308, allocations: 168 kB / 0.8764 GB, free: 8.73 MB / 0.5607 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006409/1.314, allocations: 3.096 MB / 0.8795 GB, free: 5.602 MB / 0.5607 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006087/1.32, allocations: 2.308 MB / 0.8817 GB, free: 3.289 MB / 0.5607 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02315/1.343, allocations: 26.23 MB / 0.9073 GB, free: 7.957 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005407/1.349, allocations: 0.5804 MB / 0.9079 GB, free: 7.379 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008368/1.35, allocations: 0.5507 MB / 0.9084 GB, free: 6.828 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 775 * Number of states: 0 () * Number of discrete variables: 72 (prismatic2.boxColor[3],prismatic2.boxColor[2],prismatic2.boxColor[1],universal2.cylinderColor[3],universal2.cylinderColor[2],universal2.cylinderColor[1],pm3.sphereColor[3],pm3.sphereColor[2],pm3.sphereColor[1],springDamperParallel2.color[3],springDamperParallel2.color[2],springDamperParallel2.color[1],springDamperParallel2.color_b[3],springDamperParallel2.color_b[2],springDamperParallel2.color_b[1],springDamperParallel2.color_a[3],springDamperParallel2.color_a[2],springDamperParallel2.color_a[1],prismatic1.boxColor[3],prismatic1.boxColor[2],prismatic1.boxColor[1],universal1.cylinderColor[3],universal1.cylinderColor[2],universal1.cylinderColor[1],pm2.sphereColor[3],pm2.sphereColor[2],pm2.sphereColor[1],springDamperParallel1.color[3],springDamperParallel1.color[2],springDamperParallel1.color[1],springDamperParallel1.color_b[3],springDamperParallel1.color_b[2],springDamperParallel1.color_b[1],springDamperParallel1.color_a[3],springDamperParallel1.color_a[2],springDamperParallel1.color_a[1],fixedTranslation1.color[3],fixedTranslation1.color[2],fixedTranslation1.color[1],fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[1],prismatic.boxColor[3],prismatic.boxColor[2],prismatic.boxColor[1],universal.cylinderColor[3],universal.cylinderColor[2],universal.cylinderColor[1],pm1.sphereColor[3],pm1.sphereColor[2],pm1.sphereColor[1],springDamperParallel.color[3],springDamperParallel.color[2],springDamperParallel.color[1],springDamperParallel.color_b[3],springDamperParallel.color_b[2],springDamperParallel.color_b[1],springDamperParallel.color_a[3],springDamperParallel.color_a[2],springDamperParallel.color_a[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 (1199): * Single equations (assignments): 1186 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(3,100.0%), (3,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(1,9,100.0%), (3,12,100.0%), (1,4,100.0%), (1,9,100.0%), (3,12,100.0%), (1,4,100.0%), (1,9,100.0%), (1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.004166/1.354, allocations: 3.269 MB / 0.9116 GB, free: 3.543 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009097/1.355, allocations: 0.5588 MB / 0.9122 GB, free: 2.98 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01855/1.373, allocations: 11.72 MB / 0.9236 GB, free: 7.184 MB / 0.6076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.783e-05/1.373, allocations: 27.91 kB / 0.9237 GB, free: 7.156 MB / 0.6076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.105e-06/1.373, allocations: 0 / 0.9237 GB, free: 7.156 MB / 0.6076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007825/1.374, allocations: 0.5831 MB / 0.9242 GB, free: 6.551 MB / 0.6076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007544/1.375, allocations: 87.81 kB / 0.9243 GB, free: 6.469 MB / 0.6076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002803/1.378, allocations: 347.5 kB / 0.9246 GB, free: 6.129 MB / 0.6076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007861/1.379, allocations: 343 kB / 0.925 GB, free: 5.793 MB / 0.6076 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.02055/1.399, allocations: 12.2 MB / 0.9369 GB, free: 9.633 MB / 0.6232 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.01742/1.417, allocations: 14.96 MB / 0.9515 GB, free: 10.56 MB / 0.6388 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.2097/1.626, allocations: 4.338 MB / 0.9557 GB, free: 218.3 MB / 0.6388 GB Notification: Performance of sorting global known variables: time 0.00381/1.63, allocations: 3.18 MB / 0.9588 GB, free: 218.1 MB / 0.6388 GB Notification: Performance of Backend: time 3.1e-07/1.63, allocations: 0 / 0.9588 GB, free: 218.1 MB / 0.6388 GB Notification: Performance of simCode: created initialization part: time 0.01457/1.645, allocations: 9.745 MB / 0.9684 GB, free: 214.7 MB / 0.6388 GB Notification: Performance of SimCode: time 0.01708/1.662, allocations: 16.19 MB / 0.9842 GB, free: 207.2 MB / 0.6388 GB Notification: Performance of Templates: time 0.9257/2.587, allocations: 96.75 MB / 1.079 GB, free: 121.1 MB / 0.6388 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.SpringDamperParallel.makefile (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.SpringDamperParallel.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.SpringDamperParallel.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.SpringDamperParallel.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.SpringDamperParallel.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.SpringDamperParallel -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.SpringDamperParallel.pipe 2>&1)