Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical.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.UniversalSpherical,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical") translateModel(ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.008157/0.008156, allocations: 165.9 kB / 15.11 MB, free: 5.969 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.597/1.597, allocations: 170.8 MB / 186.6 MB, free: 1.125 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.002595/0.002595, allocations: 115.3 kB / 226.2 MB, free: 10.1 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.3509/0.3509, allocations: 38.05 MB / 303.7 MB, free: 42.36 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004185/0.0004184, allocations: 15.98 kB / 362.9 MB, free: 5.594 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1293/0.1297, allocations: 48.69 MB / 411.6 MB, free: 4.82 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4284/0.5582, allocations: 96.18 MB / 0.4958 GB, free: 7.898 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002719/0.5585, allocations: 71.84 kB / 0.4959 GB, free: 7.863 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6669/1.225, allocations: 126.3 MB / 0.6193 GB, free: 73.05 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.946e-06/1.225, allocations: 0 / 0.6193 GB, free: 73.05 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0004834/1.226, allocations: 116.5 kB / 0.6194 GB, free: 73.04 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: 2238 * Number of variables: 2238 Notification: Performance of Generate backend data structure: time 0.03103/1.257, allocations: 6.787 MB / 0.626 GB, free: 70.44 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.641e-05/1.257, allocations: 8.5 kB / 0.626 GB, free: 70.44 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03602/1.293, allocations: 8.306 MB / 0.6341 GB, free: 70 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02365/1.317, allocations: 7.392 MB / 0.6413 GB, free: 69.18 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006564/1.318, allocations: 456.5 kB / 0.6418 GB, free: 69.16 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005232/1.323, allocations: 0.5865 MB / 0.6423 GB, free: 69.15 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05299/1.376, allocations: 15.72 MB / 0.6577 GB, free: 64.37 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005189/1.376, allocations: 73.86 kB / 0.6578 GB, free: 64.33 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003842/1.38, allocations: 285.7 kB / 0.658 GB, free: 64.18 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00259/1.383, allocations: 1.611 MB / 0.6596 GB, free: 63.88 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0344/1.417, allocations: 14 MB / 0.6733 GB, free: 59.48 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09278/1.51, allocations: 63.99 MB / 0.7358 GB, free: 4.703 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01537/1.526, allocations: 6.465 MB / 0.7421 GB, free: 14.01 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.3333/1.859, allocations: 14.43 MB / 0.7562 GB, free: 84.31 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.469e-05/1.859, allocations: 59.3 kB / 0.7562 GB, free: 84.27 MB / 442.7 MB Notification: Performance of pre-optimization done (n=289): time 9.127e-06/1.859, allocations: 1.125 kB / 0.7562 GB, free: 84.27 MB / 442.7 MB Notification: Performance of matching and sorting (n=339): time 0.1445/2.004, allocations: 42.34 MB / 0.7976 GB, free: 80.43 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000129/2.004, allocations: 216.2 kB / 0.7978 GB, free: 80.21 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00816/2.012, allocations: 4.826 MB / 0.8025 GB, free: 79.8 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0009303/2.013, allocations: 71.48 kB / 0.8026 GB, free: 79.77 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00298/2.016, allocations: 4.415 MB / 0.8069 GB, free: 77.46 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00182/2.018, allocations: 1.254 MB / 0.8081 GB, free: 76.73 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005823/2.018, allocations: 171.5 kB / 0.8083 GB, free: 76.73 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0004153/2.019, allocations: 0.6826 MB / 0.8089 GB, free: 76.41 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005807/2.025, allocations: 4.561 MB / 0.8134 GB, free: 75.94 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009062/2.034, allocations: 9.503 MB / 0.8227 GB, free: 67.7 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008834/2.043, allocations: 6.443 MB / 0.829 GB, free: 65.29 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001294/2.043, allocations: 46.56 kB / 0.829 GB, free: 65.29 MB / 442.7 MB Notification: Performance of matching and sorting (n=1149) (initialization): time 0.04202/2.085, allocations: 18.7 MB / 0.8473 GB, free: 59.36 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001206/2.085, allocations: 81 kB / 0.8473 GB, free: 59.36 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002327/2.085, allocations: 175 kB / 0.8475 GB, free: 59.36 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01992/2.105, allocations: 5.64 MB / 0.853 GB, free: 58.5 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007775/2.113, allocations: 2.06 MB / 0.855 GB, free: 58.26 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02832/2.141, allocations: 24.31 MB / 0.8788 GB, free: 37.69 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01006/2.151, allocations: 0.5454 MB / 0.8793 GB, free: 37.24 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00251/2.154, allocations: 0.5017 MB / 0.8798 GB, free: 36.75 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 790 * Number of states: 0 () * Number of discrete variables: 42 (fixedFrame4.color_x[3],fixedFrame4.color_x[2],fixedFrame4.color_x[1],b3.color[3],b3.color[2],b3.color[1],universalSpherical.cylinderColor[3],universalSpherical.cylinderColor[2],universalSpherical.cylinderColor[1],universalSpherical.sphereColor[3],universalSpherical.sphereColor[2],universalSpherical.sphereColor[1],universalSpherical.rodColor[3],universalSpherical.rodColor[2],universalSpherical.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 (1058): * Single equations (assignments): 1050 * Array equations: 6 * 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 {(2,100.0%) 42} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.01003/2.164, allocations: 3.088 MB / 0.8828 GB, free: 34.02 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001647/2.166, allocations: 0.4962 MB / 0.8833 GB, free: 33.52 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02753/2.193, allocations: 12.42 MB / 0.8954 GB, free: 21.03 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001048/2.193, allocations: 55.98 kB / 0.8955 GB, free: 20.97 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.879e-05/2.193, allocations: 8 kB / 0.8955 GB, free: 20.96 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.317e-05/2.194, allocations: 19.94 kB / 0.8955 GB, free: 20.95 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3326/2.526, allocations: 24.02 MB / 0.919 GB, free: 86.97 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.116e-05/2.526, allocations: 10.5 kB / 0.919 GB, free: 86.97 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003258/2.53, allocations: 0.5733 MB / 0.9195 GB, free: 86.97 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01793/2.547, allocations: 4.646 MB / 0.9241 GB, free: 86.96 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001001/2.549, allocations: 59.55 kB / 0.9241 GB, free: 86.96 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0376/2.586, allocations: 19.57 MB / 0.9432 GB, free: 84.28 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.616e-06/2.586, allocations: 9.188 kB / 0.9432 GB, free: 84.28 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0631/2.649, allocations: 17.49 MB / 0.9603 GB, free: 81.08 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.006521/2.656, allocations: 1.221 MB / 0.9615 GB, free: 80.7 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002979/2.659, allocations: 62.3 kB / 0.9616 GB, free: 80.66 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006903/2.666, allocations: 247.8 kB / 0.9618 GB, free: 80.63 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001562/2.668, allocations: 195.7 kB / 0.962 GB, free: 80.6 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0009729/2.669, allocations: 87.09 kB / 0.9621 GB, free: 80.58 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.008066/2.677, allocations: 3.363 MB / 0.9654 GB, free: 79.48 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.493e-06/2.677, allocations: 0 / 0.9654 GB, free: 79.48 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.01214/2.689, allocations: 1.711 MB / 0.967 GB, free: 79.3 MB / 458.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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (254): * Single equations (assignments): 246 * Array equations: 6 * 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 {(2,100.0%) 38} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001592/2.69, allocations: 210.1 kB / 0.9672 GB, free: 79.18 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.01777/2.708, allocations: 10.5 MB / 0.9775 GB, free: 75.68 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.443e-05/2.708, allocations: 6.188 kB / 0.9775 GB, free: 75.68 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.006542/2.715, allocations: 3.986 MB / 0.9814 GB, free: 74.06 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004921/2.72, allocations: 0.5699 MB / 0.982 GB, free: 73.81 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03401/2.754, allocations: 18.35 MB / 0.9999 GB, free: 64.9 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01028/2.764, allocations: 4.749 MB / 1.005 GB, free: 63.32 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.009842/2.774, allocations: 2.997 MB / 1.007 GB, free: 63.25 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003046/2.777, allocations: 349.6 kB / 1.008 GB, free: 63.23 MB / 458.7 MB Notification: Performance of SimCode: time 2.885e-06/2.777, allocations: 0 / 1.008 GB, free: 63.23 MB / 458.7 MB Notification: Performance of Templates: time 0.1264/2.904, allocations: 73.52 MB / 1.08 GB, free: 5.793 MB / 458.7 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical.sim & ./ModelicaTest_3.2.1_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical.pipe 2>&1)