Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.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.SphericalAndUniversal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal") translateModel(ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001062/0.001062, allocations: 169.9 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.261/1.261, allocations: 170.6 MB / 183.8 MB, free: 11.48 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.001714/0.001714, allocations: 107.4 kB / 223.2 MB, free: 4.109 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.1919/0.1919, allocations: 38 MB / 300.4 MB, free: 5.348 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.43e-05/3.439e-05, allocations: 3.984 kB / 357 MB, free: 32.32 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1014/0.1014, allocations: 48.7 MB / 405.7 MB, free: 15.65 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3755/0.4769, allocations: 94.23 MB / 499.9 MB, free: 17.16 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002132/0.4772, allocations: 75.27 kB / 0.4883 GB, free: 17.14 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2948/0.772, allocations: 103.1 MB / 0.589 GB, free: 14.09 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.124e-06/0.7721, allocations: 0 / 0.589 GB, free: 14.09 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0004053/0.7725, allocations: 100 kB / 0.5891 GB, free: 13.99 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: 1723 * Number of variables: 1723 Notification: Performance of Generate backend data structure: time 0.02038/0.7929, allocations: 5.198 MB / 0.5942 GB, free: 8.727 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.583e-05/0.793, allocations: 16.03 kB / 0.5942 GB, free: 8.711 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04379/0.8368, allocations: 6.892 MB / 0.6009 GB, free: 1.801 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02778/0.8646, allocations: 7.468 MB / 0.6082 GB, free: 10.25 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006936/0.8654, allocations: 373.8 kB / 0.6086 GB, free: 9.879 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003428/0.8688, allocations: 499.7 kB / 0.609 GB, free: 9.391 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2906/1.159, allocations: 12.23 MB / 0.621 GB, free: 77.26 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003598/1.16, allocations: 71.5 kB / 0.6211 GB, free: 77.26 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001521/1.161, allocations: 235.3 kB / 0.6213 GB, free: 77.26 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001576/1.163, allocations: 1.146 MB / 0.6224 GB, free: 77.25 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02164/1.185, allocations: 10.11 MB / 0.6323 GB, free: 77.21 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05685/1.242, allocations: 55.58 MB / 0.6866 GB, free: 43.62 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01307/1.255, allocations: 5.665 MB / 0.6921 GB, free: 41.66 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002871/1.258, allocations: 2.825 MB / 0.6948 GB, free: 40.41 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01327/1.271, allocations: 8.8 MB / 0.7034 GB, free: 36.06 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.942e-05/1.271, allocations: 58.59 kB / 0.7035 GB, free: 36.01 MB / 426.7 MB Notification: Performance of pre-optimization done (n=206): time 6.803e-06/1.271, allocations: 0 / 0.7035 GB, free: 36.01 MB / 426.7 MB Notification: Performance of matching and sorting (n=265): time 0.1096/1.381, allocations: 29.41 MB / 0.7322 GB, free: 28 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.593e-05/1.381, allocations: 216.9 kB / 0.7324 GB, free: 27.75 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005942/1.387, allocations: 4.164 MB / 0.7365 GB, free: 24.13 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004864/1.387, allocations: 63.5 kB / 0.7366 GB, free: 24.07 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001724/1.389, allocations: 3.579 MB / 0.74 GB, free: 20.89 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000939/1.39, allocations: 0.9838 MB / 0.741 GB, free: 20.02 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004589/1.39, allocations: 132 kB / 0.7411 GB, free: 19.89 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0004472/1.391, allocations: 0.5891 MB / 0.7417 GB, free: 19.38 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003867/1.395, allocations: 2.946 MB / 0.7446 GB, free: 16.71 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004838/1.399, allocations: 6.735 MB / 0.7512 GB, free: 8.5 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005104/1.405, allocations: 4.419 MB / 0.7555 GB, free: 4.688 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.48e-05/1.405, allocations: 36 kB / 0.7555 GB, free: 4.652 MB / 426.7 MB Notification: Performance of matching and sorting (n=876) (initialization): time 0.02521/1.43, allocations: 12.94 MB / 0.7682 GB, free: 9.883 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.5e-05/1.43, allocations: 68.19 kB / 0.7682 GB, free: 9.816 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001507/1.43, allocations: 132 kB / 0.7683 GB, free: 9.688 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01174/1.442, allocations: 4.081 MB / 0.7723 GB, free: 6.734 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005025/1.447, allocations: 1.411 MB / 0.7737 GB, free: 5.32 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2767/1.724, allocations: 25.8 MB / 0.7989 GB, free: 82.54 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005283/1.729, allocations: 393.6 kB / 0.7993 GB, free: 82.54 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008305/1.73, allocations: 402.9 kB / 0.7997 GB, free: 82.54 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 607 * Number of states: 0 () * Number of discrete variables: 39 (Universal1.cylinderColor[3],Universal1.cylinderColor[2],Universal1.cylinderColor[1],FixedTranslation1.color[3],FixedTranslation1.color[2],FixedTranslation1.color[1],spherical.sphereColor[3],spherical.sphereColor[2],spherical.sphereColor[1],b3.color[3],b3.color[2],b3.color[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 (760): * Single equations (assignments): 754 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(8,50.0%) 50,(2,100.0%) 12} * Non-linear torn systems: 1 {2 21} Notification: Performance of prepare postOptimizeDAE: time 0.0009536/1.731, allocations: 0.5994 MB / 0.8003 GB, free: 82.43 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006951/1.732, allocations: 447.9 kB / 0.8007 GB, free: 82.43 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0147/1.746, allocations: 8.073 MB / 0.8086 GB, free: 82.22 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.492e-05/1.746, allocations: 26.06 kB / 0.8086 GB, free: 82.22 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.878e-05/1.746, allocations: 14.03 kB / 0.8086 GB, free: 82.22 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.569e-05/1.746, allocations: 13.22 kB / 0.8086 GB, free: 82.22 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02641/1.773, allocations: 16.64 MB / 0.8249 GB, free: 77.29 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.188e-05/1.773, allocations: 8.156 kB / 0.8249 GB, free: 77.29 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001545/1.774, allocations: 308 kB / 0.8252 GB, free: 77.28 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.009701/1.784, allocations: 3.763 MB / 0.8288 GB, free: 76.5 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004388/1.785, allocations: 51.12 kB / 0.8289 GB, free: 76.46 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02733/1.812, allocations: 24.56 MB / 0.8529 GB, free: 64.38 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.352e-06/1.812, allocations: 10.34 kB / 0.8529 GB, free: 64.38 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01862/1.831, allocations: 12.55 MB / 0.8651 GB, free: 59.1 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002341/1.833, allocations: 0.9552 MB / 0.8661 GB, free: 58.55 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006252/1.834, allocations: 56.8 kB / 0.8661 GB, free: 58.52 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002078/1.836, allocations: 158 kB / 0.8663 GB, free: 58.49 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006154/1.836, allocations: 194 kB / 0.8665 GB, free: 58.46 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001934/1.837, allocations: 71.72 kB / 0.8665 GB, free: 58.44 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.004212/1.841, allocations: 2.944 MB / 0.8694 GB, free: 57.42 MB / 442.7 MB Notification: Performance of sort global known variables: time 3.11e-07/1.841, allocations: 3.625 kB / 0.8694 GB, free: 57.42 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.005689/1.847, allocations: 1.421 MB / 0.8708 GB, free: 57.26 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 (161): * Single equations (assignments): 155 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(8,50.0%) 43,(2,100.0%) 9} * Non-linear torn systems: 1 {2 25} Notification: Performance of Backend phase and start with SimCode phase: time 0.0004821/1.847, allocations: 187.8 kB / 0.871 GB, free: 57.14 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.01152/1.859, allocations: 8.022 MB / 0.8788 GB, free: 50.55 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.435e-05/1.859, allocations: 0 / 0.8788 GB, free: 50.55 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.006053/1.865, allocations: 3.418 MB / 0.8821 GB, free: 47.49 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00361/1.868, allocations: 0.5477 MB / 0.8827 GB, free: 47.03 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01666/1.885, allocations: 10.36 MB / 0.8928 GB, free: 37.79 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004008/1.889, allocations: 4.025 MB / 0.8967 GB, free: 34.79 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.00508/1.894, allocations: 2.022 MB / 0.8987 GB, free: 33.63 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009095/1.895, allocations: 286.3 kB / 0.899 GB, free: 33.36 MB / 442.7 MB Notification: Performance of SimCode: time 1.212e-06/1.895, allocations: 0 / 0.899 GB, free: 33.36 MB / 442.7 MB Notification: Performance of Templates: time 0.3521/2.247, allocations: 66.03 MB / 0.9635 GB, free: 92.67 MB / 458.7 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.sim & ./ModelicaTest_3.2.1_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.pipe 2>&1)