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.0007482/0.0007482, allocations: 90.36 kB / 15.36 MB, free: 0.7383 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.005473/0.005473, allocations: 170.7 kB / 16.26 MB, free: 6.613 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.369/1.369, allocations: 205.4 MB / 222.5 MB, free: 5.562 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.2916/0.2916, allocations: 38.04 MB / 308.8 MB, free: 10.39 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.0005587/0.0005587, allocations: 12.22 kB / 377 MB, free: 14.82 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1037/0.1043, allocations: 57.52 MB / 434.6 MB, free: 5.207 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.JointUSR): time 0.2389/0.3433, allocations: 61.55 MB / 496.1 MB, free: 16.87 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02823/0.3715, allocations: 13.15 MB / 0.4973 GB, free: 8.309 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01111/0.3827, allocations: 274.6 kB / 0.4976 GB, free: 8.262 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00238/0.3851, allocations: 0.7332 MB / 0.4983 GB, free: 7.98 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006904/0.392, allocations: 2.867 MB / 0.5011 GB, free: 6.715 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002911/0.3949, allocations: 1.384 MB / 0.5025 GB, free: 6.148 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.01478/0.4097, allocations: 12.01 MB / 0.5142 GB, free: 2.75 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01496/0.4247, allocations: 8.692 MB / 0.5227 GB, free: 14.96 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006175/0.431, allocations: 2.267 MB / 0.5249 GB, free: 13.77 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007662/0.4386, allocations: 4.003 MB / 0.5288 GB, free: 11.55 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001963/0.4406, allocations: 292 kB / 0.5291 GB, free: 11.27 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004495/0.4452, allocations: 1.556 MB / 0.5306 GB, free: 9.707 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004316/0.4495, allocations: 3.338 MB / 0.5339 GB, free: 6.359 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006497/0.456, allocations: 3.747 MB / 0.5375 GB, free: 2.582 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01477/0.4708, allocations: 12.6 MB / 0.5498 GB, free: 5.934 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.384e-06/0.4709, allocations: 0 / 0.5498 GB, free: 5.934 MB / 414.1 MB Notification: Performance of FrontEnd: time 3.477e-06/0.4709, allocations: 0 / 0.5498 GB, free: 5.934 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0005315/0.4714, allocations: 0 / 0.5498 GB, free: 5.934 MB / 414.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.02072/0.4921, allocations: 7.442 MB / 0.5571 GB, free: 14.41 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.034e-05/0.4922, allocations: 8.031 kB / 0.5571 GB, free: 14.4 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01628/0.5085, allocations: 4.202 MB / 0.5612 GB, free: 10.18 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01024/0.5188, allocations: 5.287 MB / 0.5664 GB, free: 4.809 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003631/0.5192, allocations: 430.9 kB / 0.5668 GB, free: 4.387 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002131/0.5213, allocations: 0.6088 MB / 0.5674 GB, free: 3.777 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03728/0.5586, allocations: 20.67 MB / 0.5876 GB, free: 13.96 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002392/0.5589, allocations: 75.39 kB / 0.5876 GB, free: 13.88 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008746/0.5598, allocations: 267.7 kB / 0.5879 GB, free: 13.62 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00533/0.5651, allocations: 3.718 MB / 0.5915 GB, free: 9.902 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03565/0.6008, allocations: 18.25 MB / 0.6093 GB, free: 7.641 MB / 478.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.4909/1.092, allocations: 74.56 MB / 0.6821 GB, free: 89.05 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01721/1.109, allocations: 7.467 MB / 0.6894 GB, free: 86.06 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006731/1.116, allocations: 4.11 MB / 0.6935 GB, free: 84.41 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03017/1.146, allocations: 18.19 MB / 0.7112 GB, free: 74.99 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.371e-05/1.146, allocations: 63.19 kB / 0.7113 GB, free: 74.93 MB / 494.1 MB Notification: Performance of pre-optimization done (n=335): time 6.392e-06/1.146, allocations: 0 / 0.7113 GB, free: 74.93 MB / 494.1 MB Notification: Performance of matching and sorting (n=419): time 0.1082/1.254, allocations: 35.4 MB / 0.7458 GB, free: 56.3 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001261/1.254, allocations: 200.5 kB / 0.746 GB, free: 56.07 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007919/1.262, allocations: 6.506 MB / 0.7524 GB, free: 49.57 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005696/1.263, allocations: 89.7 kB / 0.7525 GB, free: 49.47 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00221/1.265, allocations: 5.371 MB / 0.7577 GB, free: 44.11 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001094/1.266, allocations: 1.55 MB / 0.7592 GB, free: 42.57 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009362/1.267, allocations: 0.9091 MB / 0.7601 GB, free: 41.65 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 4.415e-05/1.267, allocations: 309.1 kB / 0.7604 GB, free: 41.35 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005082/1.272, allocations: 4.331 MB / 0.7646 GB, free: 37.01 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007214/1.28, allocations: 10.28 MB / 0.7747 GB, free: 23.93 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01404/1.294, allocations: 15.67 MB / 0.79 GB, free: 5.355 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000131/1.294, allocations: 60 kB / 0.79 GB, free: 5.297 MB / 494.1 MB Notification: Performance of matching and sorting (n=1417) (initialization): time 0.0309/1.325, allocations: 16.35 MB / 0.806 GB, free: 4.91 MB / 0.4982 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001305/1.325, allocations: 96.25 kB / 0.8061 GB, free: 4.816 MB / 0.4982 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002352/1.325, allocations: 208 kB / 0.8063 GB, free: 4.613 MB / 0.4982 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00765/1.333, allocations: 2.378 MB / 0.8086 GB, free: 2.238 MB / 0.4982 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008294/1.341, allocations: 2.469 MB / 0.811 GB, free: 15.76 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01842/1.36, allocations: 11.91 MB / 0.8227 GB, free: 3.715 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007369/1.367, allocations: 0.5852 MB / 0.8232 GB, free: 3.129 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001327/1.368, allocations: 0.6015 MB / 0.8238 GB, free: 2.527 MB / 0.5138 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.2184/1.587, allocations: 3.777 MB / 0.8275 GB, free: 153.1 MB / 0.5138 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001287/1.588, allocations: 0.5917 MB / 0.8281 GB, free: 153.1 MB / 0.5138 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01602/1.604, allocations: 8.332 MB / 0.8362 GB, free: 152.8 MB / 0.5138 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.053e-05/1.604, allocations: 64.72 kB / 0.8363 GB, free: 152.8 MB / 0.5138 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.657e-05/1.604, allocations: 13.62 kB / 0.8363 GB, free: 152.8 MB / 0.5138 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.364e-05/1.604, allocations: 20.53 kB / 0.8363 GB, free: 152.8 MB / 0.5138 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03266/1.637, allocations: 18.96 MB / 0.8548 GB, free: 145.6 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.335e-05/1.637, allocations: 12.25 kB / 0.8548 GB, free: 145.6 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003032/1.64, allocations: 0.6308 MB / 0.8555 GB, free: 145.6 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007071/1.647, allocations: 1.818 MB / 0.8572 GB, free: 145.2 MB / 0.5138 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006575/1.648, allocations: 81.61 kB / 0.8573 GB, free: 145.2 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01672/1.665, allocations: 10 MB / 0.8671 GB, free: 140.6 MB / 0.5138 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.791e-05/1.665, allocations: 18.55 kB / 0.8671 GB, free: 140.5 MB / 0.5138 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02521/1.69, allocations: 12.48 MB / 0.8793 GB, free: 135.6 MB / 0.5138 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003621/1.693, allocations: 1.171 MB / 0.8804 GB, free: 135.1 MB / 0.5138 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001131/1.695, allocations: 79.11 kB / 0.8805 GB, free: 135 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002723/1.697, allocations: 212 kB / 0.8807 GB, free: 135 MB / 0.5138 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006838/1.698, allocations: 257.9 kB / 0.881 GB, free: 134.9 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002543/1.698, allocations: 117.1 kB / 0.8811 GB, free: 134.9 MB / 0.5138 GB Notification: Performance of sorting global known variables: time 0.006491/1.705, allocations: 4.053 MB / 0.885 GB, free: 133.6 MB / 0.5138 GB Notification: Performance of sort global known variables: time 3e-07/1.705, allocations: 0 / 0.885 GB, free: 133.6 MB / 0.5138 GB Notification: Performance of remove unused functions: time 0.01034/1.715, allocations: 1.956 MB / 0.8869 GB, free: 133.3 MB / 0.5138 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.001055/1.716, allocations: 291.9 kB / 0.8872 GB, free: 133.2 MB / 0.5138 GB Notification: Performance of simCode: created initialization part: time 0.01508/1.731, allocations: 10.12 MB / 0.8971 GB, free: 128.5 MB / 0.5138 GB Notification: Performance of simCode: created event and clocks part: time 1.483e-05/1.731, allocations: 0 / 0.8971 GB, free: 128.5 MB / 0.5138 GB Notification: Performance of simCode: created simulation system equations: time 0.005087/1.737, allocations: 3.397 MB / 0.9004 GB, free: 125.5 MB / 0.5138 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01572/1.752, allocations: 0.7727 MB / 0.9012 GB, free: 124.8 MB / 0.5138 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03138/1.784, allocations: 21.81 MB / 0.9225 GB, free: 104.6 MB / 0.5138 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007629/1.791, allocations: 5.598 MB / 0.9279 GB, free: 99.16 MB / 0.5138 GB Notification: Performance of simCode: alias equations: time 0.008672/1.8, allocations: 3.318 MB / 0.9312 GB, free: 95.84 MB / 0.5138 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001662/1.802, allocations: 419.4 kB / 0.9316 GB, free: 95.43 MB / 0.5138 GB Notification: Performance of SimCode: time 2.855e-06/1.802, allocations: 0 / 0.9316 GB, free: 95.43 MB / 0.5138 GB Notification: Performance of Templates: time 0.1151/1.917, allocations: 70.99 MB / 1.001 GB, free: 24.54 MB / 0.5138 GB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.FourbarVariants.JointUSR.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: