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.002355/0.002355, allocations: 171.3 kB / 7.638 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.401/1.401, allocations: 170.6 MB / 178.7 MB, free: 15.59 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.001595/0.001595, allocations: 99.45 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.2293/0.2293, allocations: 37.98 MB / 295.1 MB, free: 9.496 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 1.817e-05/1.82e-05, allocations: 1.281 kB / 350 MB, free: 37.01 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1066/0.1066, allocations: 48.72 MB / 398.7 MB, free: 5.336 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3811/0.4878, allocations: 95.41 MB / 494.1 MB, free: 17.89 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001828/0.488, allocations: 76.77 kB / 494.2 MB, free: 17.89 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3191/0.8071, allocations: 124 MB / 0.6037 GB, free: 0.6758 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.465e-06/0.8072, allocations: 0 / 0.6037 GB, free: 0.6758 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0004395/0.8076, allocations: 119.9 kB / 0.6038 GB, free: 0.5586 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: 2238 * Number of variables: 2238 Notification: Performance of Generate backend data structure: time 0.02383/0.8315, allocations: 6.321 MB / 0.61 GB, free: 10.16 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.124e-05/0.8316, allocations: 12.03 kB / 0.61 GB, free: 10.15 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03493/0.8665, allocations: 8.31 MB / 0.6181 GB, free: 1.82 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.3087/1.175, allocations: 7.343 MB / 0.6253 GB, free: 74.16 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006528/1.176, allocations: 190.4 kB / 0.6255 GB, free: 74.16 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00404/1.18, allocations: 352.2 kB / 0.6258 GB, free: 74.15 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02316/1.203, allocations: 10.16 MB / 0.6357 GB, free: 74.12 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03414/1.237, allocations: 14.07 MB / 0.6495 GB, free: 71 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004984/1.238, allocations: 72.22 kB / 0.6495 GB, free: 70.99 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003251/1.241, allocations: 38.62 kB / 0.6496 GB, free: 70.99 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002743/1.244, allocations: 1.618 MB / 0.6512 GB, free: 70.98 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0769/1.321, allocations: 61.4 MB / 0.7111 GB, free: 32.49 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007279/1.328, allocations: 5.614 MB / 0.7166 GB, free: 29.48 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00462/1.333, allocations: 3.433 MB / 0.72 GB, free: 28.07 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02217/1.355, allocations: 14.11 MB / 0.7337 GB, free: 20.93 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.648e-05/1.355, allocations: 66.88 kB / 0.7338 GB, free: 20.87 MB / 426.7 MB Notification: Performance of pre-optimization done (n=289): time 6.943e-06/1.355, allocations: 0 / 0.7338 GB, free: 20.87 MB / 426.7 MB Notification: Performance of matching and sorting (n=339): time 0.07481/1.43, allocations: 31.09 MB / 0.7642 GB, free: 14.47 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001304/1.43, allocations: 212.9 kB / 0.7644 GB, free: 14.22 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007973/1.438, allocations: 4.275 MB / 0.7685 GB, free: 10.48 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0009644/1.439, allocations: 25.7 kB / 0.7686 GB, free: 10.45 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003809/1.443, allocations: 4.511 MB / 0.773 GB, free: 6.352 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002074/1.445, allocations: 1.224 MB / 0.7742 GB, free: 5.254 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006832/1.446, allocations: 0 / 0.7742 GB, free: 5.254 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0005331/1.446, allocations: 0.6884 MB / 0.7748 GB, free: 4.664 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006813/1.453, allocations: 4.398 MB / 0.7791 GB, free: 0.6914 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.3337/1.787, allocations: 10.86 MB / 0.7897 GB, free: 78.16 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01074/1.798, allocations: 6.388 MB / 0.796 GB, free: 78.11 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002418/1.798, allocations: 52.66 kB / 0.796 GB, free: 78.11 MB / 442.7 MB Notification: Performance of matching and sorting (n=1197) (initialization): time 0.04595/1.844, allocations: 17.71 MB / 0.8133 GB, free: 77.61 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001676/1.844, allocations: 83.16 kB / 0.8134 GB, free: 77.61 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002306/1.844, allocations: 185.1 kB / 0.8136 GB, free: 77.61 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02107/1.866, allocations: 5.627 MB / 0.8191 GB, free: 77.59 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008399/1.874, allocations: 2.15 MB / 0.8212 GB, free: 77.41 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02528/1.899, allocations: 21.61 MB / 0.8423 GB, free: 72.52 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008915/1.908, allocations: 395.6 kB / 0.8427 GB, free: 72.52 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002399/1.911, allocations: 0.5278 MB / 0.8432 GB, free: 72.45 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 838 * 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1106): * Single equations (assignments): 1098 * 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.003346/1.914, allocations: 0.5603 MB / 0.8437 GB, free: 72.1 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001161/1.915, allocations: 479.5 kB / 0.8442 GB, free: 72.09 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02731/1.943, allocations: 12.11 MB / 0.856 GB, free: 68.39 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001058/1.943, allocations: 53.12 kB / 0.856 GB, free: 68.39 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.941e-05/1.943, allocations: 7.656 kB / 0.8561 GB, free: 68.39 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.676e-05/1.943, allocations: 16.78 kB / 0.8561 GB, free: 68.39 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04614/1.989, allocations: 22.59 MB / 0.8781 GB, free: 59.5 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.172e-05/1.989, allocations: 3.875 kB / 0.8781 GB, free: 59.5 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003305/1.992, allocations: 0.571 MB / 0.8787 GB, free: 59.46 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01766/2.01, allocations: 4.629 MB / 0.8832 GB, free: 58.78 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007143/2.011, allocations: 15.88 kB / 0.8832 GB, free: 58.77 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01907/2.03, allocations: 17.33 MB / 0.9002 GB, free: 43.86 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.989e-06/2.03, allocations: 8 kB / 0.9002 GB, free: 43.85 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03061/2.061, allocations: 17.1 MB / 0.9169 GB, free: 28.17 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003892/2.065, allocations: 1.194 MB / 0.918 GB, free: 26.96 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001518/2.066, allocations: 8 kB / 0.918 GB, free: 26.96 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003607/2.07, allocations: 206.3 kB / 0.9182 GB, free: 26.76 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007086/2.07, allocations: 193.7 kB / 0.9184 GB, free: 26.57 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003066/2.071, allocations: 84 kB / 0.9185 GB, free: 26.49 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.004878/2.076, allocations: 2.845 MB / 0.9213 GB, free: 23.66 MB / 442.7 MB Notification: Performance of sort global known variables: time 5.81e-07/2.076, allocations: 0 / 0.9213 GB, free: 23.66 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.008477/2.084, allocations: 1.493 MB / 0.9227 GB, free: 22.17 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 (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.0006516/2.085, allocations: 160.1 kB / 0.9229 GB, free: 22.01 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0128/2.098, allocations: 10.05 MB / 0.9327 GB, free: 11.98 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.186e-05/2.098, allocations: 8 kB / 0.9327 GB, free: 11.97 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004555/2.102, allocations: 3.859 MB / 0.9365 GB, free: 8.098 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00284/2.105, allocations: 467.4 kB / 0.9369 GB, free: 7.656 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2957/2.401, allocations: 13.36 MB / 0.95 GB, free: 88.23 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008271/2.409, allocations: 4.746 MB / 0.9546 GB, free: 87.38 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.01144/2.421, allocations: 3.11 MB / 0.9576 GB, free: 87.32 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002874/2.424, allocations: 341 kB / 0.958 GB, free: 87.32 MB / 458.7 MB Notification: Performance of SimCode: time 2.996e-06/2.424, allocations: 3.75 kB / 0.958 GB, free: 87.32 MB / 458.7 MB Notification: Performance of Templates: time 0.1172/2.541, allocations: 67.82 MB / 1.024 GB, free: 78.24 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)