Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.2_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.2+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+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.2_ModelicaTest.MultiBody.FourbarVariants.JointUSR") translateModel(ModelicaTest.MultiBody.FourbarVariants.JointUSR,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_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.006403/0.006403, allocations: 100.2 kB / 15.73 MB, free: 6.027 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.001182/0.001182, allocations: 186.9 kB / 16.67 MB, free: 5.965 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.61/1.61, allocations: 205.1 MB / 222.6 MB, free: 4.512 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.3664/0.3664, allocations: 39.94 MB / 309.8 MB, free: 9.309 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.2. 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.001781/0.001781, allocations: 67.91 kB / 435.8 MB, free: 2.477 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3801/0.3819, allocations: 56.88 MB / 492.6 MB, free: 19.45 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.JointUSR): time 0.01941/0.4013, allocations: 17.8 MB / 0.4985 GB, free: 6.785 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01632/0.4177, allocations: 5.66 MB / 0.504 GB, free: 2.641 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005559/0.4234, allocations: 115.1 kB / 0.5041 GB, free: 2.617 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01013/0.4336, allocations: 4.583 MB / 0.5086 GB, free: 15.54 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01227/0.4459, allocations: 3.024 MB / 0.5115 GB, free: 13.36 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004957/0.4509, allocations: 1.5 MB / 0.513 GB, free: 12.36 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.01852/0.4694, allocations: 8.611 MB / 0.5214 GB, free: 7.008 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01487/0.4844, allocations: 6.459 MB / 0.5277 GB, free: 488 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008181/0.4926, allocations: 3.022 MB / 0.5307 GB, free: 13.45 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008767/0.5014, allocations: 4.288 MB / 0.5349 GB, free: 9.145 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003507/0.505, allocations: 0.6641 MB / 0.5355 GB, free: 8.48 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006848/0.5118, allocations: 1.838 MB / 0.5373 GB, free: 6.641 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.006725/0.5186, allocations: 3.741 MB / 0.541 GB, free: 2.891 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01276/0.5314, allocations: 4.214 MB / 0.5451 GB, free: 14.65 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02557/0.557, allocations: 13.59 MB / 0.5583 GB, free: 1.02 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.829e-06/0.5571, allocations: 0 / 0.5583 GB, free: 1.02 MB / 430.1 MB Notification: Performance of FrontEnd: time 3.517e-06/0.5571, allocations: 4 kB / 0.5583 GB, free: 1.016 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0006686/0.5578, allocations: 7.938 kB / 0.5584 GB, free: 1.008 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.03281/0.5906, allocations: 9.025 MB / 0.5672 GB, free: 7.895 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.276e-05/0.5907, allocations: 11.89 kB / 0.5672 GB, free: 7.883 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01924/0.6099, allocations: 4.108 MB / 0.5712 GB, free: 3.758 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0144/0.6244, allocations: 5.377 MB / 0.5764 GB, free: 14.3 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005054/0.6249, allocations: 430.9 kB / 0.5769 GB, free: 13.88 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003245/0.6282, allocations: 0.6011 MB / 0.5774 GB, free: 13.27 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05083/0.679, allocations: 20.62 MB / 0.5976 GB, free: 7.512 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000342/0.6794, allocations: 83.23 kB / 0.5977 GB, free: 7.43 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002731/0.6821, allocations: 271.7 kB / 0.5979 GB, free: 7.164 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.007294/0.6894, allocations: 3.718 MB / 0.6015 GB, free: 3.438 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0438/0.7333, allocations: 18.19 MB / 0.6193 GB, free: 1.234 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.7212/1.455, allocations: 74.29 MB / 0.6919 GB, free: 68.73 MB / 0.4982 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02026/1.475, allocations: 7.469 MB / 0.6992 GB, free: 64.46 MB / 0.4982 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006179/1.481, allocations: 4.112 MB / 0.7032 GB, free: 62.34 MB / 0.4982 GB Notification: Performance of preOpt evalFunc (simulation): time 0.03591/1.517, allocations: 18.21 MB / 0.721 GB, free: 50.41 MB / 0.4982 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.896e-05/1.517, allocations: 68.31 kB / 0.721 GB, free: 50.34 MB / 0.4982 GB Notification: Performance of pre-optimization done (n=335): time 6.863e-06/1.517, allocations: 0 / 0.721 GB, free: 50.34 MB / 0.4982 GB Notification: Performance of matching and sorting (n=419): time 0.1202/1.637, allocations: 35.11 MB / 0.7553 GB, free: 16.01 MB / 0.4982 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.585e-05/1.638, allocations: 196.9 kB / 0.7555 GB, free: 15.78 MB / 0.4982 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009342/1.647, allocations: 6.515 MB / 0.7619 GB, free: 9.262 MB / 0.4982 GB Notification: Performance of collectPreVariables (initialization): time 0.001073/1.648, allocations: 87.98 kB / 0.7619 GB, free: 9.172 MB / 0.4982 GB Notification: Performance of collectInitialEqns (initialization): time 0.003389/1.651, allocations: 5.37 MB / 0.7672 GB, free: 3.773 MB / 0.4982 GB Notification: Performance of collectInitialBindings (initialization): time 0.002244/1.654, allocations: 1.538 MB / 0.7687 GB, free: 2.215 MB / 0.4982 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003317/1.657, allocations: 2.135 MB / 0.7708 GB, free: 72 kB / 0.4982 GB Notification: Performance of setup shared object (initialization): time 0.0001324/1.657, allocations: 305.1 kB / 0.7711 GB, free: 15.77 MB / 0.5138 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007487/1.665, allocations: 4.335 MB / 0.7753 GB, free: 11.43 MB / 0.5138 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01389/1.679, allocations: 10.28 MB / 0.7853 GB, free: 14.26 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0229/1.701, allocations: 15.68 MB / 0.8006 GB, free: 11.66 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000362/1.702, allocations: 60 kB / 0.8007 GB, free: 11.6 MB / 0.545 GB Notification: Performance of matching and sorting (n=1417) (initialization): time 0.04057/1.742, allocations: 16.34 MB / 0.8167 GB, free: 11.21 MB / 0.5607 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001844/1.743, allocations: 99.94 kB / 0.8168 GB, free: 11.12 MB / 0.5607 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000328/1.743, allocations: 208 kB / 0.8169 GB, free: 10.91 MB / 0.5607 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00864/1.752, allocations: 2.377 MB / 0.8193 GB, free: 8.535 MB / 0.5607 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009655/1.761, allocations: 2.457 MB / 0.8217 GB, free: 6.074 MB / 0.5607 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02177/1.783, allocations: 12.74 MB / 0.8341 GB, free: 9.172 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0103/1.794, allocations: 0.5892 MB / 0.8347 GB, free: 8.582 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002511/1.796, allocations: 0.5976 MB / 0.8353 GB, free: 7.984 MB / 0.5763 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.008667/1.805, allocations: 3.777 MB / 0.839 GB, free: 4.191 MB / 0.5763 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001506/1.806, allocations: 0.5978 MB / 0.8395 GB, free: 3.586 MB / 0.5763 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01865/1.825, allocations: 8.33 MB / 0.8477 GB, free: 11.21 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001295/1.825, allocations: 59.98 kB / 0.8477 GB, free: 11.15 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.311e-05/1.825, allocations: 16 kB / 0.8478 GB, free: 11.13 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001061/1.825, allocations: 15.94 kB / 0.8478 GB, free: 11.12 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3884/2.214, allocations: 18.85 MB / 0.8662 GB, free: 195.3 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.352e-05/2.214, allocations: 15.97 kB / 0.8662 GB, free: 195.3 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004122/2.218, allocations: 0.6229 MB / 0.8668 GB, free: 195.3 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007787/2.226, allocations: 1.803 MB / 0.8686 GB, free: 194.9 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009396/2.227, allocations: 89.09 kB / 0.8686 GB, free: 194.9 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01823/2.245, allocations: 10.83 MB / 0.8792 GB, free: 189.8 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.581e-05/2.245, allocations: 24.84 kB / 0.8792 GB, free: 189.8 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02506/2.27, allocations: 12.46 MB / 0.8914 GB, free: 184.8 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004497/2.275, allocations: 1.157 MB / 0.8925 GB, free: 184.5 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001944/2.277, allocations: 80.77 kB / 0.8926 GB, free: 184.5 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004335/2.281, allocations: 207.9 kB / 0.8928 GB, free: 184.4 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008864/2.282, allocations: 267 kB / 0.8931 GB, free: 184.4 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002782/2.282, allocations: 110.7 kB / 0.8932 GB, free: 184.3 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.008918/2.291, allocations: 4.054 MB / 0.8971 GB, free: 183 MB / 0.5919 GB Notification: Performance of sort global known variables: time 8.31e-07/2.291, allocations: 0 / 0.8971 GB, free: 183 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.01447/2.306, allocations: 1.95 MB / 0.899 GB, free: 182.8 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.001617/2.307, allocations: 286.5 kB / 0.8993 GB, free: 182.6 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.01915/2.326, allocations: 10.18 MB / 0.9093 GB, free: 178.1 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.458e-05/2.327, allocations: 10.25 kB / 0.9093 GB, free: 178.1 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.00593/2.332, allocations: 3.392 MB / 0.9126 GB, free: 175.1 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006135/2.339, allocations: 0.8001 MB / 0.9134 GB, free: 174.4 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03445/2.373, allocations: 17.71 MB / 0.9307 GB, free: 157.1 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01046/2.384, allocations: 5.601 MB / 0.9361 GB, free: 151.4 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.00809/2.392, allocations: 3.315 MB / 0.9394 GB, free: 148.1 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001873/2.394, allocations: 415.4 kB / 0.9398 GB, free: 147.7 MB / 0.5919 GB Notification: Performance of SimCode: time 1.042e-06/2.394, allocations: 0 / 0.9398 GB, free: 147.7 MB / 0.5919 GB Notification: Performance of Templates: time 0.1144/2.508, allocations: 69.82 MB / 1.008 GB, free: 77.99 MB / 0.5919 GB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.FourbarVariants.JointUSR.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.FourbarVariants.JointUSR.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.MultiBody.FourbarVariants.JointUSR.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.MultiBody.FourbarVariants.JointUSR.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.MultiBody.FourbarVariants.JointUSR.sim & ./ModelicaTest_3.2.2_ModelicaTest.MultiBody.FourbarVariants.JointUSR -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.MultiBody.FourbarVariants.JointUSR.pipe 2>&1)