Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUSP2.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.Joints.JointUSP2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|revolute.phi|revolute.w",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUSP2") translateModel(ModelicaTest.MultiBody.Joints.JointUSP2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|revolute.phi|revolute.w",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUSP2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008391/0.0008392, allocations: 97.2 kB / 18.01 MB, free: 5.602 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.0009937/0.0009937, allocations: 177.6 kB / 18.91 MB, free: 4.738 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.37/1.37, allocations: 223.3 MB / 243 MB, free: 14.29 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.2148/0.2148, allocations: 44.25 MB / 338.3 MB, free: 2.395 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003429/0.0003429, allocations: 8 kB / 411 MB, free: 27.25 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.122/0.1223, allocations: 61.93 MB / 472.9 MB, free: 13.29 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointUSP2): time 0.3282/0.4506, allocations: 46.9 MB / 0.5076 GB, free: 10.2 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0265/0.4771, allocations: 10.65 MB / 0.518 GB, free: 9.945 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01219/0.4894, allocations: 207.8 kB / 0.5182 GB, free: 9.945 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002688/0.4921, allocations: 0.512 MB / 0.5187 GB, free: 9.828 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007676/0.4998, allocations: 2.074 MB / 0.5208 GB, free: 9.203 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004364/0.5042, allocations: 1.089 MB / 0.5218 GB, free: 8.809 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.01348/0.5177, allocations: 8.253 MB / 0.5299 GB, free: 5.945 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.009786/0.5275, allocations: 7.054 MB / 0.5368 GB, free: 2.426 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003741/0.5313, allocations: 1.58 MB / 0.5383 GB, free: 1.711 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004312/0.5356, allocations: 2.695 MB / 0.5409 GB, free: 388 kB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008515/0.5365, allocations: 200.3 kB / 0.5411 GB, free: 388 kB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003415/0.5399, allocations: 1.456 MB / 0.5426 GB, free: 15.75 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002984/0.5429, allocations: 2.322 MB / 0.5448 GB, free: 13.77 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003916/0.5469, allocations: 2.626 MB / 0.5474 GB, free: 11.12 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009633/0.5565, allocations: 7.725 MB / 0.5549 GB, free: 3.602 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.721e-06/0.5566, allocations: 0 / 0.5549 GB, free: 3.602 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.284e-06/0.5566, allocations: 0 / 0.5549 GB, free: 3.602 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0003422/0.5569, allocations: 4 kB / 0.5549 GB, free: 3.598 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1932 * Number of variables: 1932 Notification: Performance of Generate backend data structure: time 0.01548/0.5724, allocations: 5.375 MB / 0.5602 GB, free: 14.18 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.9e-05/0.5725, allocations: 8.031 kB / 0.5602 GB, free: 14.17 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01918/0.5916, allocations: 2.78 MB / 0.5629 GB, free: 11.38 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00975/0.6014, allocations: 3.628 MB / 0.5664 GB, free: 7.734 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005998/0.6021, allocations: 353.6 kB / 0.5668 GB, free: 7.422 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001947/0.6041, allocations: 427.5 kB / 0.5672 GB, free: 7.047 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03123/0.6353, allocations: 13.89 MB / 0.5808 GB, free: 8.438 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000287/0.6356, allocations: 59.44 kB / 0.5808 GB, free: 8.379 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001692/0.6374, allocations: 201.8 kB / 0.581 GB, free: 8.227 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004248/0.6416, allocations: 2.407 MB / 0.5834 GB, free: 5.832 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02661/0.6683, allocations: 11.8 MB / 0.5949 GB, free: 10.02 MB / 446.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.07566/0.744, allocations: 51.8 MB / 0.6455 GB, free: 5 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01313/0.7571, allocations: 4.744 MB / 0.6501 GB, free: 116 kB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004574/0.7617, allocations: 2.953 MB / 0.653 GB, free: 13.14 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02182/0.7836, allocations: 12.86 MB / 0.6655 GB, free: 15.8 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.666e-05/0.7837, allocations: 59.86 kB / 0.6656 GB, free: 15.73 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=197): time 6.092e-06/0.7837, allocations: 4 kB / 0.6656 GB, free: 15.73 MB / 0.5137 GB Notification: Performance of matching and sorting (n=248): time 0.165/0.9487, allocations: 43.31 MB / 0.7079 GB, free: 4.227 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000165/0.9489, allocations: 227.6 kB / 0.7081 GB, free: 3.957 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.2512/1.2, allocations: 4.777 MB / 0.7128 GB, free: 202.6 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.000659/1.201, allocations: 63.42 kB / 0.7128 GB, free: 202.5 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.00338/1.204, allocations: 3.842 MB / 0.7166 GB, free: 201 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.001373/1.206, allocations: 0.9289 MB / 0.7175 GB, free: 200.3 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001263/1.207, allocations: 0.6381 MB / 0.7181 GB, free: 200 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 5.115e-05/1.207, allocations: 302.1 kB / 0.7184 GB, free: 199.8 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006144/1.213, allocations: 3.445 MB / 0.7218 GB, free: 198.5 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009837/1.223, allocations: 7.707 MB / 0.7293 GB, free: 191.6 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01444/1.237, allocations: 11.87 MB / 0.7409 GB, free: 182.5 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002184/1.238, allocations: 43.28 kB / 0.7409 GB, free: 182.5 MB / 0.545 GB Notification: Performance of matching and sorting (n=967) (initialization): time 0.03024/1.268, allocations: 14.47 MB / 0.7551 GB, free: 177.5 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001228/1.268, allocations: 69.72 kB / 0.7551 GB, free: 177.5 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001808/1.268, allocations: 147.8 kB / 0.7553 GB, free: 177.5 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01212/1.28, allocations: 4.03 MB / 0.7592 GB, free: 176.2 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005348/1.286, allocations: 1.63 MB / 0.7608 GB, free: 174.6 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02303/1.309, allocations: 18.69 MB / 0.7791 GB, free: 155.8 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006511/1.315, allocations: 466.7 kB / 0.7795 GB, free: 155.3 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001303/1.317, allocations: 429 kB / 0.7799 GB, free: 154.9 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 679 * Number of states: 0 () * Number of discrete variables: 37 (jointUSP.prismatic.positiveBranch,bodyBox.color[3],bodyBox.color[2],bodyBox.color[1],bodyBox.body.sphereColor[3],bodyBox.body.sphereColor[2],bodyBox.body.sphereColor[1],revolute.cylinderColor[3],revolute.cylinderColor[2],revolute.cylinderColor[1],fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],jointUSP.rod1Color[3],jointUSP.rod1Color[2],jointUSP.rod1Color[1],jointUSP.cylinderColor[3],jointUSP.cylinderColor[2],jointUSP.cylinderColor[1],jointUSP.sphereColor[3],jointUSP.sphereColor[2],jointUSP.sphereColor[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 (884): * Single equations (assignments): 880 * Array equations: 3 * 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,58,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.004744/1.322, allocations: 2.655 MB / 0.7825 GB, free: 152.3 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001027/1.323, allocations: 430.4 kB / 0.7829 GB, free: 151.8 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01762/1.34, allocations: 8.659 MB / 0.7914 GB, free: 143.1 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.705e-05/1.34, allocations: 24 kB / 0.7914 GB, free: 143.1 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.604e-05/1.34, allocations: 19.83 kB / 0.7914 GB, free: 143.1 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.283e-05/1.34, allocations: 7.969 kB / 0.7914 GB, free: 143.1 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03273/1.373, allocations: 17.89 MB / 0.8089 GB, free: 125.2 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.856e-05/1.373, allocations: 4.688 kB / 0.8089 GB, free: 125.2 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002115/1.375, allocations: 399.3 kB / 0.8093 GB, free: 124.8 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01209/1.387, allocations: 4.081 MB / 0.8133 GB, free: 120.7 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000611/1.388, allocations: 47.92 kB / 0.8133 GB, free: 120.7 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.021/1.409, allocations: 17.11 MB / 0.83 GB, free: 103.4 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.535e-06/1.409, allocations: 0 / 0.83 GB, free: 103.4 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02244/1.432, allocations: 13.21 MB / 0.8429 GB, free: 90.2 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001734/1.433, allocations: 479.4 kB / 0.8434 GB, free: 89.7 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001002/1.434, allocations: 41.25 kB / 0.8434 GB, free: 89.66 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0026/1.437, allocations: 219.7 kB / 0.8436 GB, free: 89.45 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006835/1.438, allocations: 142.2 kB / 0.8438 GB, free: 89.31 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002131/1.438, allocations: 72.55 kB / 0.8438 GB, free: 89.24 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.004933/1.443, allocations: 2.977 MB / 0.8467 GB, free: 86.27 MB / 0.545 GB Notification: Performance of sort global known variables: time 4.21e-07/1.443, allocations: 0 / 0.8467 GB, free: 86.27 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.007788/1.451, allocations: 1.495 MB / 0.8482 GB, free: 84.79 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 2 (revolute.phi,revolute.w) * 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 (173): * Single equations (assignments): 169 * Array equations: 3 * 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 Backend phase and start with SimCode phase: time 0.0008146/1.452, allocations: 224.2 kB / 0.8484 GB, free: 84.57 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.01206/1.464, allocations: 8.258 MB / 0.8565 GB, free: 76.32 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 7.854e-06/1.464, allocations: 0 / 0.8565 GB, free: 76.32 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.003953/1.468, allocations: 3.113 MB / 0.8595 GB, free: 73.2 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004215/1.472, allocations: 0.5032 MB / 0.86 GB, free: 72.7 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02221/1.494, allocations: 16.24 MB / 0.8759 GB, free: 56.42 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004006/1.498, allocations: 4.076 MB / 0.8798 GB, free: 52.32 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001302/1.499, allocations: 339.4 kB / 0.8802 GB, free: 51.98 MB / 0.545 GB Notification: Performance of SimCode: time 9.01e-07/1.499, allocations: 0 / 0.8802 GB, free: 51.98 MB / 0.545 GB Notification: Performance of Templates: time 0.3887/1.888, allocations: 100 MB / 0.9778 GB, free: 141.6 MB / 0.545 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUSP2.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUSP2.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUSP2.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUSP2.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUSP2.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUSP2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUSP2.pipe 2>&1)