Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.JointUSP.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.JointUSP,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.JointUSP") translateModel(ModelicaTest.MultiBody.Joints.JointUSP,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.JointUSP") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001826/0.001826, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001774/0.001775, allocations: 197.7 kB / 16.14 MB, free: 6.711 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.818/1.818, allocations: 205.1 MB / 222 MB, free: 4.781 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.4217/0.4217, allocations: 39.92 MB / 309.3 MB, free: 9.59 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.001431/0.001431, allocations: 63.91 kB / 376.9 MB, free: 13.4 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1611/0.1625, allocations: 56.89 MB / 433.8 MB, free: 4.414 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointUSP): time 0.295/0.4576, allocations: 47.52 MB / 481.3 MB, free: 25.68 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02552/0.4832, allocations: 9.307 MB / 490.6 MB, free: 19.6 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01194/0.4952, allocations: 193.3 kB / 490.8 MB, free: 19.58 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006033/0.5013, allocations: 3.347 MB / 494.2 MB, free: 17.99 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003099/0.5044, allocations: 0.882 MB / 495.1 MB, free: 17.52 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001979/0.5064, allocations: 0.6048 MB / 495.7 MB, free: 17.23 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.004351/0.5108, allocations: 3.758 MB / 499.4 MB, free: 16.02 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00548/0.5163, allocations: 4.03 MB / 0.4917 GB, free: 14.53 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002993/0.5194, allocations: 1.222 MB / 0.4928 GB, free: 14.01 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003991/0.5234, allocations: 1.843 MB / 0.4946 GB, free: 13.29 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001435/0.5249, allocations: 264.5 kB / 0.4949 GB, free: 13.28 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002827/0.5277, allocations: 0.8664 MB / 0.4957 GB, free: 13.08 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002809/0.5305, allocations: 1.588 MB / 0.4973 GB, free: 12.51 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004296/0.5348, allocations: 1.857 MB / 0.4991 GB, free: 11.22 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0118/0.5467, allocations: 6.012 MB / 0.505 GB, free: 9.066 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.186e-05/0.5468, allocations: 0 / 0.505 GB, free: 9.066 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.605e-06/0.5468, allocations: 1 kB / 0.505 GB, free: 9.066 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.000372/0.5472, allocations: 0 / 0.505 GB, free: 9.066 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: 1292 * Number of variables: 1292 Notification: Performance of Generate backend data structure: time 0.01809/0.5652, allocations: 4.144 MB / 0.509 GB, free: 6.645 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.283e-05/0.5653, allocations: 9.062 kB / 0.509 GB, free: 6.645 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003351/0.5687, allocations: 0.4914 MB / 0.5095 GB, free: 6.367 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005039/0.5737, allocations: 1.743 MB / 0.5112 GB, free: 5.133 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002531/0.574, allocations: 240.4 kB / 0.5114 GB, free: 5.02 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001202/0.5752, allocations: 320 kB / 0.5118 GB, free: 4.906 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01889/0.5941, allocations: 8.678 MB / 0.5202 GB, free: 16 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.317e-05/0.5943, allocations: 18.38 kB / 0.5202 GB, free: 15.98 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003679/0.5946, allocations: 143.3 kB / 0.5204 GB, free: 15.88 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002662/0.5973, allocations: 1.556 MB / 0.5219 GB, free: 14.49 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0182/0.6155, allocations: 6.712 MB / 0.5285 GB, free: 7.77 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04876/0.6643, allocations: 26.74 MB / 0.5546 GB, free: 12.33 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007206/0.6716, allocations: 2.07 MB / 0.5566 GB, free: 10.23 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001883/0.6735, allocations: 1.029 MB / 0.5576 GB, free: 9.188 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01062/0.6841, allocations: 6.68 MB / 0.5641 GB, free: 1.973 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.954e-05/0.6842, allocations: 51.14 kB / 0.5642 GB, free: 1.914 MB / 430.1 MB Notification: Performance of pre-optimization done (n=81): time 2.615e-06/0.6842, allocations: 0 / 0.5642 GB, free: 1.914 MB / 430.1 MB Notification: Performance of matching and sorting (n=100): time 0.01862/0.7029, allocations: 6.737 MB / 0.5707 GB, free: 11.12 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.802e-05/0.703, allocations: 145.4 kB / 0.5709 GB, free: 10.95 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003614/0.7066, allocations: 2.556 MB / 0.5734 GB, free: 8.375 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001715/0.7068, allocations: 41.7 kB / 0.5734 GB, free: 8.328 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001609/0.7084, allocations: 2.372 MB / 0.5757 GB, free: 5.922 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004231/0.7089, allocations: 403 kB / 0.5761 GB, free: 5.523 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001137/0.71, allocations: 0.7894 MB / 0.5769 GB, free: 4.727 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001504/0.7102, allocations: 305.1 kB / 0.5772 GB, free: 4.426 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002041/0.7122, allocations: 1.136 MB / 0.5783 GB, free: 3.289 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003669/0.7159, allocations: 3.402 MB / 0.5816 GB, free: 14.77 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005796/0.7217, allocations: 4.857 MB / 0.5864 GB, free: 8.789 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.837e-05/0.7218, allocations: 20 kB / 0.5864 GB, free: 8.77 MB / 462.1 MB Notification: Performance of matching and sorting (n=495) (initialization): time 0.007548/0.7293, allocations: 4.449 MB / 0.5907 GB, free: 4.309 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.433e-05/0.7294, allocations: 44.25 kB / 0.5908 GB, free: 4.27 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.426e-05/0.7295, allocations: 80 kB / 0.5908 GB, free: 4.191 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.629e-05/0.7296, allocations: 108 kB / 0.5909 GB, free: 4.086 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00276/0.7324, allocations: 0.9241 MB / 0.5918 GB, free: 3.16 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001204/0.7325, allocations: 159.4 kB / 0.592 GB, free: 3.004 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002673/0.7352, allocations: 187.8 kB / 0.5922 GB, free: 2.82 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003304/0.7355, allocations: 232 kB / 0.5924 GB, free: 2.594 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 365 * Number of states: 0 () * Number of discrete variables: 40 (jointUSP.prismatic.positiveBranch,prism.color[3],prism.color[2],prism.color[1],rRod2.color[3],rRod2.color[2],rRod2.color[1],rRod1.color[3],rRod1.color[2],rRod1.color[1],n2_ia.color[3],n2_ia.color[2],n2_ia.color[1],n1_a.color[3],n1_a.color[2],n1_a.color[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],Fixed1.color[3],Fixed1.color[2],Fixed1.color[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (495): * Single equations (assignments): 495 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003144/0.7387, allocations: 1.581 MB / 0.5939 GB, free: 1 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005289/0.7392, allocations: 225 kB / 0.5942 GB, free: 0.7773 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002062/0.7413, allocations: 1.275 MB / 0.5954 GB, free: 15.5 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.22e-05/0.7413, allocations: 19.94 kB / 0.5954 GB, free: 15.48 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.284e-06/0.7413, allocations: 0 / 0.5954 GB, free: 15.48 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.214e-05/0.7413, allocations: 7.984 kB / 0.5954 GB, free: 15.47 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009811/0.7512, allocations: 6.089 MB / 0.6014 GB, free: 9.062 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.289e-05/0.7512, allocations: 19.98 kB / 0.6014 GB, free: 9.043 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009606/0.7522, allocations: 247.5 kB / 0.6016 GB, free: 8.801 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.339e-05/0.7522, allocations: 24.66 kB / 0.6017 GB, free: 8.777 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001073/0.7523, allocations: 44 kB / 0.6017 GB, free: 8.734 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.641e-05/0.7524, allocations: 39.86 kB / 0.6017 GB, free: 8.695 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.701e-05/0.7524, allocations: 23.88 kB / 0.6018 GB, free: 8.672 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003529/0.7559, allocations: 2.088 MB / 0.6038 GB, free: 6.344 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001096/0.7571, allocations: 321.9 kB / 0.6041 GB, free: 6.008 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003314/0.7574, allocations: 47.98 kB / 0.6041 GB, free: 5.961 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001071/0.7585, allocations: 59.95 kB / 0.6042 GB, free: 5.902 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000175/0.7587, allocations: 127.9 kB / 0.6043 GB, free: 5.777 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.692e-05/0.7588, allocations: 60 kB / 0.6044 GB, free: 5.719 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.002887/0.7617, allocations: 1.667 MB / 0.606 GB, free: 4.043 MB / 478.1 MB Notification: Performance of sort global known variables: time 3.21e-07/0.7617, allocations: 0 / 0.606 GB, free: 4.043 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.004008/0.7657, allocations: 0.6719 MB / 0.6067 GB, free: 3.371 MB / 478.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 75 * Number of states: 0 () * 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 (124): * Single equations (assignments): 124 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005193/0.7662, allocations: 222.6 kB / 0.6069 GB, free: 3.145 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.005993/0.7722, allocations: 2.617 MB / 0.6094 GB, free: 0.5391 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 2.183e-05/0.7723, allocations: 5.875 kB / 0.6094 GB, free: 0.5352 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00123/0.7735, allocations: 0.6776 MB / 0.6101 GB, free: 15.86 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002321/0.7759, allocations: 313.5 kB / 0.6104 GB, free: 15.56 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01931/0.7952, allocations: 8.717 MB / 0.6189 GB, free: 6.59 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003929/0.7992, allocations: 2.746 MB / 0.6216 GB, free: 3.82 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.003364/0.8026, allocations: 1.017 MB / 0.6226 GB, free: 2.797 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004902/0.8031, allocations: 179.4 kB / 0.6228 GB, free: 2.621 MB / 494.1 MB Notification: Performance of SimCode: time 1.052e-06/0.8031, allocations: 0 / 0.6228 GB, free: 2.621 MB / 494.1 MB Notification: Performance of Templates: time 0.2744/1.078, allocations: 20.76 MB / 0.643 GB, free: 145.9 MB / 494.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.JointUSP.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.JointUSP.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.JointUSP.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.JointUSP.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.JointUSP.sim & ./ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.JointUSP -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.JointUSP.pipe 2>&1)