Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.JointUPS2.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.JointUPS2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.JointUPS2") translateModel(ModelicaTest.MultiBody.Joints.JointUPS2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.JointUPS2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001635/0.001635, 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.001987/0.001987, allocations: 193.5 kB / 16.13 MB, free: 6.699 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.749/1.749, allocations: 205.1 MB / 222 MB, free: 4.766 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.44/0.44, allocations: 37.97 MB / 307.3 MB, free: 10.05 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.001407/0.001407, allocations: 60.55 kB / 374.5 MB, free: 15.66 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1695/0.171, allocations: 56.47 MB / 431 MB, free: 7.09 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointUPS2): time 0.3454/0.5164, allocations: 43.46 MB / 474.5 MB, free: 30.41 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02496/0.5414, allocations: 9.649 MB / 484.1 MB, free: 24.67 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01174/0.5532, allocations: 193.5 kB / 484.3 MB, free: 24.64 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005329/0.5586, allocations: 2.732 MB / 487 MB, free: 23.38 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005377/0.564, allocations: 1.911 MB / 489 MB, free: 22.54 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001986/0.566, allocations: 0.9363 MB / 489.9 MB, free: 22.16 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.007481/0.5735, allocations: 7.195 MB / 497.1 MB, free: 20.07 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005168/0.5787, allocations: 3.345 MB / 0.4887 GB, free: 18.88 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003812/0.5826, allocations: 1.569 MB / 0.4902 GB, free: 18.28 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005341/0.5879, allocations: 2.612 MB / 0.4928 GB, free: 17.43 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001209/0.5892, allocations: 251 kB / 0.493 GB, free: 17.43 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00366/0.5928, allocations: 1.387 MB / 0.4944 GB, free: 17.09 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003123/0.596, allocations: 2.118 MB / 0.4964 GB, free: 16.42 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004007/0.6, allocations: 2.405 MB / 0.4988 GB, free: 14.78 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01212/0.6121, allocations: 7.724 MB / 0.5063 GB, free: 10.92 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.717e-06/0.6122, allocations: 1.406 kB / 0.5063 GB, free: 10.92 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.833e-06/0.6122, allocations: 0 / 0.5063 GB, free: 10.92 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0003826/0.6126, allocations: 0 / 0.5063 GB, free: 10.92 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: 1695 * Number of variables: 1695 Notification: Performance of Generate backend data structure: time 0.02136/0.6339, allocations: 5.762 MB / 0.512 GB, free: 6.992 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.573e-05/0.634, allocations: 11.38 kB / 0.512 GB, free: 6.992 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01787/0.6519, allocations: 2.598 MB / 0.5145 GB, free: 5.738 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008915/0.6609, allocations: 3.266 MB / 0.5177 GB, free: 3.68 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002897/0.6612, allocations: 256.2 kB / 0.518 GB, free: 3.559 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002724/0.6639, allocations: 346.4 kB / 0.5183 GB, free: 3.434 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03139/0.6953, allocations: 12.36 MB / 0.5304 GB, free: 6.652 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003617/0.6958, allocations: 55.44 kB / 0.5304 GB, free: 6.598 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00215/0.698, allocations: 167.8 kB / 0.5306 GB, free: 6.434 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00475/0.7027, allocations: 2.373 MB / 0.5329 GB, free: 4.059 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02692/0.7297, allocations: 10.84 MB / 0.5435 GB, free: 9.195 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07259/0.8023, allocations: 48.83 MB / 0.5911 GB, free: 7.023 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01581/0.8182, allocations: 6.037 MB / 0.597 GB, free: 0.8359 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004624/0.8228, allocations: 3.304 MB / 0.6003 GB, free: 13.52 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02216/0.845, allocations: 13.51 MB / 0.6135 GB, free: 15.68 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.388e-05/0.8451, allocations: 55.81 kB / 0.6135 GB, free: 15.61 MB / 494.1 MB Notification: Performance of pre-optimization done (n=204): time 4.438e-06/0.8451, allocations: 0 / 0.6135 GB, free: 15.61 MB / 494.1 MB Notification: Performance of matching and sorting (n=265): time 0.4074/1.253, allocations: 36.33 MB / 0.649 GB, free: 144.7 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001853/1.253, allocations: 207.4 kB / 0.6492 GB, free: 144.4 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01122/1.264, allocations: 4.386 MB / 0.6535 GB, free: 142.8 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0009856/1.265, allocations: 68.89 kB / 0.6535 GB, free: 142.8 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002387/1.267, allocations: 3.378 MB / 0.6568 GB, free: 140.2 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001869/1.269, allocations: 0.9845 MB / 0.6578 GB, free: 139.5 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004315/1.274, allocations: 1.414 MB / 0.6592 GB, free: 138.8 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.608e-05/1.274, allocations: 306.3 kB / 0.6595 GB, free: 138.5 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006383/1.28, allocations: 3.291 MB / 0.6627 GB, free: 137.4 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01103/1.291, allocations: 7.195 MB / 0.6697 GB, free: 131.1 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02074/1.312, allocations: 11.24 MB / 0.6807 GB, free: 122.5 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003749/1.313, allocations: 43.62 kB / 0.6807 GB, free: 122.5 MB / 494.1 MB Notification: Performance of matching and sorting (n=919) (initialization): time 0.03569/1.348, allocations: 13.28 MB / 0.6937 GB, free: 117.9 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003141/1.349, allocations: 65.59 kB / 0.6938 GB, free: 117.9 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004089/1.349, allocations: 135.8 kB / 0.6939 GB, free: 117.9 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01062/1.36, allocations: 3.408 MB / 0.6972 GB, free: 116.2 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00672/1.366, allocations: 1.571 MB / 0.6988 GB, free: 114.9 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02443/1.391, allocations: 16.38 MB / 0.7148 GB, free: 99.86 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0084/1.399, allocations: 427.4 kB / 0.7152 GB, free: 99.44 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002369/1.402, allocations: 415.4 kB / 0.7156 GB, free: 99.04 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 621 * Number of states: 0 () * Number of discrete variables: 36 (universal.cylinderColor[3],universal.cylinderColor[2],universal.cylinderColor[1],bodyBox.color[3],bodyBox.color[2],bodyBox.color[1],bodyBox.body.sphereColor[3],bodyBox.body.sphereColor[2],bodyBox.body.sphereColor[1],fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[1],body.sphereColor[3],body.sphereColor[2],body.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],jointUPS.cylinderColor[3],jointUPS.cylinderColor[2],jointUPS.cylinderColor[1],jointUPS.sphereColor[3],jointUPS.sphereColor[2],jointUPS.sphereColor[1],jointUPS.axisColor[3],jointUPS.axisColor[2],jointUPS.axisColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (841): * Single equations (assignments): 837 * 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 {(5,50,60.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.008098/1.41, allocations: 2.36 MB / 0.7179 GB, free: 96.67 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002129/1.412, allocations: 398.8 kB / 0.7182 GB, free: 96.27 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01792/1.43, allocations: 8.01 MB / 0.7261 GB, free: 88.24 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.043e-05/1.43, allocations: 28 kB / 0.7261 GB, free: 88.21 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.252e-05/1.43, allocations: 12 kB / 0.7261 GB, free: 88.2 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.932e-05/1.43, allocations: 11.95 kB / 0.7261 GB, free: 88.19 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03799/1.468, allocations: 15.55 MB / 0.7413 GB, free: 72.67 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.721e-05/1.468, allocations: 4.875 kB / 0.7413 GB, free: 72.67 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002317/1.471, allocations: 387.4 kB / 0.7417 GB, free: 72.29 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.009178/1.48, allocations: 3.169 MB / 0.7448 GB, free: 69.11 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009207/1.481, allocations: 40 kB / 0.7448 GB, free: 69.07 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02033/1.501, allocations: 14.66 MB / 0.7591 GB, free: 54.29 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.42e-06/1.501, allocations: 0 / 0.7591 GB, free: 54.29 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02444/1.526, allocations: 12.13 MB / 0.771 GB, free: 42.08 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003999/1.53, allocations: 0.9409 MB / 0.7719 GB, free: 41.11 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002511/1.532, allocations: 36 kB / 0.7719 GB, free: 41.08 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004027/1.536, allocations: 187.7 kB / 0.7721 GB, free: 40.89 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001276/1.538, allocations: 162.2 kB / 0.7723 GB, free: 40.74 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006676/1.538, allocations: 71.92 kB / 0.7723 GB, free: 40.67 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.007337/1.546, allocations: 2.749 MB / 0.775 GB, free: 37.91 MB / 494.1 MB Notification: Performance of sort global known variables: time 8.81e-07/1.546, allocations: 0 / 0.775 GB, free: 37.91 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.01168/1.557, allocations: 1.37 MB / 0.7763 GB, free: 36.55 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 4 (universal.phi_a,universal.phi_b,universal.w_a,universal.w_b) * 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 (197): * Single equations (assignments): 193 * 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 {(5,44,60.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001415/1.559, allocations: 182.5 kB / 0.7765 GB, free: 36.36 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.01672/1.576, allocations: 8.191 MB / 0.7845 GB, free: 28.19 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.306e-05/1.576, allocations: 0 / 0.7845 GB, free: 28.19 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.006638/1.582, allocations: 3.314 MB / 0.7878 GB, free: 24.86 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006964/1.589, allocations: 484.6 kB / 0.7882 GB, free: 24.4 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03007/1.619, allocations: 14.33 MB / 0.8022 GB, free: 10.07 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006986/1.627, allocations: 3.682 MB / 0.8058 GB, free: 6.352 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.226/1.853, allocations: 2.175 MB / 0.8079 GB, free: 132.9 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001559/1.854, allocations: 284.4 kB / 0.8082 GB, free: 132.9 MB / 494.1 MB Notification: Performance of SimCode: time 7.32e-07/1.854, allocations: 0 / 0.8082 GB, free: 132.9 MB / 494.1 MB Notification: Performance of Templates: time 0.1006/1.955, allocations: 58.21 MB / 0.865 GB, free: 118.7 MB / 494.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.JointUPS2.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.JointUPS2.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.JointUPS2.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.JointUPS2.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.JointUPS2.sim & ./ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.JointUPS2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.JointUPS2.pipe 2>&1)