Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_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.2+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+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.2_ModelicaTest.MultiBody.Joints.JointUSP2") translateModel(ModelicaTest.MultiBody.Joints.JointUSP2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_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.001501/0.0015, allocations: 111.3 kB / 15.23 MB, free: 0.6562 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.001788/0.001788, allocations: 193.5 kB / 16.14 MB, free: 6.668 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.859/1.859, allocations: 205.1 MB / 222 MB, free: 4.715 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.4803/0.4803, allocations: 39.93 MB / 309.3 MB, free: 9.414 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.2. 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.001723/0.001724, allocations: 66.5 kB / 376.9 MB, free: 13.13 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1648/0.1665, allocations: 56.88 MB / 433.8 MB, free: 4.145 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointUSP2): time 0.3864/0.5529, allocations: 48.23 MB / 482 MB, free: 25.22 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.03091/0.5839, allocations: 10.71 MB / 492.7 MB, free: 18.11 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0185/0.6025, allocations: 210 kB / 493 MB, free: 18.08 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008984/0.6116, allocations: 3.988 MB / 496.9 MB, free: 16.23 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00838/0.62, allocations: 2.071 MB / 499 MB, free: 15.3 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004447/0.6245, allocations: 1.082 MB / 0.4884 GB, free: 14.85 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0164/0.6409, allocations: 8.035 MB / 0.4962 GB, free: 12.52 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01378/0.6548, allocations: 5.067 MB / 0.5012 GB, free: 10.7 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00763/0.6624, allocations: 1.934 MB / 0.5031 GB, free: 9.945 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008712/0.6712, allocations: 3.131 MB / 0.5061 GB, free: 8.887 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003991/0.6752, allocations: 344.3 kB / 0.5064 GB, free: 8.887 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007969/0.6832, allocations: 1.579 MB / 0.508 GB, free: 8.527 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.007122/0.6904, allocations: 2.552 MB / 0.5105 GB, free: 7.43 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01093/0.7014, allocations: 2.869 MB / 0.5133 GB, free: 5.297 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01831/0.7197, allocations: 9.56 MB / 0.5226 GB, free: 14.06 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.636e-06/0.7198, allocations: 0 / 0.5226 GB, free: 14.06 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.014e-06/0.7198, allocations: 0 / 0.5226 GB, free: 14.06 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0006974/0.7205, allocations: 0 / 0.5226 GB, free: 14.06 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.02832/0.7488, allocations: 6.538 MB / 0.529 GB, free: 7.449 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.677e-05/0.7489, allocations: 12.03 kB / 0.529 GB, free: 7.438 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0187/0.7676, allocations: 2.708 MB / 0.5317 GB, free: 4.719 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01056/0.7782, allocations: 3.736 MB / 0.5353 GB, free: 0.9219 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004041/0.7787, allocations: 342.4 kB / 0.5356 GB, free: 0.5781 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002472/0.7811, allocations: 439.6 kB / 0.536 GB, free: 152 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02901/0.8102, allocations: 13.84 MB / 0.5496 GB, free: 1.453 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000166/0.8104, allocations: 55.53 kB / 0.5496 GB, free: 1.398 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006258/0.811, allocations: 195.8 kB / 0.5498 GB, free: 1.207 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003604/0.8146, allocations: 2.414 MB / 0.5522 GB, free: 14.79 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0262/0.8408, allocations: 11.76 MB / 0.5636 GB, free: 3.008 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.07512/0.916, allocations: 51.79 MB / 0.6142 GB, free: 13.76 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01359/0.9296, allocations: 4.735 MB / 0.6189 GB, free: 8.875 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004243/0.9339, allocations: 2.948 MB / 0.6217 GB, free: 5.91 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.3502/1.284, allocations: 12.87 MB / 0.6343 GB, free: 140.6 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.321e-05/1.284, allocations: 58.81 kB / 0.6344 GB, free: 140.6 MB / 494.1 MB Notification: Performance of pre-optimization done (n=197): time 6.201e-06/1.284, allocations: 0 / 0.6344 GB, free: 140.6 MB / 494.1 MB Notification: Performance of matching and sorting (n=248): time 0.1651/1.449, allocations: 43.45 MB / 0.6768 GB, free: 129.3 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000169/1.45, allocations: 233.1 kB / 0.677 GB, free: 129.1 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01068/1.46, allocations: 4.795 MB / 0.6817 GB, free: 127.3 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.001033/1.461, allocations: 65.3 kB / 0.6817 GB, free: 127.3 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003223/1.465, allocations: 3.839 MB / 0.6855 GB, free: 124.3 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001704/1.466, allocations: 0.9389 MB / 0.6864 GB, free: 123.6 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002576/1.469, allocations: 1.51 MB / 0.6879 GB, free: 122.9 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 8.101e-05/1.469, allocations: 304.8 kB / 0.6882 GB, free: 122.6 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004758/1.474, allocations: 3.443 MB / 0.6915 GB, free: 120.1 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00748/1.481, allocations: 7.705 MB / 0.6991 GB, free: 110.4 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01346/1.495, allocations: 11.87 MB / 0.7107 GB, free: 96.48 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001669/1.495, allocations: 44 kB / 0.7107 GB, free: 96.43 MB / 494.1 MB Notification: Performance of matching and sorting (n=967) (initialization): time 0.03002/1.525, allocations: 14.47 MB / 0.7248 GB, free: 81.94 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001261/1.525, allocations: 68 kB / 0.7249 GB, free: 81.87 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001773/1.525, allocations: 152.2 kB / 0.725 GB, free: 81.72 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01123/1.537, allocations: 4.018 MB / 0.729 GB, free: 77.7 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005657/1.542, allocations: 1.641 MB / 0.7306 GB, free: 76.05 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02353/1.566, allocations: 18.68 MB / 0.7488 GB, free: 57.25 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008427/1.574, allocations: 463.3 kB / 0.7493 GB, free: 56.8 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002105/1.577, allocations: 432 kB / 0.7497 GB, free: 56.38 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.007248/1.584, allocations: 2.666 MB / 0.7523 GB, free: 53.7 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001463/1.585, allocations: 427 kB / 0.7527 GB, free: 53.28 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01718/1.603, allocations: 8.641 MB / 0.7611 GB, free: 44.61 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.361e-05/1.603, allocations: 27.59 kB / 0.7611 GB, free: 44.59 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.071e-05/1.603, allocations: 12 kB / 0.7612 GB, free: 44.57 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.513e-05/1.603, allocations: 15.95 kB / 0.7612 GB, free: 44.56 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03467/1.637, allocations: 17.91 MB / 0.7787 GB, free: 26.63 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.024e-05/1.638, allocations: 0.8438 kB / 0.7787 GB, free: 26.63 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002157/1.64, allocations: 399.4 kB / 0.779 GB, free: 26.24 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01115/1.651, allocations: 4.077 MB / 0.783 GB, free: 22.16 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006395/1.652, allocations: 43.98 kB / 0.7831 GB, free: 22.11 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0217/1.673, allocations: 17.11 MB / 0.7998 GB, free: 4.867 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.53e-06/1.673, allocations: 7.938 kB / 0.7998 GB, free: 4.859 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3471/2.02, allocations: 13.21 MB / 0.8127 GB, free: 143.1 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003128/2.024, allocations: 0.9625 MB / 0.8136 GB, free: 143 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00103/2.025, allocations: 35.59 kB / 0.8137 GB, free: 143 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002467/2.027, allocations: 223.3 kB / 0.8139 GB, free: 143 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006655/2.028, allocations: 149.9 kB / 0.814 GB, free: 143 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002143/2.028, allocations: 63.7 kB / 0.8141 GB, free: 143 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.004568/2.033, allocations: 3.002 MB / 0.817 GB, free: 142.8 MB / 0.4981 GB Notification: Performance of sort global known variables: time 4.11e-07/2.033, allocations: 0 / 0.817 GB, free: 142.8 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.008244/2.041, allocations: 1.493 MB / 0.8185 GB, free: 142.6 MB / 0.4981 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.0008516/2.042, allocations: 225 kB / 0.8187 GB, free: 142.5 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.01292/2.055, allocations: 8.259 MB / 0.8267 GB, free: 139.6 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 9.568e-06/2.055, allocations: 4 kB / 0.8267 GB, free: 139.6 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.004462/2.059, allocations: 3.111 MB / 0.8298 GB, free: 138.3 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003934/2.063, allocations: 0.4982 MB / 0.8303 GB, free: 138 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03225/2.095, allocations: 15.65 MB / 0.8456 GB, free: 130.1 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0079/2.103, allocations: 4.106 MB / 0.8496 GB, free: 128.6 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.007146/2.111, allocations: 2.193 MB / 0.8517 GB, free: 128.5 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001155/2.112, allocations: 279.9 kB / 0.852 GB, free: 128.5 MB / 0.4981 GB Notification: Performance of SimCode: time 1.022e-06/2.112, allocations: 0 / 0.852 GB, free: 128.5 MB / 0.4981 GB Notification: Performance of Templates: time 0.1107/2.222, allocations: 62.35 MB / 0.9129 GB, free: 87.8 MB / 0.4981 GB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.JointUSP2.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.JointUSP2.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.JointUSP2.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.JointUSP2.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.JointUSP2.sim & ./ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.JointUSP2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.JointUSP2.pipe 2>&1)