Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.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.FourbarVariants.SphericalAndUniversal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal") translateModel(ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001171/0.001171, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001155/0.001156, allocations: 194.3 kB / 16.25 MB, free: 6.625 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.47/1.47, allocations: 205.1 MB / 222.1 MB, free: 4.707 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.3684/0.3684, allocations: 37.99 MB / 307.4 MB, free: 10 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.002574/0.002574, allocations: 70.62 kB / 374.7 MB, free: 15.55 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.148/0.1506, allocations: 56.48 MB / 431.2 MB, free: 6.973 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal): time 0.3046/0.4552, allocations: 62.41 MB / 493.6 MB, free: 17.48 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02949/0.4848, allocations: 12.84 MB / 0.4946 GB, free: 8.906 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01848/0.5034, allocations: 275.6 kB / 0.4949 GB, free: 8.863 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006944/0.5104, allocations: 3.601 MB / 0.4984 GB, free: 7.219 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00753/0.5179, allocations: 2.051 MB / 0.5004 GB, free: 6.289 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003108/0.5211, allocations: 1.026 MB / 0.5014 GB, free: 5.832 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.01062/0.5317, allocations: 6.407 MB / 0.5076 GB, free: 3.625 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008192/0.54, allocations: 4.773 MB / 0.5123 GB, free: 1.66 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005011/0.545, allocations: 2.086 MB / 0.5143 GB, free: 0.7695 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005924/0.551, allocations: 3.074 MB / 0.5173 GB, free: 15.66 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002553/0.5535, allocations: 428.1 kB / 0.5177 GB, free: 15.66 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004656/0.5582, allocations: 1.463 MB / 0.5192 GB, free: 15.38 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00453/0.5628, allocations: 2.507 MB / 0.5216 GB, free: 14.48 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.007414/0.5702, allocations: 2.822 MB / 0.5244 GB, free: 12.39 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01187/0.5821, allocations: 8.627 MB / 0.5328 GB, free: 5.066 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.071e-06/0.5822, allocations: 0 / 0.5328 GB, free: 5.066 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.104e-06/0.5822, allocations: 0 / 0.5328 GB, free: 5.066 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0003412/0.5825, allocations: 0 / 0.5328 GB, free: 5.066 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: 1729 * Number of variables: 1729 Notification: Performance of Generate backend data structure: time 0.01588/0.5984, allocations: 6.263 MB / 0.5389 GB, free: 14.73 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.224e-05/0.5985, allocations: 15.89 kB / 0.5389 GB, free: 14.71 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01104/0.6095, allocations: 2.521 MB / 0.5414 GB, free: 12.18 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008542/0.6181, allocations: 4.043 MB / 0.5453 GB, free: 8.086 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002367/0.6184, allocations: 275.9 kB / 0.5456 GB, free: 7.816 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00142/0.6198, allocations: 399.6 kB / 0.546 GB, free: 7.426 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02737/0.6472, allocations: 12 MB / 0.5577 GB, free: 10.64 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003121/0.6476, allocations: 59.44 kB / 0.5578 GB, free: 10.58 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00157/0.6491, allocations: 175.9 kB / 0.5579 GB, free: 10.41 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003595/0.6528, allocations: 2.147 MB / 0.56 GB, free: 8.258 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02106/0.6738, allocations: 10.37 MB / 0.5702 GB, free: 13.88 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06551/0.7394, allocations: 47.53 MB / 0.6166 GB, free: 13.03 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01467/0.7541, allocations: 5.828 MB / 0.6223 GB, free: 7.051 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003823/0.758, allocations: 2.962 MB / 0.6252 GB, free: 4.078 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2958/1.054, allocations: 8.87 MB / 0.6338 GB, free: 145.6 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.335e-05/1.054, allocations: 58.14 kB / 0.6339 GB, free: 145.5 MB / 494.1 MB Notification: Performance of pre-optimization done (n=206): time 6.042e-06/1.054, allocations: 0 / 0.6339 GB, free: 145.5 MB / 494.1 MB Notification: Performance of matching and sorting (n=262): time 0.1177/1.172, allocations: 34.98 MB / 0.668 GB, free: 137.4 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001022/1.172, allocations: 210.1 kB / 0.6682 GB, free: 137.2 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007896/1.18, allocations: 4.796 MB / 0.6729 GB, free: 135.5 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0007742/1.18, allocations: 62.64 kB / 0.673 GB, free: 135.4 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002593/1.183, allocations: 3.544 MB / 0.6764 GB, free: 132.7 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001413/1.184, allocations: 0.9758 MB / 0.6774 GB, free: 132 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001992/1.186, allocations: 1.425 MB / 0.6788 GB, free: 131.3 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 6.937e-05/1.187, allocations: 305.1 kB / 0.6791 GB, free: 131 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004273/1.191, allocations: 3.179 MB / 0.6822 GB, free: 129.9 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005546/1.196, allocations: 7.045 MB / 0.6891 GB, free: 123.5 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01107/1.207, allocations: 10.94 MB / 0.6997 GB, free: 113.9 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001453/1.208, allocations: 40 kB / 0.6998 GB, free: 113.8 MB / 494.1 MB Notification: Performance of matching and sorting (n=914) (initialization): time 0.02479/1.232, allocations: 13.75 MB / 0.7132 GB, free: 100.1 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.792e-05/1.233, allocations: 67.84 kB / 0.7133 GB, free: 99.99 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001009/1.233, allocations: 132 kB / 0.7134 GB, free: 99.86 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01111/1.244, allocations: 4.399 MB / 0.7177 GB, free: 95.45 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004544/1.248, allocations: 1.474 MB / 0.7191 GB, free: 93.97 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0309/1.279, allocations: 29.05 MB / 0.7475 GB, free: 64.53 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006853/1.286, allocations: 408.4 kB / 0.7479 GB, free: 64.13 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00119/1.287, allocations: 409.2 kB / 0.7483 GB, free: 63.73 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 612 * Number of states: 0 () * Number of discrete variables: 42 (Universal1.cylinderColor[3],Universal1.cylinderColor[2],Universal1.cylinderColor[1],FixedTranslation1.color[3],FixedTranslation1.color[2],FixedTranslation1.color[1],spherical.sphereColor[3],spherical.sphereColor[2],spherical.sphereColor[1],b3.color[3],b3.color[2],b3.color[1],b2.color[3],b2.color[2],b2.color[1],b2.body.sphereColor[3],b2.body.sphereColor[2],b2.body.sphereColor[1],b1.color[3],b1.color[2],b1.color[1],b1.body.sphereColor[3],b1.body.sphereColor[2],b1.body.sphereColor[1],j2.boxColor[3],j2.boxColor[2],j2.boxColor[1],j1.cylinderColor[3],j1.cylinderColor[2],j1.cylinderColor[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 (798): * Single equations (assignments): 792 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(8,50,50.0%), (2,12,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,21)} Notification: Performance of prepare postOptimizeDAE: time 0.003936/1.291, allocations: 2.472 MB / 0.7507 GB, free: 61.25 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00106/1.292, allocations: 438.3 kB / 0.7511 GB, free: 60.82 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01428/1.307, allocations: 8.483 MB / 0.7594 GB, free: 52.3 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.556e-05/1.307, allocations: 28 kB / 0.7594 GB, free: 52.27 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.589e-05/1.307, allocations: 16 kB / 0.7594 GB, free: 52.26 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.111e-05/1.307, allocations: 15.95 kB / 0.7595 GB, free: 52.24 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03013/1.337, allocations: 17.1 MB / 0.7762 GB, free: 35.04 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.121e-05/1.337, allocations: 12.12 kB / 0.7762 GB, free: 35.02 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00137/1.338, allocations: 295.5 kB / 0.7764 GB, free: 34.73 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00947/1.348, allocations: 3.972 MB / 0.7803 GB, free: 30.75 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004356/1.348, allocations: 48 kB / 0.7804 GB, free: 30.7 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02928/1.378, allocations: 27.75 MB / 0.8075 GB, free: 2.535 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.682e-06/1.378, allocations: 8 kB / 0.8075 GB, free: 2.527 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2719/1.65, allocations: 12.43 MB / 0.8196 GB, free: 130.5 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003161/1.653, allocations: 0.9596 MB / 0.8206 GB, free: 130.2 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001404/1.654, allocations: 43.06 kB / 0.8206 GB, free: 130.2 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002657/1.657, allocations: 175.7 kB / 0.8208 GB, free: 130.2 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007725/1.658, allocations: 188.4 kB / 0.8209 GB, free: 130.2 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002062/1.658, allocations: 74.38 kB / 0.821 GB, free: 130.1 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.004465/1.662, allocations: 3.039 MB / 0.824 GB, free: 129.1 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.743e-06/1.662, allocations: 0 / 0.824 GB, free: 129.1 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.00864/1.671, allocations: 1.469 MB / 0.8254 GB, free: 129 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 23 * Number of states: 2 (j1.phi,j1.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 (158): * Single equations (assignments): 152 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(8,43,50.0%), (2,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,25)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0007474/1.672, allocations: 190.1 kB / 0.8256 GB, free: 128.9 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.01911/1.691, allocations: 10 MB / 0.8354 GB, free: 125.7 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.756e-05/1.691, allocations: 1.031 kB / 0.8354 GB, free: 125.7 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.007482/1.699, allocations: 3.537 MB / 0.8388 GB, free: 124.1 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007867/1.706, allocations: 0.5677 MB / 0.8394 GB, free: 123.8 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03473/1.741, allocations: 15.03 MB / 0.854 GB, free: 116.1 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01032/1.752, allocations: 3.923 MB / 0.8579 GB, free: 114.7 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.007503/1.759, allocations: 2.011 MB / 0.8598 GB, free: 114.6 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00152/1.761, allocations: 282.5 kB / 0.8601 GB, free: 114.6 MB / 494.1 MB Notification: Performance of SimCode: time 1.333e-06/1.761, allocations: 0 / 0.8601 GB, free: 114.6 MB / 494.1 MB Notification: Performance of Templates: time 0.1192/1.88, allocations: 72.76 MB / 0.9312 GB, free: 55.88 MB / 494.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.sim & ./ModelicaTest_3.2.1_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.pipe 2>&1)