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.0008518/0.000852, allocations: 98.27 kB / 15.36 MB, free: 0.7344 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.005713/0.005713, allocations: 170 kB / 16.27 MB, free: 6.66 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.502/1.502, allocations: 205.4 MB / 222.5 MB, free: 5.559 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.312/0.312, allocations: 38.04 MB / 308.8 MB, free: 10.34 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.0005543/0.0005543, allocations: 19.98 kB / 377.1 MB, free: 14.81 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1351/0.1356, allocations: 57.51 MB / 434.6 MB, free: 5.199 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointUSP2): time 0.2651/0.4008, allocations: 46.94 MB / 481.5 MB, free: 26.5 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02383/0.4247, allocations: 10.64 MB / 492.2 MB, free: 20.71 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0104/0.4351, allocations: 206.3 kB / 492.4 MB, free: 20.68 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001901/0.4371, allocations: 0.5114 MB / 492.9 MB, free: 20.48 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005466/0.4426, allocations: 2.084 MB / 494.9 MB, free: 19.55 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002323/0.4449, allocations: 1.08 MB / 496 MB, free: 19.1 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.008346/0.4533, allocations: 8.034 MB / 0.4922 GB, free: 16.77 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01209/0.4654, allocations: 7.056 MB / 0.4991 GB, free: 13.89 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004946/0.4705, allocations: 1.592 MB / 0.5007 GB, free: 13.3 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005518/0.476, allocations: 2.699 MB / 0.5033 GB, free: 12.46 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001368/0.4774, allocations: 205 kB / 0.5035 GB, free: 12.46 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003663/0.4811, allocations: 1.438 MB / 0.5049 GB, free: 12.1 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003673/0.4848, allocations: 2.332 MB / 0.5072 GB, free: 11.41 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005333/0.4902, allocations: 2.633 MB / 0.5098 GB, free: 9.582 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01315/0.5034, allocations: 9.266 MB / 0.5188 GB, free: 3.668 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.754e-06/0.5034, allocations: 8 kB / 0.5188 GB, free: 3.66 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.355e-06/0.5034, allocations: 0 / 0.5188 GB, free: 3.66 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0005053/0.504, allocations: 2.125 kB / 0.5188 GB, free: 3.66 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.01525/0.5192, allocations: 5.383 MB / 0.5241 GB, free: 15.96 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.729e-05/0.5193, allocations: 12.47 kB / 0.5241 GB, free: 15.95 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01944/0.5388, allocations: 2.78 MB / 0.5268 GB, free: 13.53 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008474/0.5473, allocations: 3.724 MB / 0.5305 GB, free: 9.742 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003509/0.5477, allocations: 358.1 kB / 0.5308 GB, free: 9.383 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001701/0.5494, allocations: 435.6 kB / 0.5312 GB, free: 8.957 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.028/0.5774, allocations: 13.88 MB / 0.5448 GB, free: 10.22 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002013/0.5777, allocations: 55.53 kB / 0.5448 GB, free: 10.16 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007818/0.5785, allocations: 199.8 kB / 0.545 GB, free: 9.969 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003672/0.5821, allocations: 2.406 MB / 0.5474 GB, free: 7.562 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02489/0.607, allocations: 11.81 MB / 0.5589 GB, free: 11.74 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.06648/0.6735, allocations: 51.82 MB / 0.6095 GB, free: 6.477 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01207/0.6857, allocations: 4.737 MB / 0.6141 GB, free: 1.586 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003798/0.6895, allocations: 2.956 MB / 0.617 GB, free: 14.61 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0183/0.7078, allocations: 12.86 MB / 0.6296 GB, free: 1.199 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.381e-05/0.7079, allocations: 67.81 kB / 0.6296 GB, free: 1.125 MB / 494.1 MB Notification: Performance of pre-optimization done (n=197): time 4.759e-06/0.7079, allocations: 3.938 kB / 0.6296 GB, free: 1.121 MB / 494.1 MB Notification: Performance of matching and sorting (n=248): time 0.3927/1.101, allocations: 43.36 MB / 0.672 GB, free: 136.3 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001151/1.101, allocations: 235 kB / 0.6722 GB, free: 136 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007856/1.109, allocations: 4.794 MB / 0.6769 GB, free: 134.3 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0007782/1.109, allocations: 61.55 kB / 0.6769 GB, free: 134.2 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002319/1.112, allocations: 3.838 MB / 0.6807 GB, free: 131.3 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001317/1.113, allocations: 0.9382 MB / 0.6816 GB, free: 130.6 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008085/1.114, allocations: 0.6329 MB / 0.6822 GB, free: 130.3 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 5.581e-05/1.114, allocations: 301.1 kB / 0.6825 GB, free: 130 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004385/1.118, allocations: 3.454 MB / 0.6859 GB, free: 128.8 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006484/1.125, allocations: 7.702 MB / 0.6934 GB, free: 121.8 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01239/1.137, allocations: 11.87 MB / 0.705 GB, free: 108.7 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001357/1.138, allocations: 44 kB / 0.705 GB, free: 108.6 MB / 494.1 MB Notification: Performance of matching and sorting (n=967) (initialization): time 0.0302/1.168, allocations: 14.49 MB / 0.7192 GB, free: 94.12 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.000118/1.168, allocations: 68 kB / 0.7193 GB, free: 94.05 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000154/1.168, allocations: 148 kB / 0.7194 GB, free: 93.91 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01176/1.18, allocations: 4.023 MB / 0.7233 GB, free: 89.88 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005357/1.185, allocations: 1.63 MB / 0.7249 GB, free: 88.25 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.024/1.209, allocations: 18.68 MB / 0.7432 GB, free: 69.43 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008579/1.218, allocations: 455.4 kB / 0.7436 GB, free: 68.98 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001396/1.219, allocations: 438.8 kB / 0.744 GB, free: 68.56 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.004828/1.224, allocations: 2.658 MB / 0.7466 GB, free: 65.89 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001033/1.225, allocations: 426.5 kB / 0.747 GB, free: 65.46 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01733/1.243, allocations: 8.652 MB / 0.7555 GB, free: 56.79 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.866e-05/1.243, allocations: 28 kB / 0.7555 GB, free: 56.76 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.678e-05/1.243, allocations: 12 kB / 0.7555 GB, free: 56.75 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.602e-05/1.243, allocations: 15.81 kB / 0.7555 GB, free: 56.74 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0328/1.276, allocations: 17.91 MB / 0.773 GB, free: 38.82 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.28e-05/1.276, allocations: 0 / 0.773 GB, free: 38.82 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002091/1.278, allocations: 403.4 kB / 0.7734 GB, free: 38.43 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01131/1.289, allocations: 4.077 MB / 0.7774 GB, free: 34.34 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005869/1.29, allocations: 46.83 kB / 0.7774 GB, free: 34.3 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02036/1.31, allocations: 17.11 MB / 0.7941 GB, free: 17.05 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.288e-06/1.31, allocations: 8.016 kB / 0.7941 GB, free: 17.05 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02265/1.333, allocations: 13.22 MB / 0.807 GB, free: 3.797 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002798/1.336, allocations: 0.9678 MB / 0.808 GB, free: 2.805 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001793/1.337, allocations: 40 kB / 0.808 GB, free: 2.766 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003504/1.341, allocations: 215.7 kB / 0.8082 GB, free: 2.555 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007227/1.342, allocations: 154.1 kB / 0.8084 GB, free: 2.406 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002286/1.342, allocations: 60 kB / 0.8084 GB, free: 2.348 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.2414/1.583, allocations: 3.005 MB / 0.8114 GB, free: 147 MB / 0.4981 GB Notification: Performance of sort global known variables: time 8.01e-07/1.583, allocations: 0 / 0.8114 GB, free: 147 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.007107/1.591, allocations: 1.491 MB / 0.8128 GB, free: 147 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.0006477/1.591, allocations: 218.9 kB / 0.813 GB, free: 147 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.01169/1.603, allocations: 8.258 MB / 0.8211 GB, free: 146.4 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 5.59e-06/1.603, allocations: 0 / 0.8211 GB, free: 146.4 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.00364/1.607, allocations: 3.116 MB / 0.8241 GB, free: 145.7 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004015/1.611, allocations: 0.493 MB / 0.8246 GB, free: 145.5 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02183/1.632, allocations: 15.73 MB / 0.84 GB, free: 137.5 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00645/1.639, allocations: 4.103 MB / 0.844 GB, free: 136 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.007073/1.646, allocations: 2.199 MB / 0.8461 GB, free: 135.9 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000977/1.647, allocations: 285.6 kB / 0.8464 GB, free: 135.9 MB / 0.4981 GB Notification: Performance of SimCode: time 1.342e-06/1.647, allocations: 2.297 kB / 0.8464 GB, free: 135.9 MB / 0.4981 GB Notification: Performance of Templates: time 0.08761/1.735, allocations: 61.12 MB / 0.9061 GB, free: 98 MB / 0.4981 GB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.JointUSP2.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: