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.007329/0.007329, allocations: 104.1 kB / 15.74 MB, free: 5.984 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.001415/0.001415, allocations: 197.8 kB / 16.68 MB, free: 5.91 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.656/1.656, allocations: 205.1 MB / 222.5 MB, free: 4.5 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.4098/0.4098, allocations: 39.95 MB / 309.8 MB, free: 9.434 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.002109/0.002109, allocations: 67.91 kB / 435.8 MB, free: 2.473 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3932/0.3953, allocations: 56.87 MB / 492.6 MB, free: 19.71 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.JointUSR): time 0.01844/0.4138, allocations: 17.79 MB / 0.4985 GB, free: 7.059 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01569/0.4296, allocations: 5.67 MB / 0.504 GB, free: 2.941 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005597/0.4352, allocations: 106.8 kB / 0.5041 GB, free: 2.926 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008858/0.4442, allocations: 4.587 MB / 0.5086 GB, free: 15.84 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01173/0.4559, allocations: 3.019 MB / 0.5115 GB, free: 13.67 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005333/0.4613, allocations: 1.492 MB / 0.513 GB, free: 12.68 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.01693/0.4782, allocations: 8.622 MB / 0.5214 GB, free: 7.148 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01018/0.4885, allocations: 6.451 MB / 0.5277 GB, free: 0.625 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008435/0.4969, allocations: 3.038 MB / 0.5307 GB, free: 13.58 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008948/0.5059, allocations: 4.288 MB / 0.5349 GB, free: 9.277 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003994/0.51, allocations: 0.6641 MB / 0.5355 GB, free: 8.613 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006643/0.5166, allocations: 1.845 MB / 0.5373 GB, free: 6.766 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00687/0.5235, allocations: 3.756 MB / 0.541 GB, free: 3 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.008829/0.5324, allocations: 4.222 MB / 0.5451 GB, free: 14.75 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02185/0.5543, allocations: 13.59 MB / 0.5584 GB, free: 1.117 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.213e-06/0.5543, allocations: 0 / 0.5584 GB, free: 1.117 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.904e-06/0.5543, allocations: 0 / 0.5584 GB, free: 1.117 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0005967/0.5549, allocations: 0 / 0.5584 GB, free: 1.117 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.03158/0.5865, allocations: 9.029 MB / 0.5672 GB, free: 8 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.369e-05/0.5866, allocations: 15.88 kB / 0.5672 GB, free: 7.984 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01987/0.6065, allocations: 4.104 MB / 0.5712 GB, free: 3.863 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01572/0.6223, allocations: 5.373 MB / 0.5765 GB, free: 14.4 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006267/0.6229, allocations: 434.8 kB / 0.5769 GB, free: 13.98 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003803/0.6268, allocations: 0.605 MB / 0.5775 GB, free: 13.38 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0473/0.6741, allocations: 20.62 MB / 0.5976 GB, free: 7.609 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002552/0.6744, allocations: 83.23 kB / 0.5977 GB, free: 7.527 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001174/0.6755, allocations: 271.7 kB / 0.598 GB, free: 7.262 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005837/0.6814, allocations: 3.71 MB / 0.6016 GB, free: 3.543 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04327/0.7247, allocations: 18.2 MB / 0.6193 GB, free: 1.332 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.8565/1.581, allocations: 74.29 MB / 0.6919 GB, free: 69.04 MB / 0.4982 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02068/1.602, allocations: 7.474 MB / 0.6992 GB, free: 64.76 MB / 0.4982 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006589/1.609, allocations: 4.111 MB / 0.7032 GB, free: 62.64 MB / 0.4982 GB Notification: Performance of preOpt evalFunc (simulation): time 0.03349/1.642, allocations: 18.2 MB / 0.721 GB, free: 50.72 MB / 0.4982 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.892e-05/1.642, allocations: 68.44 kB / 0.7211 GB, free: 50.66 MB / 0.4982 GB Notification: Performance of pre-optimization done (n=335): time 7.534e-06/1.642, allocations: 0 / 0.7211 GB, free: 50.66 MB / 0.4982 GB Notification: Performance of matching and sorting (n=419): time 0.1143/1.757, allocations: 35.11 MB / 0.7553 GB, free: 16.16 MB / 0.4982 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001189/1.757, allocations: 196.9 kB / 0.7555 GB, free: 15.93 MB / 0.4982 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01013/1.767, allocations: 6.514 MB / 0.7619 GB, free: 9.418 MB / 0.4982 GB Notification: Performance of collectPreVariables (initialization): time 0.001181/1.768, allocations: 85.7 kB / 0.762 GB, free: 9.328 MB / 0.4982 GB Notification: Performance of collectInitialEqns (initialization): time 0.003123/1.771, allocations: 5.368 MB / 0.7672 GB, free: 3.953 MB / 0.4982 GB Notification: Performance of collectInitialBindings (initialization): time 0.002103/1.774, allocations: 1.546 MB / 0.7687 GB, free: 2.387 MB / 0.4982 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002744/1.776, allocations: 2.135 MB / 0.7708 GB, free: 248 kB / 0.4982 GB Notification: Performance of setup shared object (initialization): time 0.0001097/1.776, allocations: 305.1 kB / 0.7711 GB, free: 15.94 MB / 0.5138 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006893/1.783, allocations: 4.339 MB / 0.7753 GB, free: 11.6 MB / 0.5138 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01252/1.796, allocations: 10.28 MB / 0.7854 GB, free: 14.43 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02589/1.822, allocations: 15.67 MB / 0.8007 GB, free: 11.83 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000302/1.822, allocations: 60 kB / 0.8007 GB, free: 11.77 MB / 0.545 GB Notification: Performance of matching and sorting (n=1417) (initialization): time 0.04461/1.867, allocations: 16.35 MB / 0.8167 GB, free: 11.38 MB / 0.5607 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004352/1.867, allocations: 92 kB / 0.8168 GB, free: 11.29 MB / 0.5607 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004843/1.868, allocations: 208 kB / 0.817 GB, free: 11.09 MB / 0.5607 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008923/1.877, allocations: 2.362 MB / 0.8193 GB, free: 8.723 MB / 0.5607 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009928/1.887, allocations: 2.472 MB / 0.8217 GB, free: 6.246 MB / 0.5607 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02226/1.909, allocations: 12.75 MB / 0.8342 GB, free: 9.344 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0102/1.919, allocations: 0.5908 MB / 0.8347 GB, free: 8.754 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002486/1.922, allocations: 0.6015 MB / 0.8353 GB, free: 8.152 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.009458/1.931, allocations: 3.777 MB / 0.839 GB, free: 4.359 MB / 0.5763 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001602/1.933, allocations: 0.5862 MB / 0.8396 GB, free: 3.766 MB / 0.5763 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01817/1.951, allocations: 8.33 MB / 0.8477 GB, free: 11.39 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.195e-05/1.951, allocations: 63.98 kB / 0.8478 GB, free: 11.32 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.073e-05/1.951, allocations: 12 kB / 0.8478 GB, free: 11.31 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.39e-05/1.951, allocations: 15.94 kB / 0.8478 GB, free: 11.3 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.431/2.382, allocations: 18.84 MB / 0.8662 GB, free: 196.3 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.308e-05/2.382, allocations: 12.66 kB / 0.8662 GB, free: 196.3 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003915/2.386, allocations: 0.6247 MB / 0.8668 GB, free: 196.3 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008207/2.394, allocations: 1.806 MB / 0.8686 GB, free: 196 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001216/2.396, allocations: 80.58 kB / 0.8687 GB, free: 195.9 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01919/2.415, allocations: 10.83 MB / 0.8792 GB, free: 190.8 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.137e-05/2.415, allocations: 18.16 kB / 0.8793 GB, free: 190.8 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02567/2.441, allocations: 12.46 MB / 0.8914 GB, free: 185.9 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004802/2.446, allocations: 1.16 MB / 0.8926 GB, free: 185.5 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001907/2.447, allocations: 82.2 kB / 0.8926 GB, free: 185.5 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003755/2.451, allocations: 202.8 kB / 0.8928 GB, free: 185.4 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007972/2.452, allocations: 271.8 kB / 0.8931 GB, free: 185.4 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003488/2.452, allocations: 113.7 kB / 0.8932 GB, free: 185.4 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.008394/2.461, allocations: 4.051 MB / 0.8972 GB, free: 184 MB / 0.5919 GB Notification: Performance of sort global known variables: time 4.01e-07/2.461, allocations: 0 / 0.8972 GB, free: 184 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.01155/2.472, allocations: 1.954 MB / 0.8991 GB, free: 183.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.001541/2.474, allocations: 291.1 kB / 0.8993 GB, free: 183.6 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.01688/2.491, allocations: 10.18 MB / 0.9093 GB, free: 178.9 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.695e-05/2.491, allocations: 0 / 0.9093 GB, free: 178.9 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.005063/2.496, allocations: 3.4 MB / 0.9126 GB, free: 175.9 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005195/2.501, allocations: 0.7996 MB / 0.9134 GB, free: 175.2 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03048/2.532, allocations: 17.71 MB / 0.9307 GB, free: 157.7 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006519/2.538, allocations: 5.597 MB / 0.9362 GB, free: 152.1 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.007133/2.545, allocations: 3.323 MB / 0.9394 GB, free: 148.8 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001578/2.547, allocations: 415.4 kB / 0.9398 GB, free: 148.4 MB / 0.5919 GB Notification: Performance of SimCode: time 1.002e-06/2.547, allocations: 4 kB / 0.9398 GB, free: 148.3 MB / 0.5919 GB Notification: Performance of Templates: time 0.1174/2.664, allocations: 69.82 MB / 1.008 GB, free: 78.72 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)