Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: translateModel(ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal") translateModel(ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001545/0.001545, allocations: 181.4 kB / 12.74 MB, free: 2.582 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.613/1.613, allocations: 194.3 MB / 207.5 MB, free: 3.441 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001591/0.001591, allocations: 111.6 kB / 252.6 MB, free: 4.777 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.2191/0.2191, allocations: 39.93 MB / 337.5 MB, free: 472 kB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.866e-05/3.874e-05, allocations: 4 kB / 400.3 MB, free: 69.86 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1157/0.1157, allocations: 54.86 MB / 455.1 MB, free: 14.97 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.468/0.5838, allocations: 101.1 MB / 0.5432 GB, free: 6.785 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002621/0.5841, allocations: 70.47 kB / 0.5432 GB, free: 6.75 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2707/0.8548, allocations: 103.3 MB / 0.6441 GB, free: 7.031 MB / 458.7 MB Notification: Performance of FrontEnd: time 3.246e-06/0.8549, allocations: 0 / 0.6441 GB, free: 7.031 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0004444/0.8553, allocations: 107.9 kB / 0.6442 GB, free: 6.926 MB / 458.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1726 * Number of variables: 1726 Notification: Performance of Generate backend data structure: time 0.02195/0.8773, allocations: 5.202 MB / 0.6493 GB, free: 1.652 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 0.0001152/0.8774, allocations: 12.02 kB / 0.6493 GB, free: 1.641 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02844/0.9059, allocations: 6.885 MB / 0.656 GB, free: 10.74 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02142/0.9273, allocations: 7.492 MB / 0.6633 GB, free: 3.16 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004558/0.9278, allocations: 369.8 kB / 0.6637 GB, free: 2.797 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003253/0.9311, allocations: 0.4997 MB / 0.6642 GB, free: 2.297 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.4015/1.333, allocations: 12.23 MB / 0.6761 GB, free: 95.35 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0008811/1.334, allocations: 74.33 kB / 0.6762 GB, free: 95.35 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002999/1.337, allocations: 239.8 kB / 0.6764 GB, free: 95.35 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002252/1.339, allocations: 1.141 MB / 0.6775 GB, free: 95.34 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02514/1.364, allocations: 10.12 MB / 0.6874 GB, free: 95.29 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06112/1.425, allocations: 55.61 MB / 0.7417 GB, free: 59.56 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01313/1.438, allocations: 5.674 MB / 0.7473 GB, free: 57.59 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003322/1.442, allocations: 2.818 MB / 0.75 GB, free: 56.36 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01309/1.455, allocations: 8.801 MB / 0.7586 GB, free: 52.01 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.275e-05/1.455, allocations: 57.59 kB / 0.7587 GB, free: 51.96 MB / 474.7 MB Notification: Performance of pre-optimization done (n=206): time 5.61e-06/1.455, allocations: 0 / 0.7587 GB, free: 51.96 MB / 474.7 MB Notification: Performance of matching and sorting (n=265): time 0.102/1.557, allocations: 29.41 MB / 0.7874 GB, free: 39.32 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001198/1.557, allocations: 209.9 kB / 0.7876 GB, free: 39.07 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007/1.564, allocations: 4.168 MB / 0.7917 GB, free: 35.46 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0007276/1.565, allocations: 61.7 kB / 0.7917 GB, free: 35.39 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001986/1.567, allocations: 3.583 MB / 0.7952 GB, free: 32.19 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001264/1.568, allocations: 0.989 MB / 0.7962 GB, free: 31.32 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003644/1.569, allocations: 132 kB / 0.7963 GB, free: 31.19 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0003018/1.569, allocations: 0.5847 MB / 0.7969 GB, free: 30.68 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00368/1.573, allocations: 2.944 MB / 0.7998 GB, free: 28.02 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005256/1.578, allocations: 6.736 MB / 0.8063 GB, free: 19.8 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005589/1.583, allocations: 4.419 MB / 0.8107 GB, free: 15.99 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.986e-05/1.584, allocations: 36 kB / 0.8107 GB, free: 15.95 MB / 474.7 MB Notification: Performance of matching and sorting (n=876) (initialization): time 0.02562/1.609, allocations: 12.93 MB / 0.8233 GB, free: 5.188 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001503/1.609, allocations: 60 kB / 0.8234 GB, free: 5.129 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001765/1.61, allocations: 136 kB / 0.8235 GB, free: 4.996 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01226/1.622, allocations: 4.088 MB / 0.8275 GB, free: 1.043 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006952/1.629, allocations: 1.415 MB / 0.8289 GB, free: 15.62 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3928/2.022, allocations: 25.79 MB / 0.8541 GB, free: 98.18 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007021/2.029, allocations: 394.1 kB / 0.8545 GB, free: 98.18 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002041/2.031, allocations: 402.1 kB / 0.8548 GB, free: 98.18 MB / 490.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.002027/2.033, allocations: 0.604 MB / 0.8554 GB, free: 98.07 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001304/2.034, allocations: 444.4 kB / 0.8558 GB, free: 98.07 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0191/2.053, allocations: 8.066 MB / 0.8637 GB, free: 97.89 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.387e-05/2.054, allocations: 29.47 kB / 0.8638 GB, free: 97.89 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.691e-05/2.054, allocations: 18.06 kB / 0.8638 GB, free: 97.89 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.585e-05/2.054, allocations: 13.78 kB / 0.8638 GB, free: 97.89 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03217/2.086, allocations: 16.65 MB / 0.88 GB, free: 96.34 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.993e-05/2.086, allocations: 7.844 kB / 0.8801 GB, free: 96.34 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001556/2.087, allocations: 293.5 kB / 0.8803 GB, free: 96.33 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.009677/2.097, allocations: 3.768 MB / 0.884 GB, free: 95.55 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006353/2.098, allocations: 49.75 kB / 0.8841 GB, free: 95.52 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03008/2.128, allocations: 24.55 MB / 0.908 GB, free: 83.45 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.784e-06/2.128, allocations: 8.656 kB / 0.908 GB, free: 83.45 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02174/2.15, allocations: 12.55 MB / 0.9203 GB, free: 78.2 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003425/2.153, allocations: 0.9481 MB / 0.9212 GB, free: 77.64 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001062/2.154, allocations: 46.66 kB / 0.9213 GB, free: 77.61 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00229/2.157, allocations: 170.6 kB / 0.9214 GB, free: 77.58 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008256/2.157, allocations: 191.7 kB / 0.9216 GB, free: 77.55 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000218/2.158, allocations: 74.19 kB / 0.9217 GB, free: 77.53 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.005291/2.163, allocations: 2.939 MB / 0.9246 GB, free: 76.51 MB / 490.7 MB Notification: Performance of sort global known variables: time 8.72e-07/2.163, allocations: 0 / 0.9246 GB, free: 76.51 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.008436/2.171, allocations: 1.42 MB / 0.926 GB, free: 76.35 MB / 490.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.0006994/2.172, allocations: 196 kB / 0.9261 GB, free: 76.23 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.01349/2.186, allocations: 8.026 MB / 0.934 GB, free: 73.4 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 9.428e-06/2.186, allocations: 0 / 0.934 GB, free: 73.4 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005611/2.191, allocations: 3.42 MB / 0.9373 GB, free: 71.82 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003642/2.195, allocations: 0.5558 MB / 0.9379 GB, free: 71.58 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02003/2.215, allocations: 10.35 MB / 0.948 GB, free: 62.66 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00456/2.22, allocations: 4.039 MB / 0.9519 GB, free: 59.65 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.005164/2.225, allocations: 2.024 MB / 0.9539 GB, free: 58.49 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009537/2.226, allocations: 279.1 kB / 0.9542 GB, free: 58.23 MB / 490.7 MB Notification: Performance of SimCode: time 1.904e-06/2.226, allocations: 0 / 0.9542 GB, free: 58.23 MB / 490.7 MB Notification: Performance of Templates: time 0.1098/2.336, allocations: 66.04 MB / 1.019 GB, free: 13.76 MB / 0.4948 GB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.sim & ./ModelicaTest_3.2.2_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.pipe 2>&1)