Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.FourbarVariants.JointUSR.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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo) 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(ModelicaTest.MultiBody.FourbarVariants.JointUSR,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.FourbarVariants.JointUSR") translateModel(ModelicaTest.MultiBody.FourbarVariants.JointUSR,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.FourbarVariants.JointUSR") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006558/0.006558, allocations: 105.8 kB / 15.74 MB, free: 5.992 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.001407/0.001407, allocations: 195.8 kB / 16.67 MB, free: 5.914 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.502/1.502, allocations: 205.1 MB / 222.5 MB, free: 4.535 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.3391/0.3391, allocations: 38 MB / 307.9 MB, free: 10.11 MB / 254.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: ModelicaTest requested package Modelica of version 3.2.1. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001694/0.001694, allocations: 71.89 kB / 433 MB, free: 5.418 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.356/0.3577, allocations: 56.47 MB / 489.5 MB, free: 19.98 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.JointUSR): time 0.02538/0.3831, allocations: 17.78 MB / 0.4953 GB, free: 7.328 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02028/0.4035, allocations: 5.665 MB / 0.5009 GB, free: 3.523 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.008706/0.4123, allocations: 111.2 kB / 0.501 GB, free: 3.504 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01428/0.4266, allocations: 4.59 MB / 0.5055 GB, free: 0.9883 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01501/0.4417, allocations: 3.016 MB / 0.5084 GB, free: 14.82 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006237/0.448, allocations: 1.5 MB / 0.5099 GB, free: 13.82 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.02103/0.469, allocations: 8.604 MB / 0.5183 GB, free: 9.277 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0163/0.4854, allocations: 6.464 MB / 0.5246 GB, free: 3.652 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008218/0.4937, allocations: 3.026 MB / 0.5275 GB, free: 0.6172 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009359/0.5031, allocations: 4.3 MB / 0.5317 GB, free: 12.3 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00334/0.5065, allocations: 0.6602 MB / 0.5324 GB, free: 11.64 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006743/0.5133, allocations: 1.842 MB / 0.5342 GB, free: 9.801 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.006494/0.5198, allocations: 3.76 MB / 0.5379 GB, free: 6.031 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0101/0.5299, allocations: 4.218 MB / 0.542 GB, free: 1.789 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02326/0.5532, allocations: 13.59 MB / 0.5553 GB, free: 4.152 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.128e-05/0.5533, allocations: 0 / 0.5553 GB, free: 4.152 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.943e-06/0.5533, allocations: 0 / 0.5553 GB, free: 4.152 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0007778/0.5541, allocations: 0 / 0.5553 GB, free: 4.152 MB / 430.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.03157/0.5857, allocations: 9.044 MB / 0.5641 GB, free: 11.02 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.993e-05/0.5857, allocations: 15.88 kB / 0.5641 GB, free: 11 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01863/0.6044, allocations: 4.1 MB / 0.5681 GB, free: 6.887 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01333/0.6177, allocations: 5.369 MB / 0.5733 GB, free: 1.434 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000459/0.6182, allocations: 434.9 kB / 0.5738 GB, free: 1.008 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003052/0.6213, allocations: 0.6049 MB / 0.5744 GB, free: 412 kB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04359/0.6649, allocations: 20.62 MB / 0.5945 GB, free: 10.64 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003571/0.6653, allocations: 75.3 kB / 0.5946 GB, free: 10.57 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002135/0.6675, allocations: 267.7 kB / 0.5948 GB, free: 10.3 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006163/0.6736, allocations: 3.722 MB / 0.5985 GB, free: 6.574 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0411/0.7148, allocations: 18.2 MB / 0.6162 GB, free: 4.367 MB / 494.1 MB 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.4691/1.184, allocations: 74.29 MB / 0.6888 GB, free: 71 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0201/1.204, allocations: 7.467 MB / 0.6961 GB, free: 67.97 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007868/1.212, allocations: 4.114 MB / 0.7001 GB, free: 66.12 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02983/1.242, allocations: 18.21 MB / 0.7179 GB, free: 54.18 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.458e-05/1.242, allocations: 73.91 kB / 0.7179 GB, free: 54.11 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=335): time 6.552e-06/1.242, allocations: 0 / 0.7179 GB, free: 54.11 MB / 0.4981 GB Notification: Performance of matching and sorting (n=419): time 0.1081/1.35, allocations: 35.1 MB / 0.7522 GB, free: 23.67 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.78e-05/1.35, allocations: 192.9 kB / 0.7524 GB, free: 23.45 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007434/1.358, allocations: 6.514 MB / 0.7588 GB, free: 16.93 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0007433/1.358, allocations: 81.7 kB / 0.7588 GB, free: 16.84 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.002524/1.361, allocations: 5.375 MB / 0.7641 GB, free: 11.45 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.001519/1.362, allocations: 1.546 MB / 0.7656 GB, free: 9.883 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00251/1.365, allocations: 2.135 MB / 0.7677 GB, free: 7.738 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 6.235e-05/1.365, allocations: 301.1 kB / 0.768 GB, free: 7.441 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005484/1.371, allocations: 4.335 MB / 0.7722 GB, free: 3.102 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01354/1.384, allocations: 10.28 MB / 0.7822 GB, free: 5.922 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02477/1.409, allocations: 15.67 MB / 0.7975 GB, free: 3.328 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000227/1.409, allocations: 63.94 kB / 0.7976 GB, free: 3.266 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1417) (initialization): time 0.03626/1.445, allocations: 16.35 MB / 0.8136 GB, free: 2.891 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001327/1.446, allocations: 92 kB / 0.8137 GB, free: 2.801 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002555/1.446, allocations: 208.1 kB / 0.8139 GB, free: 2.598 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007785/1.454, allocations: 2.369 MB / 0.8162 GB, free: 232 kB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008675/1.462, allocations: 2.464 MB / 0.8186 GB, free: 13.75 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02021/1.483, allocations: 12.75 MB / 0.831 GB, free: 0.8438 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007795/1.49, allocations: 0.5852 MB / 0.8316 GB, free: 264 kB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00185/1.492, allocations: 0.5976 MB / 0.8322 GB, free: 15.66 MB / 0.5762 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.008123/1.5, allocations: 3.777 MB / 0.8359 GB, free: 11.87 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001485/1.502, allocations: 0.5939 MB / 0.8365 GB, free: 11.27 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01744/1.519, allocations: 8.326 MB / 0.8446 GB, free: 2.887 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001087/1.52, allocations: 63.98 kB / 0.8446 GB, free: 2.824 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.062e-05/1.52, allocations: 17.91 kB / 0.8447 GB, free: 2.809 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.289e-05/1.52, allocations: 15.94 kB / 0.8447 GB, free: 2.793 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3216/1.841, allocations: 18.85 MB / 0.8631 GB, free: 195.1 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.396e-05/1.841, allocations: 12.67 kB / 0.8631 GB, free: 195.1 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003351/1.845, allocations: 0.627 MB / 0.8637 GB, free: 195.1 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007501/1.852, allocations: 1.804 MB / 0.8655 GB, free: 195.1 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007392/1.853, allocations: 82.84 kB / 0.8655 GB, free: 195.1 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01888/1.872, allocations: 10.83 MB / 0.8761 GB, free: 191.8 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.278e-05/1.872, allocations: 21.09 kB / 0.8761 GB, free: 191.8 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02613/1.898, allocations: 12.46 MB / 0.8883 GB, free: 186.9 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004002/1.902, allocations: 1.167 MB / 0.8895 GB, free: 186.6 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001636/1.904, allocations: 78.77 kB / 0.8895 GB, free: 186.5 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003066/1.907, allocations: 204.8 kB / 0.8897 GB, free: 186.5 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006472/1.908, allocations: 268 kB / 0.89 GB, free: 186.4 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003008/1.908, allocations: 115.2 kB / 0.8901 GB, free: 186.4 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.00637/1.914, allocations: 4.051 MB / 0.894 GB, free: 185.1 MB / 0.5919 GB Notification: Performance of sort global known variables: time 5.51e-07/1.914, allocations: 0 / 0.894 GB, free: 185.1 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.008982/1.923, allocations: 1.958 MB / 0.896 GB, free: 184.9 MB / 0.5919 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.000937/1.924, allocations: 279.8 kB / 0.8962 GB, free: 184.7 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.01571/1.94, allocations: 10.19 MB / 0.9062 GB, free: 181.1 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.521e-05/1.94, allocations: 0 / 0.9062 GB, free: 181.1 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.005386/1.945, allocations: 3.391 MB / 0.9095 GB, free: 179.7 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006298/1.952, allocations: 0.7989 MB / 0.9103 GB, free: 179.3 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02947/1.981, allocations: 17.71 MB / 0.9276 GB, free: 169 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00599/1.987, allocations: 5.605 MB / 0.933 GB, free: 164 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.006585/1.994, allocations: 3.323 MB / 0.9363 GB, free: 160.8 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001268/1.995, allocations: 415.4 kB / 0.9367 GB, free: 160.4 MB / 0.5919 GB Notification: Performance of SimCode: time 1.082e-06/1.995, allocations: 0 / 0.9367 GB, free: 160.4 MB / 0.5919 GB Notification: Performance of Templates: time 0.106/2.101, allocations: 69.81 MB / 1.005 GB, free: 90.75 MB / 0.5919 GB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.FourbarVariants.JointUSR.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.FourbarVariants.JointUSR.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.MultiBody.FourbarVariants.JointUSR.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.MultiBody.FourbarVariants.JointUSR.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.MultiBody.FourbarVariants.JointUSR.sim & ./ModelicaTest_3.2.1_ModelicaTest.MultiBody.FourbarVariants.JointUSR -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.MultiBody.FourbarVariants.JointUSR.pipe 2>&1)