Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.JointUSR.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.FourbarVariants.JointUSR,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|j2.s|j2.v",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.JointUSR") translateModel(ModelicaTest.MultiBody.FourbarVariants.JointUSR,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|j2.s|j2.v",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.JointUSR") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001116/0.001116, allocations: 116.3 kB / 18.46 MB, free: 4.594 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001193/0.001193, allocations: 208 kB / 19.41 MB, free: 3.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.342/1.342, allocations: 227.4 MB / 247.6 MB, free: 10.47 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2173/0.2173, allocations: 46.11 MB / 345 MB, free: 11.49 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001423/0.001423, allocations: 79.88 kB / 482 MB, free: 4.082 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3238/0.3252, allocations: 62.44 MB / 0.5317 GB, free: 13.61 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.JointUSR): time 0.0179/0.3431, allocations: 17.64 MB / 0.5489 GB, free: 15.74 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01151/0.3547, allocations: 5.691 MB / 0.5544 GB, free: 10.31 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002868/0.3576, allocations: 111.7 kB / 0.5545 GB, free: 10.2 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008201/0.3658, allocations: 4.571 MB / 0.559 GB, free: 5.613 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007982/0.3738, allocations: 2.971 MB / 0.5619 GB, free: 2.633 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004465/0.3783, allocations: 1.498 MB / 0.5634 GB, free: 1.133 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.01284/0.3912, allocations: 8.934 MB / 0.5721 GB, free: 8.184 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00862/0.3998, allocations: 6.427 MB / 0.5784 GB, free: 1.684 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005432/0.4053, allocations: 3.014 MB / 0.5813 GB, free: 14.66 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00677/0.4121, allocations: 4.265 MB / 0.5855 GB, free: 10.38 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002254/0.4144, allocations: 0.6602 MB / 0.5861 GB, free: 9.723 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004208/0.4186, allocations: 1.834 MB / 0.5879 GB, free: 7.887 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004085/0.4227, allocations: 3.721 MB / 0.5916 GB, free: 4.156 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0061/0.4288, allocations: 4.175 MB / 0.5956 GB, free: 15.95 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01504/0.4439, allocations: 13.49 MB / 0.6088 GB, free: 2.418 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.157e-06/0.4439, allocations: 4 kB / 0.6088 GB, free: 2.414 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.342e-06/0.4439, allocations: 0 / 0.6088 GB, free: 2.414 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.000415/0.4443, allocations: 0 / 0.6088 GB, free: 2.414 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: 2782 * Number of variables: 2782 Notification: Performance of Generate backend data structure: time 0.02225/0.4666, allocations: 8.963 MB / 0.6176 GB, free: 9.363 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.477e-05/0.4666, allocations: 8.031 kB / 0.6176 GB, free: 9.355 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01689/0.4835, allocations: 4.104 MB / 0.6216 GB, free: 5.234 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01085/0.4944, allocations: 5.076 MB / 0.6265 GB, free: 76 kB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004027/0.4948, allocations: 439 kB / 0.627 GB, free: 15.64 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002206/0.4971, allocations: 0.6048 MB / 0.6275 GB, free: 15.04 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04195/0.539, allocations: 20.63 MB / 0.6477 GB, free: 9.27 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003797/0.5395, allocations: 71.31 kB / 0.6478 GB, free: 9.199 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002371/0.5418, allocations: 271.7 kB / 0.648 GB, free: 8.934 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006106/0.548, allocations: 3.722 MB / 0.6516 GB, free: 5.207 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0366/0.5846, allocations: 18.21 MB / 0.6694 GB, free: 2.977 MB / 0.5138 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5802/1.165, allocations: 74.26 MB / 0.742 GB, free: 114.2 MB / 0.5607 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01729/1.182, allocations: 7.467 MB / 0.7492 GB, free: 112.7 MB / 0.5607 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005037/1.187, allocations: 4.115 MB / 0.7533 GB, free: 111.1 MB / 0.5607 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02546/1.213, allocations: 18.29 MB / 0.7711 GB, free: 100.7 MB / 0.5607 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.44e-05/1.213, allocations: 73.55 kB / 0.7712 GB, free: 100.6 MB / 0.5607 GB Notification: Performance of pre-optimization done (n=335): time 8.416e-06/1.213, allocations: 0 / 0.7712 GB, free: 100.6 MB / 0.5607 GB Notification: Performance of matching and sorting (n=419): time 0.1076/1.32, allocations: 34.69 MB / 0.8051 GB, free: 68.6 MB / 0.5607 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.798e-05/1.321, allocations: 196.4 kB / 0.8053 GB, free: 68.38 MB / 0.5607 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007876/1.328, allocations: 6.466 MB / 0.8116 GB, free: 61.91 MB / 0.5607 GB Notification: Performance of collectPreVariables (initialization): time 0.0008552/1.329, allocations: 85.45 kB / 0.8116 GB, free: 61.82 MB / 0.5607 GB Notification: Performance of collectInitialEqns (initialization): time 0.00246/1.332, allocations: 5.364 MB / 0.8169 GB, free: 56.46 MB / 0.5607 GB Notification: Performance of collectInitialBindings (initialization): time 0.001689/1.333, allocations: 1.544 MB / 0.8184 GB, free: 54.93 MB / 0.5607 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002422/1.336, allocations: 2.134 MB / 0.8205 GB, free: 52.79 MB / 0.5607 GB Notification: Performance of setup shared object (initialization): time 4.215e-05/1.336, allocations: 301.1 kB / 0.8208 GB, free: 52.49 MB / 0.5607 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005268/1.341, allocations: 4.339 MB / 0.825 GB, free: 48.14 MB / 0.5607 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007594/1.349, allocations: 10.29 MB / 0.835 GB, free: 35.05 MB / 0.5607 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01469/1.364, allocations: 15.68 MB / 0.8504 GB, free: 16.55 MB / 0.5607 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001767/1.364, allocations: 56 kB / 0.8504 GB, free: 16.5 MB / 0.5607 GB Notification: Performance of matching and sorting (n=1417) (initialization): time 0.03022/1.394, allocations: 16.36 MB / 0.8664 GB, free: 108 kB / 0.5607 GB Notification: Performance of prepare postOptimizeDAE: time 0.000283/1.394, allocations: 94.66 kB / 0.8665 GB, free: 16 kB / 0.5607 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004284/1.395, allocations: 208 kB / 0.8667 GB, free: 15.81 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008118/1.403, allocations: 2.373 MB / 0.869 GB, free: 13.44 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008764/1.412, allocations: 2.464 MB / 0.8714 GB, free: 10.97 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02162/1.433, allocations: 12.75 MB / 0.8839 GB, free: 14.08 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008472/1.442, allocations: 0.5892 MB / 0.8844 GB, free: 13.49 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00209/1.444, allocations: 0.5995 MB / 0.885 GB, free: 12.89 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 943 * Number of states: 0 () * Number of discrete variables: 49 (jointUSR.revolute.positiveBranch,Body3.sphereColor[3],Body3.sphereColor[2],Body3.sphereColor[1],Body2.sphereColor[3],Body2.sphereColor[2],Body2.sphereColor[1],Body1.sphereColor[3],Body1.sphereColor[2],Body1.sphereColor[1],jointUSR.rod1Color[3],jointUSR.rod1Color[2],jointUSR.rod1Color[1],jointUSR.cylinderColor[3],jointUSR.cylinderColor[2],jointUSR.cylinderColor[1],jointUSR.sphereColor[3],jointUSR.sphereColor[2],jointUSR.sphereColor[1],jointUSR.revoluteColor[3],jointUSR.revoluteColor[2],jointUSR.revoluteColor[1],fixedFrame.color_x[3],fixedFrame.color_x[2],fixedFrame.color_x[1],b3.color[3],b3.color[2],b3.color[1],b2.color[3],b2.color[2],b2.color[1],b2.body.sphereColor[3],b2.body.sphereColor[2],b2.body.sphereColor[1],j2.boxColor[3],j2.boxColor[2],j2.boxColor[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 (1316): * Single equations (assignments): 1309 * Array equations: 6 * 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 {(2,52,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.007917/1.452, allocations: 3.773 MB / 0.8887 GB, free: 9.109 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001669/1.454, allocations: 0.5862 MB / 0.8893 GB, free: 8.516 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01927/1.473, allocations: 8.33 MB / 0.8974 GB, free: 140 kB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.327e-05/1.473, allocations: 19.88 kB / 0.8974 GB, free: 120 kB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.48e-05/1.473, allocations: 7.844 kB / 0.8974 GB, free: 116 kB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001741/1.475, allocations: 0.6067 MB / 0.898 GB, free: 15.48 MB / 0.6076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001704/1.477, allocations: 59.94 kB / 0.8981 GB, free: 15.42 MB / 0.6076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003675/1.48, allocations: 243.2 kB / 0.8983 GB, free: 15.18 MB / 0.6076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001036/1.481, allocations: 250.3 kB / 0.8986 GB, free: 14.94 MB / 0.6076 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01857/1.5, allocations: 8.434 MB / 0.9068 GB, free: 6.539 MB / 0.6076 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.01635/1.516, allocations: 11.28 MB / 0.9178 GB, free: 11.2 MB / 0.6232 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.004294/1.521, allocations: 3.152 MB / 0.9209 GB, free: 8.035 MB / 0.6232 GB Notification: Performance of sorting global known variables: time 0.008102/1.529, allocations: 4.02 MB / 0.9248 GB, free: 4.023 MB / 0.6232 GB Notification: Performance of Backend: time 6.31e-07/1.529, allocations: 0 / 0.9248 GB, free: 4.023 MB / 0.6232 GB Notification: Performance of simCode: created initialization part: time 0.0187/1.547, allocations: 7.939 MB / 0.9326 GB, free: 12.15 MB / 0.6388 GB Notification: Performance of SimCode: time 0.03131/1.579, allocations: 16.33 MB / 0.9485 GB, free: 11.79 MB / 0.6544 GB Notification: Performance of Templates: time 0.4128/1.992, allocations: 89.65 MB / 1.036 GB, free: 212 MB / 0.6701 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.JointUSR.makefile (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.JointUSR.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.JointUSR.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.JointUSR.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.JointUSR.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.JointUSR -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.JointUSR.pipe 2>&1)