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.0009297/0.0009297, allocations: 100.1 kB / 15.05 MB, free: 1.105 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.0009982/0.0009984, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.52/1.52, allocations: 205.4 MB / 222.1 MB, free: 5.754 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.3454/0.3454, allocations: 39.99 MB / 310.4 MB, free: 9.922 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.0005685/0.0005686, allocations: 15.98 kB / 378.8 MB, free: 12.68 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1245/0.1251, allocations: 57.96 MB / 436.8 MB, free: 2.613 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointUSP2): time 0.2642/0.3893, allocations: 41.26 MB / 478 MB, free: 29.54 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02372/0.413, allocations: 10.52 MB / 488.5 MB, free: 22.41 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.009937/0.423, allocations: 204.8 kB / 488.7 MB, free: 22.38 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006853/0.4299, allocations: 2.018 MB / 490.8 MB, free: 21.71 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02077/0.4507, allocations: 5.9 MB / 496.7 MB, free: 18.89 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003719/0.4544, allocations: 0.9592 MB / 497.6 MB, free: 18.53 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.02262/0.4771, allocations: 14.84 MB / 0.5005 GB, free: 14.13 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01162/0.4888, allocations: 6.253 MB / 0.5066 GB, free: 11.73 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004331/0.4931, allocations: 1.399 MB / 0.5079 GB, free: 11.23 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004127/0.4973, allocations: 1.892 MB / 0.5098 GB, free: 10.41 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00153/0.4989, allocations: 204.1 kB / 0.51 GB, free: 10.4 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003399/0.5023, allocations: 1.163 MB / 0.5111 GB, free: 9.93 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002819/0.5051, allocations: 2.125 MB / 0.5132 GB, free: 8.84 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001933/0.5071, allocations: 1.094 MB / 0.5143 GB, free: 8.078 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009775/0.5169, allocations: 7.899 MB / 0.522 GB, free: 0.4961 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/0.5169, allocations: 0 / 0.522 GB, free: 0.4961 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.045e-06/0.5169, allocations: 0 / 0.522 GB, free: 0.4961 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.000351/0.5173, allocations: 0 / 0.522 GB, free: 0.4961 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.01739/0.5347, allocations: 5.75 MB / 0.5276 GB, free: 10.67 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.611e-05/0.5348, allocations: 8.031 kB / 0.5276 GB, free: 10.66 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.08477/0.6195, allocations: 8.661 MB / 0.536 GB, free: 1.98 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009909/0.6295, allocations: 4.129 MB / 0.5401 GB, free: 13.79 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004405/0.63, allocations: 353.8 kB / 0.5404 GB, free: 13.44 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001733/0.6317, allocations: 431.7 kB / 0.5408 GB, free: 13.02 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02652/0.6583, allocations: 13.97 MB / 0.5545 GB, free: 14.19 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001496/0.6585, allocations: 51.52 kB / 0.5545 GB, free: 14.14 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005792/0.6591, allocations: 203.8 kB / 0.5547 GB, free: 13.94 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003616/0.6627, allocations: 2.406 MB / 0.5571 GB, free: 11.53 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02521/0.6879, allocations: 11.82 MB / 0.5686 GB, free: 15.69 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.0681/0.7561, allocations: 51.69 MB / 0.6191 GB, free: 10.49 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01186/0.7679, allocations: 4.68 MB / 0.6237 GB, free: 5.656 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2415/1.009, allocations: 12.49 MB / 0.6359 GB, free: 139.3 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.024e-05/1.01, allocations: 59.81 kB / 0.6359 GB, free: 139.2 MB / 494.1 MB Notification: Performance of pre-optimization done (n=191): time 5.681e-06/1.01, allocations: 3.516 kB / 0.6359 GB, free: 139.2 MB / 494.1 MB Notification: Performance of matching and sorting (n=242): time 0.1462/1.156, allocations: 42.69 MB / 0.6776 GB, free: 128.2 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.56e-05/1.156, allocations: 242.5 kB / 0.6778 GB, free: 128 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007989/1.164, allocations: 5.032 MB / 0.6827 GB, free: 126.2 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0006457/1.165, allocations: 61.36 kB / 0.6828 GB, free: 126.1 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002369/1.167, allocations: 3.914 MB / 0.6866 GB, free: 123.1 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009692/1.168, allocations: 0.9109 MB / 0.6875 GB, free: 122.4 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002965/1.168, allocations: 143.3 kB / 0.6876 GB, free: 122.3 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0002919/1.169, allocations: 0.6034 MB / 0.6882 GB, free: 121.9 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003893/1.172, allocations: 3.231 MB / 0.6914 GB, free: 120.1 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00566/1.178, allocations: 7.495 MB / 0.6987 GB, free: 110.5 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005617/1.184, allocations: 4.764 MB / 0.7034 GB, free: 105.7 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.05e-05/1.184, allocations: 44 kB / 0.7034 GB, free: 105.7 MB / 494.1 MB Notification: Performance of matching and sorting (n=940) (initialization): time 0.02445/1.208, allocations: 13.79 MB / 0.7169 GB, free: 91.89 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.18e-05/1.208, allocations: 74.44 kB / 0.7169 GB, free: 91.82 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001354/1.209, allocations: 152 kB / 0.7171 GB, free: 91.67 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01019/1.219, allocations: 3.799 MB / 0.7208 GB, free: 87.86 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005283/1.224, allocations: 1.591 MB / 0.7223 GB, free: 86.27 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02234/1.246, allocations: 18.59 MB / 0.7405 GB, free: 67.54 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00722/1.254, allocations: 451.3 kB / 0.7409 GB, free: 67.1 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001138/1.255, allocations: 428 kB / 0.7413 GB, free: 66.68 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 687 * 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 (857): * Single equations (assignments): 853 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 58} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.004735/1.26, allocations: 2.672 MB / 0.744 GB, free: 64 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001108/1.261, allocations: 434.3 kB / 0.7444 GB, free: 63.57 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01501/1.276, allocations: 8.122 MB / 0.7523 GB, free: 55.43 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.215e-05/1.276, allocations: 28 kB / 0.7523 GB, free: 55.4 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.19e-05/1.276, allocations: 14.62 kB / 0.7523 GB, free: 55.39 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.216e-05/1.276, allocations: 15.89 kB / 0.7524 GB, free: 55.37 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03106/1.307, allocations: 17.51 MB / 0.7695 GB, free: 37.8 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.834e-05/1.307, allocations: 4 kB / 0.7695 GB, free: 37.8 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001896/1.309, allocations: 391.4 kB / 0.7698 GB, free: 37.42 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01039/1.319, allocations: 3.827 MB / 0.7736 GB, free: 33.58 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004467/1.32, allocations: 43.98 kB / 0.7736 GB, free: 33.54 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0195/1.339, allocations: 17.02 MB / 0.7902 GB, free: 16.38 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.418e-06/1.339, allocations: 7.953 kB / 0.7902 GB, free: 16.37 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02028/1.36, allocations: 12.63 MB / 0.8026 GB, free: 3.68 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003119/1.363, allocations: 0.9483 MB / 0.8035 GB, free: 2.707 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008764/1.364, allocations: 42.73 kB / 0.8035 GB, free: 2.668 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002469/1.366, allocations: 203.6 kB / 0.8037 GB, free: 2.469 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005503/1.367, allocations: 150.2 kB / 0.8039 GB, free: 2.324 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001876/1.367, allocations: 59.98 kB / 0.8039 GB, free: 2.266 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.005078/1.372, allocations: 3.191 MB / 0.807 GB, free: 15.08 MB / 0.4981 GB Notification: Performance of sort global known variables: time 3.91e-07/1.372, allocations: 0 / 0.807 GB, free: 15.08 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.009105/1.381, allocations: 1.468 MB / 0.8085 GB, free: 13.62 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 (167): * Single equations (assignments): 163 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 52} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009324/1.382, allocations: 218.5 kB / 0.8087 GB, free: 13.41 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.2539/1.636, allocations: 7.848 MB / 0.8164 GB, free: 148.8 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.104e-05/1.636, allocations: 4.75 kB / 0.8164 GB, free: 148.8 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.004308/1.64, allocations: 2.967 MB / 0.8193 GB, free: 148.6 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003054/1.644, allocations: 484.8 kB / 0.8197 GB, free: 148.5 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02525/1.669, allocations: 14.83 MB / 0.8342 GB, free: 142 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005291/1.674, allocations: 4.21 MB / 0.8383 GB, free: 140.5 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.006102/1.68, allocations: 2.186 MB / 0.8404 GB, free: 140.4 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001068/1.681, allocations: 282.4 kB / 0.8407 GB, free: 140.4 MB / 0.4981 GB Notification: Performance of SimCode: time 1.423e-06/1.681, allocations: 4 kB / 0.8407 GB, free: 140.4 MB / 0.4981 GB Notification: Performance of Templates: time 0.1087/1.79, allocations: 59.39 MB / 0.8987 GB, free: 104.1 MB / 0.4981 GB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.JointUSP2.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: