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.007034/0.007034, allocations: 100.1 kB / 15.73 MB, free: 5.965 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.002435/0.002435, allocations: 198.7 kB / 16.68 MB, free: 5.887 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.521/1.521, allocations: 205.1 MB / 222.6 MB, free: 4.504 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.3194/0.3194, allocations: 37.99 MB / 307.9 MB, free: 10.21 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.001469/0.001469, allocations: 71.89 kB / 433 MB, free: 5.406 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3043/0.3058, allocations: 56.45 MB / 489.4 MB, free: 19.95 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.JointUSR): time 0.01632/0.3222, allocations: 17.79 MB / 0.4953 GB, free: 7.293 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01575/0.338, allocations: 5.661 MB / 0.5009 GB, free: 3.496 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005555/0.3436, allocations: 111.7 kB / 0.501 GB, free: 3.477 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.009581/0.3533, allocations: 4.593 MB / 0.5055 GB, free: 0.9766 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01217/0.3655, allocations: 3.111 MB / 0.5085 GB, free: 14.74 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004476/0.37, allocations: 1.496 MB / 0.51 GB, free: 13.75 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.01562/0.3856, allocations: 8.617 MB / 0.5184 GB, free: 9.191 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01196/0.3976, allocations: 6.459 MB / 0.5247 GB, free: 3.547 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007116/0.4048, allocations: 3.03 MB / 0.5276 GB, free: 0.5078 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007746/0.4126, allocations: 4.288 MB / 0.5318 GB, free: 12.21 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003254/0.4159, allocations: 0.6641 MB / 0.5325 GB, free: 11.54 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006384/0.4223, allocations: 1.846 MB / 0.5343 GB, free: 9.695 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.006392/0.4287, allocations: 3.756 MB / 0.538 GB, free: 5.93 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01005/0.4388, allocations: 4.222 MB / 0.5421 GB, free: 1.684 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02099/0.4598, allocations: 13.58 MB / 0.5553 GB, free: 4.055 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.394e-06/0.4598, allocations: 4 kB / 0.5553 GB, free: 4.051 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.765e-06/0.4599, allocations: 0 / 0.5553 GB, free: 4.051 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0005136/0.4604, allocations: 0 / 0.5553 GB, free: 4.051 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.02631/0.4867, allocations: 9.045 MB / 0.5642 GB, free: 10.91 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.128e-05/0.4868, allocations: 11.89 kB / 0.5642 GB, free: 10.9 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01697/0.5038, allocations: 4.1 MB / 0.5682 GB, free: 6.785 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0134/0.5172, allocations: 5.369 MB / 0.5734 GB, free: 1.332 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005105/0.5177, allocations: 434.9 kB / 0.5739 GB, free: 0.9062 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003564/0.5213, allocations: 0.601 MB / 0.5744 GB, free: 312 kB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04536/0.5667, allocations: 20.62 MB / 0.5946 GB, free: 10.54 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004342/0.5672, allocations: 79.3 kB / 0.5947 GB, free: 10.46 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002723/0.5699, allocations: 275.7 kB / 0.5949 GB, free: 10.2 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005989/0.5759, allocations: 3.71 MB / 0.5985 GB, free: 6.477 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04169/0.6177, allocations: 18.2 MB / 0.6163 GB, free: 4.273 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.6185/1.236, allocations: 74.29 MB / 0.6889 GB, free: 69.52 MB / 0.4982 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01959/1.256, allocations: 7.471 MB / 0.6962 GB, free: 66.49 MB / 0.4982 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006571/1.262, allocations: 4.124 MB / 0.7002 GB, free: 64.59 MB / 0.4982 GB Notification: Performance of preOpt evalFunc (simulation): time 0.03799/1.3, allocations: 18.21 MB / 0.718 GB, free: 52.68 MB / 0.4982 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.429e-05/1.301, allocations: 69.02 kB / 0.718 GB, free: 52.61 MB / 0.4982 GB Notification: Performance of pre-optimization done (n=335): time 8.837e-06/1.301, allocations: 0 / 0.718 GB, free: 52.61 MB / 0.4982 GB Notification: Performance of matching and sorting (n=419): time 0.1169/1.418, allocations: 35.1 MB / 0.7523 GB, free: 21.69 MB / 0.4982 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.777e-05/1.418, allocations: 200.8 kB / 0.7525 GB, free: 21.46 MB / 0.4982 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01047/1.428, allocations: 6.518 MB / 0.7589 GB, free: 14.94 MB / 0.4982 GB Notification: Performance of collectPreVariables (initialization): time 0.0009276/1.429, allocations: 81.7 kB / 0.7589 GB, free: 14.85 MB / 0.4982 GB Notification: Performance of collectInitialEqns (initialization): time 0.003173/1.432, allocations: 5.378 MB / 0.7642 GB, free: 9.477 MB / 0.4982 GB Notification: Performance of collectInitialBindings (initialization): time 0.002209/1.435, allocations: 1.539 MB / 0.7657 GB, free: 7.926 MB / 0.4982 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003981/1.439, allocations: 2.135 MB / 0.7678 GB, free: 5.781 MB / 0.4982 GB Notification: Performance of setup shared object (initialization): time 7.646e-05/1.439, allocations: 305.1 kB / 0.7681 GB, free: 5.48 MB / 0.4982 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005554/1.444, allocations: 4.335 MB / 0.7723 GB, free: 1.141 MB / 0.4982 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01117/1.455, allocations: 10.28 MB / 0.7823 GB, free: 3.973 MB / 0.5138 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02062/1.476, allocations: 15.67 MB / 0.7976 GB, free: 1.375 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001771/1.476, allocations: 60 kB / 0.7977 GB, free: 1.316 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1417) (initialization): time 0.03842/1.515, allocations: 16.35 MB / 0.8137 GB, free: 0.9336 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002981/1.515, allocations: 92 kB / 0.8138 GB, free: 0.8438 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004644/1.515, allocations: 208 kB / 0.814 GB, free: 0.6406 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008246/1.524, allocations: 2.369 MB / 0.8163 GB, free: 14.27 MB / 0.5607 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009382/1.533, allocations: 2.47 MB / 0.8187 GB, free: 11.79 MB / 0.5607 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02197/1.555, allocations: 12.75 MB / 0.8311 GB, free: 14.89 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007898/1.563, allocations: 0.5775 MB / 0.8317 GB, free: 14.31 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001797/1.565, allocations: 0.6054 MB / 0.8323 GB, free: 13.71 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.008117/1.573, allocations: 3.781 MB / 0.836 GB, free: 9.91 MB / 0.5763 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001612/1.575, allocations: 0.5939 MB / 0.8366 GB, free: 9.309 MB / 0.5763 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01928/1.594, allocations: 8.322 MB / 0.8447 GB, free: 0.9336 MB / 0.5763 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.922e-05/1.594, allocations: 63.98 kB / 0.8447 GB, free: 0.8711 MB / 0.5763 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.606e-05/1.594, allocations: 12 kB / 0.8448 GB, free: 0.8594 MB / 0.5763 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.7e-05/1.594, allocations: 19.88 kB / 0.8448 GB, free: 0.8398 MB / 0.5763 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.372/1.966, allocations: 18.84 MB / 0.8632 GB, free: 194.9 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.676e-05/1.966, allocations: 11.81 kB / 0.8632 GB, free: 194.9 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003849/1.97, allocations: 0.6246 MB / 0.8638 GB, free: 194.9 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008738/1.979, allocations: 1.805 MB / 0.8656 GB, free: 194.9 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001172/1.98, allocations: 78.75 kB / 0.8656 GB, free: 194.9 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02126/2.001, allocations: 10.83 MB / 0.8762 GB, free: 191.1 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.781e-05/2.002, allocations: 19.09 kB / 0.8762 GB, free: 191.1 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02687/2.028, allocations: 12.47 MB / 0.8884 GB, free: 186.2 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004114/2.033, allocations: 1.158 MB / 0.8895 GB, free: 185.8 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00239/2.035, allocations: 80.53 kB / 0.8896 GB, free: 185.8 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004848/2.04, allocations: 203.9 kB / 0.8898 GB, free: 185.7 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001329/2.041, allocations: 265.2 kB / 0.8901 GB, free: 185.7 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007118/2.042, allocations: 119.2 kB / 0.8902 GB, free: 185.7 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.01384/2.056, allocations: 4.05 MB / 0.8941 GB, free: 184.4 MB / 0.5919 GB Notification: Performance of sort global known variables: time 9.51e-07/2.056, allocations: 0 / 0.8941 GB, free: 184.4 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0152/2.071, allocations: 1.958 MB / 0.896 GB, free: 184.1 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.001428/2.073, allocations: 291.6 kB / 0.8963 GB, free: 184 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.01977/2.092, allocations: 10.17 MB / 0.9063 GB, free: 180.3 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.528e-05/2.092, allocations: 2 kB / 0.9063 GB, free: 180.3 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.006105/2.099, allocations: 3.39 MB / 0.9096 GB, free: 179 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008749/2.107, allocations: 0.8051 MB / 0.9104 GB, free: 178.6 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03325/2.141, allocations: 17.71 MB / 0.9277 GB, free: 166 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009795/2.15, allocations: 5.597 MB / 0.9331 GB, free: 160.3 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.009048/2.16, allocations: 3.319 MB / 0.9364 GB, free: 157 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002258/2.162, allocations: 415.4 kB / 0.9368 GB, free: 156.6 MB / 0.5919 GB Notification: Performance of SimCode: time 8.31e-07/2.162, allocations: 0 / 0.9368 GB, free: 156.6 MB / 0.5919 GB Notification: Performance of Templates: time 0.113/2.275, allocations: 69.82 MB / 1.005 GB, free: 86.91 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)