Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_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 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.Joints.JointUSP2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.JointUSP2") translateModel(ModelicaTest.MultiBody.Joints.JointUSP2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_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.00141/0.00141, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001398/0.001398, allocations: 190.6 kB / 16.14 MB, free: 6.652 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.719/1.719, allocations: 205.1 MB / 222 MB, free: 4.754 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.4439/0.4439, allocations: 37.97 MB / 307.3 MB, free: 10.01 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.001427/0.001427, allocations: 62.56 kB / 374.5 MB, free: 15.64 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1626/0.164, allocations: 56.47 MB / 431 MB, free: 7.082 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointUSP2): time 0.3723/0.5364, allocations: 48.23 MB / 479.2 MB, free: 27.45 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.03355/0.57, allocations: 10.72 MB / 490 MB, free: 20.59 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02009/0.5901, allocations: 213.3 kB / 490.2 MB, free: 20.55 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007889/0.5981, allocations: 3.985 MB / 494.2 MB, free: 18.7 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007516/0.6057, allocations: 2.066 MB / 496.2 MB, free: 17.79 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003306/0.609, allocations: 1.076 MB / 497.3 MB, free: 17.33 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0156/0.6246, allocations: 8.039 MB / 0.4935 GB, free: 15 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01039/0.635, allocations: 5.076 MB / 0.4984 GB, free: 13.16 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006373/0.6415, allocations: 1.939 MB / 0.5003 GB, free: 12.41 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007712/0.6492, allocations: 3.134 MB / 0.5034 GB, free: 11.35 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002017/0.6513, allocations: 345.2 kB / 0.5037 GB, free: 11.35 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005314/0.6566, allocations: 1.577 MB / 0.5053 GB, free: 10.99 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00443/0.661, allocations: 2.541 MB / 0.5078 GB, free: 10.15 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006577/0.6676, allocations: 2.871 MB / 0.5106 GB, free: 8.188 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01606/0.6837, allocations: 9.559 MB / 0.5199 GB, free: 1.484 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.305e-06/0.6838, allocations: 0 / 0.5199 GB, free: 1.484 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.6838, allocations: 4 kB / 0.5199 GB, free: 1.48 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0007738/0.6846, allocations: 0 / 0.5199 GB, free: 1.48 MB / 382.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.02697/0.7115, allocations: 6.535 MB / 0.5263 GB, free: 11.62 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.095e-05/0.7116, allocations: 8.031 kB / 0.5263 GB, free: 11.61 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01835/0.73, allocations: 2.716 MB / 0.5289 GB, free: 8.887 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01103/0.7411, allocations: 3.728 MB / 0.5326 GB, free: 5.098 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004243/0.7416, allocations: 346.4 kB / 0.5329 GB, free: 4.75 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002314/0.7439, allocations: 431.7 kB / 0.5333 GB, free: 4.328 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03212/0.776, allocations: 13.85 MB / 0.5468 GB, free: 5.617 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.00018/0.7763, allocations: 55.52 kB / 0.5469 GB, free: 5.562 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006889/0.777, allocations: 199.8 kB / 0.5471 GB, free: 5.367 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003834/0.7808, allocations: 2.41 MB / 0.5494 GB, free: 2.957 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02739/0.8082, allocations: 11.75 MB / 0.5609 GB, free: 7.188 MB / 430.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.0785/0.8868, allocations: 51.79 MB / 0.6115 GB, free: 1.941 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01346/0.9003, allocations: 4.734 MB / 0.6161 GB, free: 13.05 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00497/0.9053, allocations: 2.96 MB / 0.619 GB, free: 10.07 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.3024/1.208, allocations: 12.86 MB / 0.6316 GB, free: 144.4 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.701e-05/1.208, allocations: 53.25 kB / 0.6316 GB, free: 144.3 MB / 494.1 MB Notification: Performance of pre-optimization done (n=197): time 6.412e-06/1.208, allocations: 0 / 0.6316 GB, free: 144.3 MB / 494.1 MB Notification: Performance of matching and sorting (n=248): time 0.1511/1.359, allocations: 43.46 MB / 0.6741 GB, free: 133.6 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.684e-05/1.359, allocations: 232.8 kB / 0.6743 GB, free: 133.3 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007049/1.366, allocations: 4.793 MB / 0.679 GB, free: 131.6 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000729/1.367, allocations: 61.48 kB / 0.679 GB, free: 131.6 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002243/1.369, allocations: 3.844 MB / 0.6828 GB, free: 128.6 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001304/1.37, allocations: 0.9387 MB / 0.6837 GB, free: 127.9 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002113/1.373, allocations: 1.509 MB / 0.6852 GB, free: 127.2 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 6.058e-05/1.373, allocations: 305.1 kB / 0.6855 GB, free: 126.9 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004579/1.377, allocations: 3.44 MB / 0.6888 GB, free: 125.7 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006581/1.384, allocations: 7.705 MB / 0.6963 GB, free: 118.1 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0146/1.398, allocations: 11.87 MB / 0.7079 GB, free: 104.2 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001712/1.399, allocations: 44 kB / 0.708 GB, free: 104.1 MB / 494.1 MB Notification: Performance of matching and sorting (n=967) (initialization): time 0.03118/1.43, allocations: 14.48 MB / 0.7221 GB, free: 89.65 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001557/1.43, allocations: 68 kB / 0.7222 GB, free: 89.59 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002498/1.43, allocations: 152 kB / 0.7223 GB, free: 89.44 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0118/1.442, allocations: 4.025 MB / 0.7263 GB, free: 85.4 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006306/1.448, allocations: 1.634 MB / 0.7279 GB, free: 83.77 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02655/1.475, allocations: 18.68 MB / 0.7461 GB, free: 64.95 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007946/1.483, allocations: 463.4 kB / 0.7465 GB, free: 64.5 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001838/1.485, allocations: 432 kB / 0.747 GB, free: 64.08 MB / 494.1 MB 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.006785/1.492, allocations: 2.654 MB / 0.7495 GB, free: 61.41 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001435/1.493, allocations: 430.4 kB / 0.75 GB, free: 60.98 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01701/1.51, allocations: 8.652 MB / 0.7584 GB, free: 52.31 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.965e-05/1.51, allocations: 24.66 kB / 0.7584 GB, free: 52.29 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.027e-05/1.51, allocations: 12 kB / 0.7584 GB, free: 52.28 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.67e-05/1.51, allocations: 21.06 kB / 0.7585 GB, free: 52.26 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03346/1.544, allocations: 17.9 MB / 0.7759 GB, free: 34.34 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.271e-05/1.544, allocations: 0 / 0.7759 GB, free: 34.34 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002491/1.547, allocations: 399.4 kB / 0.7763 GB, free: 33.95 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01186/1.558, allocations: 4.069 MB / 0.7803 GB, free: 29.87 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007348/1.559, allocations: 55.45 kB / 0.7803 GB, free: 29.82 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02113/1.58, allocations: 17.11 MB / 0.7971 GB, free: 12.57 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.228e-06/1.58, allocations: 7.938 kB / 0.7971 GB, free: 12.57 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3601/1.94, allocations: 13.22 MB / 0.81 GB, free: 130.4 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003596/1.944, allocations: 0.9611 MB / 0.8109 GB, free: 130.3 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001479/1.946, allocations: 33.09 kB / 0.8109 GB, free: 130.3 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003196/1.949, allocations: 213.8 kB / 0.8111 GB, free: 130.3 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007381/1.95, allocations: 148.1 kB / 0.8113 GB, free: 130.3 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002345/1.95, allocations: 62.33 kB / 0.8113 GB, free: 130.3 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.005423/1.955, allocations: 3.003 MB / 0.8143 GB, free: 130.1 MB / 494.1 MB Notification: Performance of sort global known variables: time 4.51e-07/1.955, allocations: 0 / 0.8143 GB, free: 130.1 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.009449/1.965, allocations: 1.498 MB / 0.8157 GB, free: 130.1 MB / 494.1 MB 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.0008942/1.966, allocations: 227.8 kB / 0.816 GB, free: 130 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.01369/1.979, allocations: 8.248 MB / 0.824 GB, free: 127.7 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.092e-05/1.979, allocations: 3.094 kB / 0.824 GB, free: 127.7 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005089/1.984, allocations: 3.107 MB / 0.827 GB, free: 126.4 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005192/1.99, allocations: 0.4978 MB / 0.8275 GB, free: 126.2 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03035/2.02, allocations: 15.66 MB / 0.8428 GB, free: 118.2 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008078/2.028, allocations: 4.107 MB / 0.8468 GB, free: 116.7 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.007521/2.036, allocations: 2.193 MB / 0.849 GB, free: 116.6 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001312/2.037, allocations: 287.7 kB / 0.8493 GB, free: 116.6 MB / 494.1 MB Notification: Performance of SimCode: time 1.242e-06/2.037, allocations: 0 / 0.8493 GB, free: 116.6 MB / 494.1 MB Notification: Performance of Templates: time 0.1124/2.15, allocations: 62.35 MB / 0.9101 GB, free: 77.5 MB / 494.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.JointUSP2.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.JointUSP2.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.JointUSP2.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.JointUSP2.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.JointUSP2.sim & ./ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.JointUSP2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.JointUSP2.pipe 2>&1)