Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+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 ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Running command: translateModel(ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical") translateModel(ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001068/0.001068, allocations: 166.6 kB / 7.636 MB, free: 1.418 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.331/1.331, allocations: 170.7 MB / 178.7 MB, free: 15.58 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001969/0.001969, allocations: 103.5 kB / 218 MB, free: 8.352 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.1809/0.1809, allocations: 37.98 MB / 295.1 MB, free: 9.488 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 1.798e-05/1.8e-05, allocations: 1.062 kB / 350 MB, free: 37.01 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1067/0.1068, allocations: 48.72 MB / 398.7 MB, free: 5.352 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4861/0.5929, allocations: 92.7 MB / 491.4 MB, free: 17.79 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001904/0.5932, allocations: 70.42 kB / 491.5 MB, free: 17.79 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2258/0.819, allocations: 92.86 MB / 0.5707 GB, free: 2.844 MB / 378.7 MB Notification: Performance of FrontEnd: time 5.6e-06/0.8191, allocations: 0 / 0.5707 GB, free: 2.844 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0002877/0.8194, allocations: 91.94 kB / 0.5707 GB, free: 2.754 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1534 * Number of variables: 1534 Notification: Performance of Generate backend data structure: time 0.01586/0.8353, allocations: 4.601 MB / 0.5752 GB, free: 14.08 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.963e-05/0.8354, allocations: 16.03 kB / 0.5752 GB, free: 14.07 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02714/0.8625, allocations: 6.733 MB / 0.5818 GB, free: 7.32 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01849/0.881, allocations: 6.293 MB / 0.588 GB, free: 0.9648 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002729/0.8814, allocations: 139.9 kB / 0.5881 GB, free: 0.8281 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00244/0.8838, allocations: 259.9 kB / 0.5884 GB, free: 0.5742 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01389/0.8977, allocations: 6.576 MB / 0.5948 GB, free: 9.988 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01917/0.917, allocations: 9.558 MB / 0.6041 GB, free: 15.44 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002241/0.9173, allocations: 71.36 kB / 0.6042 GB, free: 15.37 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006505/0.9179, allocations: 35.95 kB / 0.6042 GB, free: 15.34 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001496/0.9194, allocations: 1.015 MB / 0.6052 GB, free: 14.32 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3217/1.241, allocations: 45.91 MB / 0.65 GB, free: 62.64 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004771/1.246, allocations: 3.075 MB / 0.653 GB, free: 61.97 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002339/1.248, allocations: 1.722 MB / 0.6547 GB, free: 61.93 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00163/1.25, allocations: 1.94 MB / 0.6566 GB, free: 60.32 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.66e-05/1.25, allocations: 53.06 kB / 0.6567 GB, free: 60.28 MB / 426.7 MB Notification: Performance of pre-optimization done (n=186): time 4.989e-06/1.25, allocations: 0 / 0.6567 GB, free: 60.28 MB / 426.7 MB Notification: Performance of matching and sorting (n=242): time 0.06198/1.312, allocations: 26.24 MB / 0.6823 GB, free: 57.61 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.644e-05/1.312, allocations: 203.5 kB / 0.6825 GB, free: 57.39 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005084/1.317, allocations: 3.273 MB / 0.6857 GB, free: 56.37 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0007685/1.318, allocations: 33.02 kB / 0.6857 GB, free: 56.34 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002269/1.32, allocations: 3.271 MB / 0.6889 GB, free: 54.16 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001209/1.322, allocations: 0.8705 MB / 0.6898 GB, free: 53.52 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003204/1.322, allocations: 0 / 0.6898 GB, free: 53.52 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0003093/1.322, allocations: 0.5818 MB / 0.6903 GB, free: 53.09 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003679/1.326, allocations: 3.306 MB / 0.6935 GB, free: 51.78 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006123/1.332, allocations: 7.033 MB / 0.7004 GB, free: 45.43 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005743/1.338, allocations: 4.716 MB / 0.705 GB, free: 43.82 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.444e-05/1.338, allocations: 39.06 kB / 0.7051 GB, free: 43.82 MB / 426.7 MB Notification: Performance of matching and sorting (n=852) (initialization): time 0.03443/1.372, allocations: 14.68 MB / 0.7194 GB, free: 39.76 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.254e-05/1.372, allocations: 60.78 kB / 0.7195 GB, free: 39.76 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000138/1.373, allocations: 137.8 kB / 0.7196 GB, free: 39.75 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02122/1.394, allocations: 5.915 MB / 0.7254 GB, free: 38.47 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005223/1.399, allocations: 1.491 MB / 0.7268 GB, free: 37.18 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02537/1.424, allocations: 22.88 MB / 0.7492 GB, free: 17.3 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006596/1.431, allocations: 281.1 kB / 0.7494 GB, free: 17.09 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00138/1.433, allocations: 393.1 kB / 0.7498 GB, free: 16.72 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 605 * 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (775): * Single equations (assignments): 770 * 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.001183/1.434, allocations: 454.3 kB / 0.7502 GB, free: 16.27 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008608/1.435, allocations: 367.2 kB / 0.7506 GB, free: 15.91 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02549/1.46, allocations: 10.57 MB / 0.7609 GB, free: 7.746 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.818e-05/1.46, allocations: 29.8 kB / 0.7609 GB, free: 7.719 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2e-05/1.46, allocations: 11.33 kB / 0.7609 GB, free: 7.711 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.074e-05/1.46, allocations: 16.81 kB / 0.761 GB, free: 7.695 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04276/1.503, allocations: 19.44 MB / 0.7799 GB, free: 3.824 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.702e-05/1.503, allocations: 8 kB / 0.78 GB, free: 3.816 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002258/1.505, allocations: 396 kB / 0.7803 GB, free: 3.43 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.313/1.818, allocations: 4.97 MB / 0.7852 GB, free: 96.62 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007158/1.819, allocations: 10.73 kB / 0.7852 GB, free: 96.62 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02862/1.848, allocations: 18.44 MB / 0.8032 GB, free: 94.09 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.558e-05/1.848, allocations: 9.391 kB / 0.8032 GB, free: 94.09 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02896/1.877, allocations: 14.36 MB / 0.8172 GB, free: 92.74 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002608/1.88, allocations: 0.9301 MB / 0.8181 GB, free: 92.56 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006759/1.88, allocations: 11.12 kB / 0.8182 GB, free: 92.56 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00218/1.882, allocations: 141 kB / 0.8183 GB, free: 92.56 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006307/1.883, allocations: 157.7 kB / 0.8184 GB, free: 92.53 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002136/1.883, allocations: 61.81 kB / 0.8185 GB, free: 92.52 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.003554/1.887, allocations: 2.211 MB / 0.8207 GB, free: 91.69 MB / 442.7 MB Notification: Performance of sort global known variables: time 4.31e-07/1.887, allocations: 2.688 kB / 0.8207 GB, free: 91.69 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.006708/1.894, allocations: 1.164 MB / 0.8218 GB, free: 91.69 MB / 442.7 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (173): * Single equations (assignments): 168 * 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.0005853/1.894, allocations: 150.3 kB / 0.8219 GB, free: 91.6 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0105/1.905, allocations: 7.628 MB / 0.8294 GB, free: 88.87 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 7.795e-06/1.905, allocations: 3.031 kB / 0.8294 GB, free: 88.87 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003676/1.908, allocations: 3.025 MB / 0.8323 GB, free: 87.54 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002551/1.911, allocations: 407.8 kB / 0.8327 GB, free: 87.38 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01704/1.928, allocations: 9.838 MB / 0.8423 GB, free: 83.68 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003537/1.932, allocations: 3.599 MB / 0.8459 GB, free: 82.37 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.004893/1.937, allocations: 2.044 MB / 0.8478 GB, free: 82.32 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009366/1.937, allocations: 262.6 kB / 0.8481 GB, free: 82.31 MB / 442.7 MB Notification: Performance of SimCode: time 1.193e-06/1.937, allocations: 0 / 0.8481 GB, free: 82.31 MB / 442.7 MB Notification: Performance of Templates: time 0.08817/2.026, allocations: 59.24 MB / 0.906 GB, free: 42.53 MB / 442.7 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical.sim & ./ModelicaTest_3.2.1_ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical.pipe 2>&1)