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.001174/0.001174, allocations: 107.1 kB / 18.46 MB, free: 4.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001252/0.001252, allocations: 203.9 kB / 19.4 MB, free: 3.68 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.511/1.511, allocations: 227.4 MB / 247.6 MB, free: 10.59 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.297/0.297, allocations: 46.1 MB / 345 MB, free: 11.54 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0015/0.0015, allocations: 83.81 kB / 482 MB, free: 4.094 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.428/0.4295, allocations: 62.44 MB / 0.5317 GB, free: 13.63 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.JointUSR): time 0.0254/0.455, allocations: 17.64 MB / 0.5489 GB, free: 15.76 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01565/0.4707, allocations: 5.698 MB / 0.5544 GB, free: 10.37 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005206/0.4759, allocations: 107.8 kB / 0.5545 GB, free: 10.26 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01008/0.4861, allocations: 4.575 MB / 0.559 GB, free: 5.672 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01056/0.4967, allocations: 3.066 MB / 0.562 GB, free: 2.594 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00444/0.5012, allocations: 1.494 MB / 0.5635 GB, free: 1.098 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.01597/0.5172, allocations: 8.938 MB / 0.5722 GB, free: 8.145 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01055/0.5278, allocations: 6.431 MB / 0.5785 GB, free: 1.641 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006109/0.5339, allocations: 3.018 MB / 0.5814 GB, free: 14.61 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006883/0.5408, allocations: 4.257 MB / 0.5856 GB, free: 10.34 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002736/0.5436, allocations: 0.6641 MB / 0.5862 GB, free: 9.68 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005681/0.5493, allocations: 1.834 MB / 0.588 GB, free: 7.844 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.007045/0.5564, allocations: 3.717 MB / 0.5917 GB, free: 4.117 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.009451/0.5659, allocations: 4.175 MB / 0.5957 GB, free: 15.91 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0209/0.5868, allocations: 13.49 MB / 0.6089 GB, free: 2.375 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.791e-06/0.5868, allocations: 0 / 0.6089 GB, free: 2.375 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.5868, allocations: 0 / 0.6089 GB, free: 2.375 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0005629/0.5874, allocations: 0 / 0.6089 GB, free: 2.375 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.025/0.6124, allocations: 8.967 MB / 0.6177 GB, free: 9.32 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.385e-05/0.6125, allocations: 12.03 kB / 0.6177 GB, free: 9.309 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01953/0.632, allocations: 4.1 MB / 0.6217 GB, free: 5.191 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0149/0.647, allocations: 5.064 MB / 0.6266 GB, free: 44 kB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006024/0.6476, allocations: 438.9 kB / 0.627 GB, free: 15.61 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003484/0.6511, allocations: 0.6048 MB / 0.6276 GB, free: 15.01 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04747/0.6986, allocations: 20.62 MB / 0.6478 GB, free: 9.246 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005068/0.6992, allocations: 83.23 kB / 0.6479 GB, free: 9.164 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003005/0.7022, allocations: 271.7 kB / 0.6481 GB, free: 8.898 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006591/0.7088, allocations: 3.722 MB / 0.6517 GB, free: 5.172 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04227/0.7511, allocations: 18.21 MB / 0.6695 GB, free: 2.938 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.6745/1.426, allocations: 74.26 MB / 0.742 GB, free: 114.2 MB / 0.5607 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01784/1.444, allocations: 7.465 MB / 0.7493 GB, free: 112.7 MB / 0.5607 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004723/1.448, allocations: 4.113 MB / 0.7534 GB, free: 111.1 MB / 0.5607 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02805/1.476, allocations: 18.3 MB / 0.7712 GB, free: 100.6 MB / 0.5607 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.424e-05/1.476, allocations: 68.31 kB / 0.7713 GB, free: 100.6 MB / 0.5607 GB Notification: Performance of pre-optimization done (n=335): time 6.582e-06/1.476, allocations: 0 / 0.7713 GB, free: 100.6 MB / 0.5607 GB Notification: Performance of matching and sorting (n=419): time 0.1143/1.591, allocations: 34.69 MB / 0.8052 GB, free: 68.62 MB / 0.5607 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.184e-05/1.591, allocations: 192.9 kB / 0.8053 GB, free: 68.4 MB / 0.5607 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008131/1.599, allocations: 6.465 MB / 0.8117 GB, free: 61.93 MB / 0.5607 GB Notification: Performance of collectPreVariables (initialization): time 0.0009353/1.6, allocations: 93.06 kB / 0.8117 GB, free: 61.84 MB / 0.5607 GB Notification: Performance of collectInitialEqns (initialization): time 0.002834/1.603, allocations: 5.363 MB / 0.817 GB, free: 56.48 MB / 0.5607 GB Notification: Performance of collectInitialBindings (initialization): time 0.001482/1.604, allocations: 1.536 MB / 0.8185 GB, free: 54.95 MB / 0.5607 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002545/1.607, allocations: 2.142 MB / 0.8206 GB, free: 52.8 MB / 0.5607 GB Notification: Performance of setup shared object (initialization): time 5.351e-05/1.607, allocations: 301.1 kB / 0.8209 GB, free: 52.51 MB / 0.5607 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005521/1.612, allocations: 4.335 MB / 0.8251 GB, free: 48.17 MB / 0.5607 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00811/1.621, allocations: 10.29 MB / 0.8351 GB, free: 35.08 MB / 0.5607 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01568/1.636, allocations: 15.68 MB / 0.8505 GB, free: 16.58 MB / 0.5607 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002114/1.637, allocations: 61.59 kB / 0.8505 GB, free: 16.52 MB / 0.5607 GB Notification: Performance of matching and sorting (n=1417) (initialization): time 0.03167/1.668, allocations: 16.36 MB / 0.8665 GB, free: 136 kB / 0.5607 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001363/1.668, allocations: 92 kB / 0.8666 GB, free: 44 kB / 0.5607 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003074/1.669, allocations: 208 kB / 0.8668 GB, free: 15.84 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008622/1.677, allocations: 2.369 MB / 0.8691 GB, free: 13.47 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009697/1.687, allocations: 2.468 MB / 0.8715 GB, free: 11 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0231/1.71, allocations: 12.75 MB / 0.884 GB, free: 14.11 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008426/1.719, allocations: 0.5892 MB / 0.8845 GB, free: 13.52 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001851/1.721, allocations: 0.6051 MB / 0.8851 GB, free: 12.92 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.008478/1.729, allocations: 3.765 MB / 0.8888 GB, free: 9.141 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001858/1.731, allocations: 0.5862 MB / 0.8894 GB, free: 8.547 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02087/1.752, allocations: 8.334 MB / 0.8975 GB, free: 168 kB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.195e-05/1.752, allocations: 19.88 kB / 0.8975 GB, free: 148 kB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.223e-05/1.752, allocations: 3.984 kB / 0.8975 GB, free: 144 kB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002452/1.755, allocations: 0.6067 MB / 0.8981 GB, free: 15.5 MB / 0.6076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002233/1.757, allocations: 71.3 kB / 0.8982 GB, free: 15.44 MB / 0.6076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004698/1.761, allocations: 231.7 kB / 0.8984 GB, free: 15.21 MB / 0.6076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001544/1.763, allocations: 254.3 kB / 0.8987 GB, free: 14.96 MB / 0.6076 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.02061/1.784, allocations: 8.442 MB / 0.9069 GB, free: 6.562 MB / 0.6076 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.01838/1.802, allocations: 11.26 MB / 0.9179 GB, free: 11.23 MB / 0.6232 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.005152/1.807, allocations: 3.152 MB / 0.921 GB, free: 8.07 MB / 0.6232 GB Notification: Performance of sorting global known variables: time 0.009363/1.817, allocations: 4.024 MB / 0.9249 GB, free: 4.055 MB / 0.6232 GB Notification: Performance of Backend: time 1.302e-06/1.817, allocations: 0 / 0.9249 GB, free: 4.055 MB / 0.6232 GB Notification: Performance of simCode: created initialization part: time 0.02191/1.839, allocations: 7.933 MB / 0.9326 GB, free: 12.18 MB / 0.6388 GB Notification: Performance of SimCode: time 0.04073/1.879, allocations: 16.33 MB / 0.9486 GB, free: 11.82 MB / 0.6544 GB Notification: Performance of Templates: time 0.4804/2.36, allocations: 89 MB / 1.036 GB, free: 212.3 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)