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.001208/0.001208, allocations: 112.4 kB / 18.45 MB, free: 4.598 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001287/0.001287, allocations: 204 kB / 19.4 MB, free: 3.656 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.312/1.312, allocations: 227.4 MB / 247.6 MB, free: 10.46 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1922/0.1922, allocations: 46.1 MB / 344.9 MB, free: 11.49 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001257/0.001257, allocations: 83.81 kB / 482 MB, free: 4.074 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2766/0.2779, allocations: 62.43 MB / 0.5316 GB, free: 13.62 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.JointUSR): time 0.01637/0.2943, allocations: 17.65 MB / 0.5489 GB, free: 15.74 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01118/0.3055, allocations: 5.691 MB / 0.5544 GB, free: 10.32 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002477/0.308, allocations: 103.8 kB / 0.5545 GB, free: 10.21 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007154/0.3152, allocations: 4.575 MB / 0.559 GB, free: 5.625 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006931/0.3222, allocations: 3.069 MB / 0.562 GB, free: 2.547 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002708/0.3249, allocations: 1.49 MB / 0.5635 GB, free: 1.055 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.01005/0.3349, allocations: 8.947 MB / 0.5722 GB, free: 8.094 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006983/0.342, allocations: 6.427 MB / 0.5785 GB, free: 1.594 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00499/0.347, allocations: 3.014 MB / 0.5814 GB, free: 14.57 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00591/0.3529, allocations: 4.269 MB / 0.5856 GB, free: 10.29 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001595/0.3545, allocations: 0.6602 MB / 0.5862 GB, free: 9.629 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003254/0.3578, allocations: 1.834 MB / 0.588 GB, free: 7.793 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003049/0.3608, allocations: 3.71 MB / 0.5916 GB, free: 4.074 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00479/0.3656, allocations: 4.187 MB / 0.5957 GB, free: 15.86 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01346/0.3791, allocations: 13.49 MB / 0.6089 GB, free: 2.324 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.124e-06/0.3792, allocations: 8 kB / 0.6089 GB, free: 2.316 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.575e-06/0.3792, allocations: 0 / 0.6089 GB, free: 2.316 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0003947/0.3796, allocations: 0 / 0.6089 GB, free: 2.316 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.02143/0.401, allocations: 8.955 MB / 0.6177 GB, free: 9.273 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.542e-05/0.4011, allocations: 16.02 kB / 0.6177 GB, free: 9.258 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01545/0.4165, allocations: 4.1 MB / 0.6217 GB, free: 5.141 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0108/0.4274, allocations: 5.068 MB / 0.6266 GB, free: 15.98 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003966/0.4278, allocations: 430.9 kB / 0.627 GB, free: 15.56 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002279/0.4301, allocations: 0.6048 MB / 0.6276 GB, free: 14.96 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03674/0.4669, allocations: 20.63 MB / 0.6478 GB, free: 9.191 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002261/0.4671, allocations: 79.3 kB / 0.6478 GB, free: 9.113 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001159/0.4683, allocations: 271.7 kB / 0.6481 GB, free: 8.848 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00509/0.4734, allocations: 3.714 MB / 0.6517 GB, free: 5.129 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03508/0.5085, allocations: 18.2 MB / 0.6695 GB, free: 2.902 MB / 0.5137 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.5348/1.043, allocations: 74.27 MB / 0.742 GB, free: 114.2 MB / 0.5607 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01491/1.058, allocations: 7.46 MB / 0.7493 GB, free: 112.7 MB / 0.5607 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004373/1.063, allocations: 4.118 MB / 0.7533 GB, free: 111.1 MB / 0.5607 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02332/1.086, allocations: 18.29 MB / 0.7712 GB, free: 100.6 MB / 0.5607 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.097e-05/1.086, allocations: 69.91 kB / 0.7713 GB, free: 100.6 MB / 0.5607 GB Notification: Performance of pre-optimization done (n=335): time 5.941e-06/1.086, allocations: 0 / 0.7713 GB, free: 100.6 MB / 0.5607 GB Notification: Performance of matching and sorting (n=419): time 0.09426/1.18, allocations: 34.7 MB / 0.8052 GB, free: 68.55 MB / 0.5607 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.079e-05/1.18, allocations: 192.9 kB / 0.8053 GB, free: 68.32 MB / 0.5607 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007134/1.188, allocations: 6.466 MB / 0.8117 GB, free: 61.85 MB / 0.5607 GB Notification: Performance of collectPreVariables (initialization): time 0.000674/1.188, allocations: 85.7 kB / 0.8117 GB, free: 61.76 MB / 0.5607 GB Notification: Performance of collectInitialEqns (initialization): time 0.002237/1.191, allocations: 5.363 MB / 0.817 GB, free: 56.4 MB / 0.5607 GB Notification: Performance of collectInitialBindings (initialization): time 0.001356/1.192, allocations: 1.542 MB / 0.8185 GB, free: 54.87 MB / 0.5607 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002408/1.194, allocations: 2.135 MB / 0.8206 GB, free: 52.73 MB / 0.5607 GB Notification: Performance of setup shared object (initialization): time 3.856e-05/1.194, allocations: 309.1 kB / 0.8209 GB, free: 52.43 MB / 0.5607 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00495/1.199, allocations: 4.339 MB / 0.8251 GB, free: 48.08 MB / 0.5607 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006914/1.206, allocations: 10.28 MB / 0.8351 GB, free: 35 MB / 0.5607 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01337/1.22, allocations: 15.68 MB / 0.8505 GB, free: 16.5 MB / 0.5607 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001272/1.22, allocations: 60 kB / 0.8505 GB, free: 16.44 MB / 0.5607 GB Notification: Performance of matching and sorting (n=1417) (initialization): time 0.02585/1.246, allocations: 16.35 MB / 0.8665 GB, free: 60 kB / 0.5607 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002311/1.246, allocations: 92.05 kB / 0.8666 GB, free: 15.96 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003085/1.246, allocations: 208.5 kB / 0.8668 GB, free: 15.76 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00729/1.254, allocations: 2.374 MB / 0.8691 GB, free: 13.39 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007834/1.261, allocations: 2.464 MB / 0.8715 GB, free: 10.92 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01904/1.281, allocations: 12.76 MB / 0.8839 GB, free: 14.04 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007345/1.288, allocations: 0.5891 MB / 0.8845 GB, free: 13.45 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001803/1.29, allocations: 0.5976 MB / 0.8851 GB, free: 12.85 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.00753/1.297, allocations: 3.777 MB / 0.8888 GB, free: 9.059 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00162/1.299, allocations: 0.5862 MB / 0.8894 GB, free: 8.465 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01777/1.317, allocations: 8.33 MB / 0.8975 GB, free: 88 kB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.335e-05/1.317, allocations: 63.98 kB / 0.8976 GB, free: 24 kB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.93e-05/1.317, allocations: 12 kB / 0.8976 GB, free: 12 kB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.143e-05/1.317, allocations: 16 kB / 0.8976 GB, free: 15.99 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03868/1.356, allocations: 18.84 MB / 0.916 GB, free: 12.86 MB / 0.6232 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.211e-05/1.356, allocations: 16.03 kB / 0.916 GB, free: 12.84 MB / 0.6232 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002811/1.359, allocations: 0.624 MB / 0.9166 GB, free: 12.21 MB / 0.6232 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006442/1.365, allocations: 1.807 MB / 0.9184 GB, free: 10.4 MB / 0.6232 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006256/1.366, allocations: 83.98 kB / 0.9185 GB, free: 10.32 MB / 0.6232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01644/1.382, allocations: 10.82 MB / 0.929 GB, free: 15.37 MB / 0.6388 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-05/1.382, allocations: 15.94 kB / 0.929 GB, free: 15.35 MB / 0.6388 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0219/1.404, allocations: 12.47 MB / 0.9412 GB, free: 2.598 MB / 0.6388 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001534/1.406, allocations: 0.6222 MB / 0.9418 GB, free: 1.949 MB / 0.6388 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001438/1.407, allocations: 83.92 kB / 0.9419 GB, free: 1.867 MB / 0.6388 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003434/1.411, allocations: 201.1 kB / 0.9421 GB, free: 1.672 MB / 0.6388 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000866/1.411, allocations: 265.7 kB / 0.9424 GB, free: 1.41 MB / 0.6388 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004836/1.412, allocations: 123.9 kB / 0.9425 GB, free: 1.293 MB / 0.6388 GB Notification: Performance of sorting global known variables: time 0.007146/1.419, allocations: 4.02 MB / 0.9464 GB, free: 13.28 MB / 0.6544 GB Notification: Performance of sort global known variables: time 3.91e-07/1.419, allocations: 0 / 0.9464 GB, free: 13.28 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.008807/1.428, allocations: 1.922 MB / 0.9483 GB, free: 11.37 MB / 0.6544 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 55 * Number of states: 2 (j2.s,j2.v) * 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 (331): * Single equations (assignments): 324 * 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,42,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0009525/1.429, allocations: 278.2 kB / 0.9485 GB, free: 11.1 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.01594/1.445, allocations: 10.19 MB / 0.9585 GB, free: 0.9258 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 1.664e-05/1.445, allocations: 4 kB / 0.9585 GB, free: 0.9219 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.005519/1.45, allocations: 3.391 MB / 0.9618 GB, free: 13.52 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005403/1.456, allocations: 0.803 MB / 0.9626 GB, free: 12.72 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2549/1.711, allocations: 18.44 MB / 0.9806 GB, free: 245.4 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006822/1.718, allocations: 5.563 MB / 0.986 GB, free: 244.5 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002243/1.72, allocations: 494.5 kB / 0.9865 GB, free: 244.5 MB / 0.67 GB Notification: Performance of SimCode: time 1.112e-06/1.72, allocations: 0 / 0.9865 GB, free: 244.5 MB / 0.67 GB Notification: Performance of Templates: time 0.1487/1.869, allocations: 142.2 MB / 1.125 GB, free: 121.5 MB / 0.67 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)