Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+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 ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: translateModel(ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal") translateModel(ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.006598/0.006598, allocations: 174.5 kB / 15.12 MB, free: 6.039 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.612/1.612, allocations: 194.5 MB / 210.3 MB, free: 8.516 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001704/0.001703, allocations: 120.6 kB / 255.6 MB, free: 11.12 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.1658/0.1658, allocations: 40 MB / 340.8 MB, free: 11.54 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003921/0.0003921, allocations: 15.09 kB / 406.1 MB, free: 51.95 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.141/0.1414, allocations: 54.88 MB / 461 MB, free: 3.445 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4886/0.6301, allocations: 101.2 MB / 0.549 GB, free: 21.82 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002804/0.6305, allocations: 80.03 kB / 0.5491 GB, free: 21.82 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2501/0.8806, allocations: 103.3 MB / 0.6499 GB, free: 9.586 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.715e-06/0.8807, allocations: 0 / 0.6499 GB, free: 9.586 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0003144/0.881, allocations: 96 kB / 0.65 GB, free: 9.492 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1726 * Number of variables: 1726 Notification: Performance of Generate backend data structure: time 0.0236/0.9046, allocations: 5.69 MB / 0.6556 GB, free: 3.723 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.878e-05/0.9046, allocations: 8.031 kB / 0.6556 GB, free: 3.715 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02719/0.9318, allocations: 6.877 MB / 0.6623 GB, free: 12.82 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02435/0.9562, allocations: 7.531 MB / 0.6696 GB, free: 5.203 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005189/0.9568, allocations: 373.8 kB / 0.67 GB, free: 4.836 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002573/0.9594, allocations: 0.4919 MB / 0.6705 GB, free: 4.344 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02744/0.9869, allocations: 12.33 MB / 0.6825 GB, free: 6.887 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002437/0.9872, allocations: 79.3 kB / 0.6826 GB, free: 6.809 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008739/0.9881, allocations: 235.9 kB / 0.6828 GB, free: 6.578 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001814/0.9899, allocations: 1.133 MB / 0.6839 GB, free: 5.445 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02362/1.014, allocations: 10.27 MB / 0.694 GB, free: 11.15 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4113/1.425, allocations: 55.59 MB / 0.7482 GB, free: 69.45 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01472/1.44, allocations: 5.717 MB / 0.7538 GB, free: 68.78 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01483/1.455, allocations: 8.8 MB / 0.7624 GB, free: 67.23 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.418e-05/1.455, allocations: 55.22 kB / 0.7625 GB, free: 67.19 MB / 490.7 MB Notification: Performance of pre-optimization done (n=206): time 6.863e-06/1.455, allocations: 0 / 0.7625 GB, free: 67.19 MB / 490.7 MB Notification: Performance of matching and sorting (n=265): time 0.1135/1.568, allocations: 35.98 MB / 0.7976 GB, free: 63.54 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001/1.568, allocations: 209.7 kB / 0.7978 GB, free: 63.32 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007687/1.576, allocations: 4.205 MB / 0.8019 GB, free: 62.95 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0008037/1.577, allocations: 62.67 kB / 0.802 GB, free: 62.92 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002902/1.58, allocations: 3.589 MB / 0.8055 GB, free: 61.23 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001474/1.581, allocations: 0.9727 MB / 0.8064 GB, free: 60.51 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005171/1.582, allocations: 138.7 kB / 0.8066 GB, free: 60.41 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0003365/1.582, allocations: 0.5846 MB / 0.8071 GB, free: 59.98 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004166/1.586, allocations: 3.003 MB / 0.8101 GB, free: 58.91 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007492/1.594, allocations: 6.791 MB / 0.8167 GB, free: 52.77 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007472/1.601, allocations: 4.431 MB / 0.821 GB, free: 51.1 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.856e-05/1.602, allocations: 37.53 kB / 0.8211 GB, free: 51.1 MB / 490.7 MB Notification: Performance of matching and sorting (n=876) (initialization): time 0.02713/1.629, allocations: 13.05 MB / 0.8338 GB, free: 45.33 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002161/1.629, allocations: 63.94 kB / 0.8339 GB, free: 45.27 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003098/1.629, allocations: 132 kB / 0.834 GB, free: 45.14 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01179/1.641, allocations: 4.088 MB / 0.838 GB, free: 42.23 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005061/1.646, allocations: 1.423 MB / 0.8394 GB, free: 40.99 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03402/1.68, allocations: 26.89 MB / 0.8656 GB, free: 17.41 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007052/1.687, allocations: 397.2 kB / 0.866 GB, free: 17.08 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001779/1.689, allocations: 405.9 kB / 0.8664 GB, free: 16.7 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 607 * Number of states: 0 () * Number of discrete variables: 39 (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.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 (760): * Single equations (assignments): 754 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(8,50.0%) 50,(2,100.0%) 12} * Non-linear torn systems: 1 {2 21} Notification: Performance of prepare postOptimizeDAE: time 0.007092/1.696, allocations: 2.471 MB / 0.8688 GB, free: 14.53 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00141/1.698, allocations: 446.2 kB / 0.8692 GB, free: 14.09 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01734/1.715, allocations: 8.11 MB / 0.8771 GB, free: 7.785 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.855e-05/1.715, allocations: 33.25 kB / 0.8772 GB, free: 7.754 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.082e-05/1.715, allocations: 12 kB / 0.8772 GB, free: 7.742 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.729e-05/1.715, allocations: 10.92 kB / 0.8772 GB, free: 7.742 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03997/1.755, allocations: 16.7 MB / 0.8935 GB, free: 8.148 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.219e-05/1.755, allocations: 4 kB / 0.8935 GB, free: 8.145 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001943/1.757, allocations: 303.6 kB / 0.8938 GB, free: 7.848 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01151/1.769, allocations: 3.773 MB / 0.8975 GB, free: 4.059 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000745/1.77, allocations: 44 kB / 0.8975 GB, free: 4.016 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3675/2.137, allocations: 25.62 MB / 0.9226 GB, free: 124.6 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.438e-06/2.137, allocations: 8.594 kB / 0.9226 GB, free: 124.6 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02583/2.163, allocations: 12.63 MB / 0.9349 GB, free: 123.1 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003676/2.167, allocations: 0.9462 MB / 0.9358 GB, free: 123 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001402/2.168, allocations: 59.03 kB / 0.9359 GB, free: 123 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002544/2.171, allocations: 166 kB / 0.936 GB, free: 123 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007796/2.172, allocations: 191 kB / 0.9362 GB, free: 123 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000208/2.172, allocations: 75.12 kB / 0.9363 GB, free: 123 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.006514/2.178, allocations: 2.983 MB / 0.9392 GB, free: 122.8 MB / 0.5105 GB Notification: Performance of sort global known variables: time 4.01e-07/2.178, allocations: 0 / 0.9392 GB, free: 122.8 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.01098/2.189, allocations: 1.424 MB / 0.9406 GB, free: 122.8 MB / 0.5105 GB 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 (161): * Single equations (assignments): 155 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(8,50.0%) 43,(2,100.0%) 9} * Non-linear torn systems: 1 {2 25} Notification: Performance of Backend phase and start with SimCode phase: time 0.0008514/2.19, allocations: 191.2 kB / 0.9408 GB, free: 122.8 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.01419/2.204, allocations: 8.13 MB / 0.9487 GB, free: 122.3 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 9.228e-06/2.204, allocations: 4.969 kB / 0.9487 GB, free: 122.3 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.005504/2.21, allocations: 3.473 MB / 0.9521 GB, free: 121.8 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003688/2.214, allocations: 0.5444 MB / 0.9526 GB, free: 121.8 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02423/2.238, allocations: 14.35 MB / 0.9667 GB, free: 116.7 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004804/2.243, allocations: 4.031 MB / 0.9706 GB, free: 115.8 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.005343/2.248, allocations: 2.023 MB / 0.9726 GB, free: 115.8 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008855/2.249, allocations: 279 kB / 0.9728 GB, free: 115.8 MB / 0.5105 GB Notification: Performance of SimCode: time 1.253e-06/2.249, allocations: 3.094 kB / 0.9728 GB, free: 115.8 MB / 0.5105 GB Notification: Performance of Templates: time 0.1114/2.361, allocations: 66.06 MB / 1.037 GB, free: 83.4 MB / 0.5105 GB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.sim & ./ModelicaTest_3.2.2_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.pipe 2>&1)