Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical.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.SphericalSpherical,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical") translateModel(ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.005782/0.005782, allocations: 174.9 kB / 15.12 MB, free: 5.973 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.501/1.501, allocations: 194.5 MB / 210.3 MB, free: 7.543 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.001645/0.001646, allocations: 116.6 kB / 255.6 MB, free: 10.14 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.1582/0.1582, allocations: 40.01 MB / 340.8 MB, free: 11.38 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004288/0.0004288, allocations: 14.89 kB / 406.2 MB, free: 51.84 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1301/0.1306, allocations: 54.87 MB / 461 MB, free: 3.312 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5171/0.6477, allocations: 100.3 MB / 0.5481 GB, free: 21.79 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003389/0.6481, allocations: 83.67 kB / 0.5482 GB, free: 21.79 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2344/0.8825, allocations: 94.69 MB / 0.6407 GB, free: 2.887 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.996e-06/0.8826, allocations: 0 / 0.6407 GB, free: 2.887 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0004451/0.883, allocations: 88 kB / 0.6408 GB, free: 2.801 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1535 * Number of variables: 1535 Notification: Performance of Generate backend data structure: time 0.0211/0.9041, allocations: 5.016 MB / 0.6457 GB, free: 13.7 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.949e-05/0.9042, allocations: 12.03 kB / 0.6457 GB, free: 13.69 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02775/0.932, allocations: 6.729 MB / 0.6522 GB, free: 6.945 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02055/0.9526, allocations: 6.329 MB / 0.6584 GB, free: 0.5547 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004302/0.9531, allocations: 328.6 kB / 0.6587 GB, free: 236 kB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003114/0.9562, allocations: 443.5 kB / 0.6592 GB, free: 15.8 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02913/0.9853, allocations: 11.05 MB / 0.6699 GB, free: 3.723 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000548/0.9859, allocations: 63.38 kB / 0.67 GB, free: 3.66 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002323/0.9883, allocations: 207.9 kB / 0.6702 GB, free: 3.457 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00168/0.99, allocations: 1.015 MB / 0.6712 GB, free: 2.434 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02347/1.013, allocations: 9.295 MB / 0.6803 GB, free: 9.117 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4156/1.429, allocations: 47.55 MB / 0.7267 GB, free: 82.02 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01241/1.442, allocations: 4.139 MB / 0.7307 GB, free: 81.35 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01633/1.458, allocations: 7.509 MB / 0.7381 GB, free: 78.95 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.921e-05/1.458, allocations: 53.94 kB / 0.7381 GB, free: 78.91 MB / 490.7 MB Notification: Performance of pre-optimization done (n=180): time 6.432e-06/1.458, allocations: 0 / 0.7381 GB, free: 78.91 MB / 490.7 MB Notification: Performance of matching and sorting (n=236): time 0.1583/1.617, allocations: 41.03 MB / 0.7782 GB, free: 75.79 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.04e-05/1.617, allocations: 217.2 kB / 0.7784 GB, free: 75.57 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006092/1.623, allocations: 3.791 MB / 0.7821 GB, free: 75.2 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006732/1.623, allocations: 60.02 kB / 0.7822 GB, free: 75.17 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002213/1.626, allocations: 3.226 MB / 0.7853 GB, free: 73.62 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001212/1.627, allocations: 0.8749 MB / 0.7862 GB, free: 73.11 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003508/1.627, allocations: 125.3 kB / 0.7863 GB, free: 73.11 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.000322/1.628, allocations: 0.5683 MB / 0.7869 GB, free: 72.8 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004281/1.632, allocations: 3.422 MB / 0.7902 GB, free: 72.78 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006045/1.638, allocations: 7.025 MB / 0.7971 GB, free: 67.79 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006387/1.644, allocations: 4.76 MB / 0.8017 GB, free: 65.95 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.498e-05/1.645, allocations: 35.56 kB / 0.8017 GB, free: 65.95 MB / 490.7 MB Notification: Performance of matching and sorting (n=820) (initialization): time 0.03684/1.681, allocations: 15.44 MB / 0.8168 GB, free: 57.82 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002469/1.682, allocations: 60 kB / 0.8169 GB, free: 57.76 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000319/1.682, allocations: 128 kB / 0.817 GB, free: 57.63 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0214/1.703, allocations: 5.934 MB / 0.8228 GB, free: 54.07 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005686/1.709, allocations: 1.424 MB / 0.8242 GB, free: 52.84 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03133/1.741, allocations: 25.72 MB / 0.8493 GB, free: 28.71 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006973/1.748, allocations: 395.3 kB / 0.8497 GB, free: 28.32 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001783/1.749, allocations: 376.7 kB / 0.85 GB, free: 27.96 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 578 * Number of states: 0 () * Number of discrete variables: 39 (b3.color[3],b3.color[2],b3.color[1],sphericalSpherical.massColor[3],sphericalSpherical.massColor[2],sphericalSpherical.massColor[1],sphericalSpherical.sphereColor[3],sphericalSpherical.sphereColor[2],sphericalSpherical.sphereColor[1],sphericalSpherical.rodColor[3],sphericalSpherical.rodColor[2],sphericalSpherical.rodColor[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 (743): * Single equations (assignments): 738 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(3,100.0%) 51} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.006508/1.756, allocations: 2.226 MB / 0.8522 GB, free: 25.72 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001438/1.757, allocations: 390.9 kB / 0.8526 GB, free: 25.34 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02712/1.785, allocations: 10.83 MB / 0.8631 GB, free: 14.48 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.515e-05/1.785, allocations: 24 kB / 0.8632 GB, free: 14.45 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.595e-05/1.785, allocations: 12 kB / 0.8632 GB, free: 14.44 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.014e-05/1.785, allocations: 11.77 kB / 0.8632 GB, free: 14.43 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04977/1.834, allocations: 20.19 MB / 0.8829 GB, free: 9.801 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.998e-05/1.835, allocations: 8 kB / 0.8829 GB, free: 9.793 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002368/1.837, allocations: 383.4 kB / 0.8833 GB, free: 9.418 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01981/1.857, allocations: 4.992 MB / 0.8882 GB, free: 4.41 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000764/1.858, allocations: 45.17 kB / 0.8882 GB, free: 4.367 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03104/1.889, allocations: 20.88 MB / 0.9086 GB, free: 15.23 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.298e-06/1.889, allocations: 11.94 kB / 0.9086 GB, free: 15.22 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03381/1.923, allocations: 14.59 MB / 0.9229 GB, free: 344 kB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.3213/2.244, allocations: 0.9596 MB / 0.9238 GB, free: 150.2 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00164/2.246, allocations: 34.81 kB / 0.9238 GB, free: 150.2 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003146/2.249, allocations: 168.8 kB / 0.924 GB, free: 150.2 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007019/2.25, allocations: 157.3 kB / 0.9241 GB, free: 150.2 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002469/2.25, allocations: 61.25 kB / 0.9242 GB, free: 150.2 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.006979/2.257, allocations: 2.683 MB / 0.9268 GB, free: 150 MB / 0.5261 GB Notification: Performance of sort global known variables: time 5.61e-07/2.257, allocations: 1.125 kB / 0.9268 GB, free: 150 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.009645/2.266, allocations: 1.323 MB / 0.9281 GB, free: 150 MB / 0.5261 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 (167): * Single equations (assignments): 162 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(3,100.0%) 45} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009437/2.267, allocations: 187.9 kB / 0.9283 GB, free: 150 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.01618/2.284, allocations: 7.949 MB / 0.936 GB, free: 149.8 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.353e-05/2.284, allocations: 1.188 kB / 0.936 GB, free: 149.8 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.005586/2.289, allocations: 3.115 MB / 0.9391 GB, free: 149.6 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004223/2.294, allocations: 489.7 kB / 0.9396 GB, free: 149.6 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02717/2.321, allocations: 13.4 MB / 0.9526 GB, free: 145 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004039/2.325, allocations: 3.601 MB / 0.9562 GB, free: 144.2 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.005403/2.33, allocations: 1.961 MB / 0.9581 GB, free: 144.2 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001061/2.331, allocations: 266.5 kB / 0.9583 GB, free: 144.2 MB / 0.5261 GB Notification: Performance of SimCode: time 1.573e-06/2.331, allocations: 0 / 0.9583 GB, free: 144.2 MB / 0.5261 GB Notification: Performance of Templates: time 0.1028/2.434, allocations: 63.67 MB / 1.021 GB, free: 122.8 MB / 0.5261 GB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical.sim & ./ModelicaTest_3.2.2_ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical.pipe 2>&1)