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.001102/0.001102, allocations: 169.8 kB / 12.72 MB, free: 2.594 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.378/1.378, allocations: 170.6 MB / 183.8 MB, free: 11.43 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.001642/0.001642, allocations: 99.53 kB / 223.2 MB, free: 4.051 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.1777/0.1777, allocations: 37.99 MB / 300.4 MB, free: 5.352 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.017e-05/3.019e-05, allocations: 0 / 357 MB, free: 32.34 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08511/0.08516, allocations: 48.71 MB / 405.7 MB, free: 15.66 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3422/0.4274, allocations: 96.08 MB / 0.49 GB, free: 16.3 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002238/0.4276, allocations: 71 kB / 0.4901 GB, free: 16.29 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3116/0.7392, allocations: 126.4 MB / 0.6135 GB, free: 4.715 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.134e-06/0.7393, allocations: 0 / 0.6135 GB, free: 4.715 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0003147/0.7396, allocations: 116 kB / 0.6136 GB, free: 4.602 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.2655/1.005, allocations: 6.325 MB / 0.6198 GB, free: 72.37 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.184e-05/1.005, allocations: 8.938 kB / 0.6198 GB, free: 72.37 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03379/1.039, allocations: 8.316 MB / 0.6279 GB, free: 71.95 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0196/1.059, allocations: 7.361 MB / 0.6351 GB, free: 71.57 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004029/1.059, allocations: 450.2 kB / 0.6356 GB, free: 71.56 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002965/1.062, allocations: 0.5922 MB / 0.6361 GB, free: 71.56 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02813/1.09, allocations: 15.59 MB / 0.6514 GB, free: 68.41 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002207/1.09, allocations: 85.5 kB / 0.6514 GB, free: 68.4 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001112/1.092, allocations: 281 kB / 0.6517 GB, free: 68.4 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001697/1.093, allocations: 1.614 MB / 0.6533 GB, free: 68.39 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02575/1.119, allocations: 13.79 MB / 0.6668 GB, free: 68.33 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07/1.189, allocations: 63.99 MB / 0.7292 GB, free: 40.3 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01201/1.201, allocations: 6.419 MB / 0.7355 GB, free: 35.41 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003754/1.205, allocations: 3.532 MB / 0.739 GB, free: 32.15 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01759/1.223, allocations: 14.43 MB / 0.7531 GB, free: 19.32 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.058e-05/1.223, allocations: 60.56 kB / 0.7531 GB, free: 19.25 MB / 442.7 MB Notification: Performance of pre-optimization done (n=289): time 5.37e-06/1.223, allocations: 0 / 0.7531 GB, free: 19.25 MB / 442.7 MB Notification: Performance of matching and sorting (n=339): time 0.09287/1.315, allocations: 30.25 MB / 0.7827 GB, free: 11.63 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001162/1.316, allocations: 214 kB / 0.7829 GB, free: 11.38 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008147/1.324, allocations: 4.776 MB / 0.7875 GB, free: 6.617 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0007523/1.325, allocations: 69.7 kB / 0.7876 GB, free: 6.543 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003365/1.328, allocations: 4.425 MB / 0.7919 GB, free: 2.125 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002191/1.33, allocations: 1.251 MB / 0.7931 GB, free: 0.8828 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001042/1.331, allocations: 175.9 kB / 0.7933 GB, free: 0.7148 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0007339/1.332, allocations: 0.678 MB / 0.794 GB, free: 28 kB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.2697/1.602, allocations: 4.483 MB / 0.7983 GB, free: 99.33 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01062/1.612, allocations: 9.422 MB / 0.8075 GB, free: 93.01 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01096/1.623, allocations: 6.422 MB / 0.8138 GB, free: 92.95 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003077/1.624, allocations: 50.03 kB / 0.8139 GB, free: 92.95 MB / 458.7 MB Notification: Performance of matching and sorting (n=1149) (initialization): time 0.04359/1.667, allocations: 18.55 MB / 0.832 GB, free: 92.31 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003646/1.668, allocations: 85 kB / 0.8321 GB, free: 92.31 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003546/1.668, allocations: 170.8 kB / 0.8322 GB, free: 92.31 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02052/1.689, allocations: 5.633 MB / 0.8377 GB, free: 92.3 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007581/1.696, allocations: 2.054 MB / 0.8397 GB, free: 92.12 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02729/1.723, allocations: 23.64 MB / 0.8628 GB, free: 82.32 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008902/1.732, allocations: 0.5431 MB / 0.8633 GB, free: 82.19 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002351/1.735, allocations: 0.4977 MB / 0.8638 GB, free: 82.12 MB / 458.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 () * 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.003468/1.738, allocations: 0.7496 MB / 0.8646 GB, free: 81.62 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00154/1.74, allocations: 0.4942 MB / 0.865 GB, free: 81.62 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03112/1.771, allocations: 12.35 MB / 0.8771 GB, free: 77.77 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.007e-05/1.771, allocations: 58.88 kB / 0.8771 GB, free: 77.76 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.12e-05/1.771, allocations: 9.719 kB / 0.8772 GB, free: 77.76 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.669e-05/1.771, allocations: 18.42 kB / 0.8772 GB, free: 77.76 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04676/1.818, allocations: 23.96 MB / 0.9006 GB, free: 62.87 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.524e-05/1.818, allocations: 12 kB / 0.9006 GB, free: 62.86 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002913/1.821, allocations: 0.5707 MB / 0.9011 GB, free: 62.42 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01759/1.839, allocations: 4.637 MB / 0.9057 GB, free: 59.71 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007889/1.839, allocations: 56 kB / 0.9057 GB, free: 59.65 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02002/1.86, allocations: 18.93 MB / 0.9242 GB, free: 43.05 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.328e-06/1.86, allocations: 4 kB / 0.9242 GB, free: 43.04 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02924/1.889, allocations: 17.38 MB / 0.9412 GB, free: 25.59 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003558/1.892, allocations: 1.22 MB / 0.9424 GB, free: 24.36 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001267/1.894, allocations: 55.05 kB / 0.9424 GB, free: 24.3 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003139/1.897, allocations: 251.6 kB / 0.9427 GB, free: 24.06 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006918/1.898, allocations: 197.6 kB / 0.9429 GB, free: 23.86 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002691/1.898, allocations: 87.98 kB / 0.9429 GB, free: 23.78 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.005225/1.903, allocations: 3.314 MB / 0.9462 GB, free: 20.48 MB / 458.7 MB Notification: Performance of sort global known variables: time 3.11e-07/1.903, allocations: 0 / 0.9462 GB, free: 20.48 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.007641/1.911, allocations: 1.709 MB / 0.9479 GB, free: 18.79 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 () * 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.0006968/1.911, allocations: 210.5 kB / 0.9481 GB, free: 18.59 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.2502/2.162, allocations: 10.38 MB / 0.9582 GB, free: 89.09 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 9.498e-06/2.162, allocations: 0 / 0.9582 GB, free: 89.09 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005711/2.167, allocations: 3.936 MB / 0.962 GB, free: 88.94 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003356/2.171, allocations: 0.5844 MB / 0.9626 GB, free: 88.92 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02884/2.2, allocations: 13.5 MB / 0.9758 GB, free: 86.66 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007326/2.207, allocations: 4.748 MB / 0.9804 GB, free: 85.81 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.007339/2.214, allocations: 2.994 MB / 0.9833 GB, free: 85.76 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0015/2.216, allocations: 351.8 kB / 0.9837 GB, free: 85.75 MB / 458.7 MB Notification: Performance of SimCode: time 1.193e-06/2.216, allocations: 0 / 0.9837 GB, free: 85.75 MB / 458.7 MB Notification: Performance of Templates: time 0.1075/2.324, allocations: 73.51 MB / 1.055 GB, free: 61.45 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)