Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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="mat",numberOfIntervals=5000,variableFilter="time|j2.s|j2.v",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.JointUSR") translateModel(ModelicaTest.MultiBody.FourbarVariants.JointUSR,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|j2.s|j2.v",fileNamePrefix="ModelicaTest_4.0.0_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.001491/0.00149, allocations: 109.3 kB / 18.45 MB, free: 4.605 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.001746/0.001746, allocations: 185.1 kB / 19.38 MB, free: 3.684 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.384/1.384, allocations: 222.9 MB / 243.1 MB, free: 15.05 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2283/0.2283, allocations: 44.19 MB / 337.4 MB, free: 2.652 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001356/0.001356, allocations: 75.88 kB / 471.2 MB, free: 13.16 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3818/0.3832, allocations: 60.81 MB / 0.5196 GB, free: 3.609 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.JointUSR): time 0.01793/0.4011, allocations: 17.7 MB / 0.5368 GB, free: 6.609 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01528/0.4165, allocations: 5.688 MB / 0.5424 GB, free: 2.129 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005187/0.4217, allocations: 112.2 kB / 0.5425 GB, free: 2.109 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.009897/0.4316, allocations: 4.582 MB / 0.547 GB, free: 15.03 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00934/0.441, allocations: 3.015 MB / 0.5499 GB, free: 12.86 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003782/0.4448, allocations: 1.49 MB / 0.5514 GB, free: 11.4 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.01374/0.4586, allocations: 8.759 MB / 0.5599 GB, free: 2.629 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.009709/0.4683, allocations: 6.447 MB / 0.5662 GB, free: 12.11 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006098/0.4745, allocations: 3.014 MB / 0.5692 GB, free: 9.086 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007013/0.4815, allocations: 4.269 MB / 0.5733 GB, free: 4.805 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002683/0.4842, allocations: 0.6602 MB / 0.574 GB, free: 4.145 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005162/0.4894, allocations: 1.853 MB / 0.5758 GB, free: 2.289 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005348/0.4948, allocations: 3.752 MB / 0.5794 GB, free: 14.53 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.007838/0.5027, allocations: 4.214 MB / 0.5836 GB, free: 10.29 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01974/0.5225, allocations: 13.58 MB / 0.5968 GB, free: 12.66 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.072e-06/0.5225, allocations: 0 / 0.5968 GB, free: 12.66 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.004e-06/0.5225, allocations: 0 / 0.5968 GB, free: 12.66 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0004952/0.523, allocations: 0 / 0.5968 GB, free: 12.66 MB / 462.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.02453/0.5476, allocations: 9.01 MB / 0.6056 GB, free: 3.566 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.504e-05/0.5476, allocations: 12.03 kB / 0.6056 GB, free: 3.555 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01764/0.5653, allocations: 4.104 MB / 0.6096 GB, free: 15.43 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01379/0.5791, allocations: 5.169 MB / 0.6147 GB, free: 10.18 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005621/0.5797, allocations: 442.9 kB / 0.6151 GB, free: 9.746 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00318/0.5829, allocations: 0.601 MB / 0.6157 GB, free: 9.145 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0426/0.6255, allocations: 20.61 MB / 0.6358 GB, free: 3.395 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003432/0.6259, allocations: 83.23 kB / 0.6359 GB, free: 3.312 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00288/0.6288, allocations: 275.7 kB / 0.6362 GB, free: 3.043 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006671/0.6355, allocations: 3.718 MB / 0.6398 GB, free: 15.32 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04028/0.6758, allocations: 18.19 MB / 0.6576 GB, free: 13.11 MB / 0.5137 GB 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.6956/1.371, allocations: 74.29 MB / 0.7301 GB, free: 120.1 MB / 0.5607 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01765/1.389, allocations: 7.443 MB / 0.7374 GB, free: 118.9 MB / 0.5607 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007393/1.397, allocations: 4.122 MB / 0.7414 GB, free: 118.2 MB / 0.5607 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02951/1.426, allocations: 18.2 MB / 0.7592 GB, free: 109.2 MB / 0.5607 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.831e-05/1.426, allocations: 67.06 kB / 0.7592 GB, free: 109.1 MB / 0.5607 GB Notification: Performance of pre-optimization done (n=335): time 7.294e-06/1.426, allocations: 0 / 0.7592 GB, free: 109.1 MB / 0.5607 GB Notification: Performance of matching and sorting (n=419): time 0.1115/1.538, allocations: 35.02 MB / 0.7934 GB, free: 81.31 MB / 0.5607 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.983e-05/1.538, allocations: 196.9 kB / 0.7936 GB, free: 81.08 MB / 0.5607 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01065/1.548, allocations: 6.474 MB / 0.8 GB, free: 74.6 MB / 0.5607 GB Notification: Performance of collectPreVariables (initialization): time 0.0008865/1.549, allocations: 81.7 kB / 0.8 GB, free: 74.52 MB / 0.5607 GB Notification: Performance of collectInitialEqns (initialization): time 0.002886/1.552, allocations: 5.365 MB / 0.8053 GB, free: 69.15 MB / 0.5607 GB Notification: Performance of collectInitialBindings (initialization): time 0.001751/1.554, allocations: 1.538 MB / 0.8068 GB, free: 67.62 MB / 0.5607 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003992/1.558, allocations: 2.138 MB / 0.8089 GB, free: 65.48 MB / 0.5607 GB Notification: Performance of setup shared object (initialization): time 5.181e-05/1.558, allocations: 301.1 kB / 0.8091 GB, free: 65.18 MB / 0.5607 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005434/1.564, allocations: 4.331 MB / 0.8134 GB, free: 60.85 MB / 0.5607 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00871/1.572, allocations: 10.28 MB / 0.8234 GB, free: 47.77 MB / 0.5607 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01628/1.589, allocations: 15.68 MB / 0.8387 GB, free: 29.35 MB / 0.5607 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000238/1.589, allocations: 60 kB / 0.8388 GB, free: 29.29 MB / 0.5607 GB Notification: Performance of matching and sorting (n=1417) (initialization): time 0.03229/1.621, allocations: 16.35 MB / 0.8548 GB, free: 12.91 MB / 0.5607 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002805/1.621, allocations: 96 kB / 0.8548 GB, free: 12.82 MB / 0.5607 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004055/1.622, allocations: 208 kB / 0.855 GB, free: 12.62 MB / 0.5607 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007367/1.629, allocations: 2.368 MB / 0.8574 GB, free: 10.25 MB / 0.5607 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008084/1.637, allocations: 2.46 MB / 0.8598 GB, free: 7.785 MB / 0.5607 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01956/1.657, allocations: 12.75 MB / 0.8722 GB, free: 10.88 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009278/1.666, allocations: 0.5964 MB / 0.8728 GB, free: 10.29 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00234/1.669, allocations: 0.5976 MB / 0.8734 GB, free: 9.691 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.008928/1.678, allocations: 3.765 MB / 0.8771 GB, free: 5.91 MB / 0.5763 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001963/1.68, allocations: 0.5901 MB / 0.8776 GB, free: 5.312 MB / 0.5763 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01956/1.699, allocations: 8.328 MB / 0.8858 GB, free: 12.95 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001036/1.699, allocations: 67.92 kB / 0.8858 GB, free: 12.88 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.27e-05/1.699, allocations: 12 kB / 0.8858 GB, free: 12.87 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001183/1.699, allocations: 15.94 kB / 0.8859 GB, free: 12.85 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04662/1.746, allocations: 18.84 MB / 0.9043 GB, free: 9.707 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.714e-05/1.746, allocations: 15.94 kB / 0.9043 GB, free: 9.691 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003212/1.749, allocations: 0.6209 MB / 0.9049 GB, free: 9.07 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006874/1.756, allocations: 1.807 MB / 0.9066 GB, free: 7.258 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008133/1.757, allocations: 86.36 kB / 0.9067 GB, free: 7.176 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01801/1.775, allocations: 10.83 MB / 0.9173 GB, free: 12.22 MB / 0.6232 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.945e-05/1.775, allocations: 27.81 kB / 0.9173 GB, free: 12.2 MB / 0.6232 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02672/1.802, allocations: 12.46 MB / 0.9295 GB, free: 15.46 MB / 0.6388 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002308/1.804, allocations: 0.6223 MB / 0.9301 GB, free: 14.81 MB / 0.6388 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001891/1.806, allocations: 83.98 kB / 0.9302 GB, free: 14.73 MB / 0.6388 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004024/1.81, allocations: 199.8 kB / 0.9304 GB, free: 14.54 MB / 0.6388 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001076/1.811, allocations: 261.7 kB / 0.9306 GB, free: 14.28 MB / 0.6388 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006005/1.812, allocations: 116 kB / 0.9307 GB, free: 14.16 MB / 0.6388 GB Notification: Performance of sorting global known variables: time 0.009448/1.821, allocations: 4.02 MB / 0.9347 GB, free: 10.15 MB / 0.6388 GB Notification: Performance of sort global known variables: time 5.81e-07/1.822, allocations: 4 kB / 0.9347 GB, free: 10.15 MB / 0.6388 GB Notification: Performance of remove unused functions: time 0.01247/1.834, allocations: 1.947 MB / 0.9366 GB, free: 8.211 MB / 0.6388 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.001445/1.835, allocations: 299.5 kB / 0.9368 GB, free: 7.922 MB / 0.6388 GB Notification: Performance of simCode: created initialization part: time 0.01934/1.855, allocations: 10.17 MB / 0.9468 GB, free: 13.77 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 1.88e-05/1.855, allocations: 7.938 kB / 0.9468 GB, free: 13.76 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.006529/1.861, allocations: 3.39 MB / 0.9501 GB, free: 10.36 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007321/1.869, allocations: 0.7872 MB / 0.9509 GB, free: 9.578 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3325/2.201, allocations: 18.46 MB / 0.9689 GB, free: 236 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01163/2.213, allocations: 5.568 MB / 0.9743 GB, free: 235.1 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002923/2.216, allocations: 494.7 kB / 0.9748 GB, free: 235.1 MB / 0.6544 GB Notification: Performance of SimCode: time 1.913e-06/2.216, allocations: 0 / 0.9748 GB, free: 235.1 MB / 0.6544 GB Notification: Performance of Templates: time 0.1866/2.403, allocations: 143.6 MB / 1.115 GB, free: 111.2 MB / 0.6544 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.JointUSR.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.JointUSR.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.JointUSR.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.JointUSR.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.JointUSR.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.JointUSR -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.JointUSR.pipe 2>&1)