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") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.00671/0.00671, allocations: 171.7 kB / 7.445 MB, free: 2.168 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.361/1.361, allocations: 170.6 MB / 178.4 MB, free: 15.76 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.002101/0.002101, allocations: 111.8 kB / 217.7 MB, free: 8.543 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.192/0.192, allocations: 37.98 MB / 294.8 MB, free: 9.637 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 7.114e-06/7.144e-06, allocations: 1.156 kB / 349.5 MB, free: 37.22 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1103/0.1103, allocations: 48.72 MB / 398.2 MB, free: 5.672 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3654/0.4757, allocations: 93.49 MB / 491.7 MB, free: 13.57 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000203/0.4759, allocations: 74.78 kB / 491.8 MB, free: 13.57 MB / 330.7 MB Notification: Performance of FrontEnd: time 0.3416/0.8176, allocations: 99.41 MB / 0.5773 GB, free: 7.445 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0007382/0.8184, allocations: 107.4 kB / 0.5774 GB, free: 7.344 MB / 394.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.02475/0.8432, allocations: 5.151 MB / 0.5825 GB, free: 2.129 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.736e-05/0.8432, allocations: 11.97 kB / 0.5825 GB, free: 2.117 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04596/0.8892, allocations: 6.528 MB / 0.5888 GB, free: 11.57 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02215/0.9114, allocations: 7.553 MB / 0.5962 GB, free: 4.004 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003581/0.9118, allocations: 160 kB / 0.5964 GB, free: 3.848 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002805/0.9146, allocations: 291.9 kB / 0.5967 GB, free: 3.562 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01669/0.9313, allocations: 7.266 MB / 0.6037 GB, free: 12.29 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02627/0.9576, allocations: 11.01 MB / 0.6145 GB, free: 172 kB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002527/0.9579, allocations: 79.3 kB / 0.6146 GB, free: 92 kB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001038/0.959, allocations: 32 kB / 0.6146 GB, free: 60 kB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.1758/1.135, allocations: 1.213 MB / 0.6158 GB, free: 122.7 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05563/1.191, allocations: 54.92 MB / 0.6694 GB, free: 91.28 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004901/1.195, allocations: 4.285 MB / 0.6736 GB, free: 90.63 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003194/1.199, allocations: 2.945 MB / 0.6765 GB, free: 90.59 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01585/1.215, allocations: 9.611 MB / 0.6859 GB, free: 85.68 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.974e-05/1.215, allocations: 51.66 kB / 0.6859 GB, free: 85.63 MB / 426.7 MB Notification: Performance of pre-optimization done (n=206): time 6.923e-06/1.215, allocations: 2.625 kB / 0.6859 GB, free: 85.63 MB / 426.7 MB Notification: Performance of matching and sorting (n=262): time 0.06802/1.283, allocations: 26.73 MB / 0.712 GB, free: 76.65 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.089e-05/1.283, allocations: 208.2 kB / 0.7122 GB, free: 76.43 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005781/1.289, allocations: 3.652 MB / 0.7158 GB, free: 75.12 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000635/1.289, allocations: 28.98 kB / 0.7158 GB, free: 75.09 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001649/1.291, allocations: 3.256 MB / 0.719 GB, free: 72.68 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001117/1.292, allocations: 0.9345 MB / 0.7199 GB, free: 71.98 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003798/1.292, allocations: 0 / 0.7199 GB, free: 71.98 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0002984/1.293, allocations: 0.5922 MB / 0.7205 GB, free: 71.55 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003546/1.296, allocations: 2.899 MB / 0.7233 GB, free: 70.48 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005181/1.302, allocations: 6.793 MB / 0.7299 GB, free: 64.16 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006215/1.308, allocations: 4.42 MB / 0.7343 GB, free: 60.95 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.662e-05/1.308, allocations: 40 kB / 0.7343 GB, free: 60.91 MB / 426.7 MB Notification: Performance of matching and sorting (n=897) (initialization): time 0.02468/1.333, allocations: 11.94 MB / 0.746 GB, free: 51.06 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.998e-05/1.333, allocations: 7.938 kB / 0.746 GB, free: 51.05 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001956/1.333, allocations: 143.6 kB / 0.7461 GB, free: 50.92 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01201/1.345, allocations: 3.832 MB / 0.7499 GB, free: 48.06 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005541/1.35, allocations: 1.436 MB / 0.7513 GB, free: 46.8 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03102/1.382, allocations: 23.1 MB / 0.7738 GB, free: 26.27 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006591/1.388, allocations: 222.3 kB / 0.774 GB, free: 26.09 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001622/1.39, allocations: 415.3 kB / 0.7744 GB, free: 25.7 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 631 * 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 (781): * Single equations (assignments): 775 * 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.00124/1.391, allocations: 462.8 kB / 0.7749 GB, free: 25.24 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001103/1.392, allocations: 409.1 kB / 0.7753 GB, free: 24.84 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01499/1.407, allocations: 7.596 MB / 0.7827 GB, free: 18.86 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.496e-05/1.407, allocations: 24 kB / 0.7827 GB, free: 18.83 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.587e-05/1.407, allocations: 12 kB / 0.7827 GB, free: 18.82 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.194e-05/1.407, allocations: 11.62 kB / 0.7827 GB, free: 18.82 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03266/1.44, allocations: 15.22 MB / 0.7976 GB, free: 6.41 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.158e-05/1.44, allocations: 4 kB / 0.7976 GB, free: 6.406 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001662/1.442, allocations: 282.5 kB / 0.7979 GB, free: 6.168 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01054/1.452, allocations: 3.537 MB / 0.8013 GB, free: 2.676 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007527/1.453, allocations: 8 kB / 0.8013 GB, free: 2.668 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2/1.653, allocations: 21.87 MB / 0.8227 GB, free: 110.1 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.02e-05/1.653, allocations: 11.91 kB / 0.8227 GB, free: 110.1 MB / 426.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.02052/1.674, allocations: 12.12 MB / 0.8345 GB, free: 108.6 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002542/1.676, allocations: 0.8923 MB / 0.8354 GB, free: 108.5 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008195/1.677, allocations: 10.3 kB / 0.8354 GB, free: 108.5 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002143/1.679, allocations: 78.88 kB / 0.8355 GB, free: 108.5 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003325/1.68, allocations: 129.2 kB / 0.8356 GB, free: 108.5 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002268/1.68, allocations: 72.67 kB / 0.8357 GB, free: 108.5 MB / 426.7 MB Notification: Performance of sort global known variables: time 0.003879/1.684, allocations: 2.491 MB / 0.8381 GB, free: 108.3 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.007294/1.691, allocations: 1.193 MB / 0.8393 GB, free: 108.3 MB / 426.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 (158): * Single equations (assignments): 152 * 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.0007489/1.692, allocations: 145 kB / 0.8394 GB, free: 108.2 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.01174/1.704, allocations: 7.531 MB / 0.8468 GB, free: 107.2 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 8.977e-06/1.704, allocations: 0 / 0.8468 GB, free: 107.2 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004721/1.708, allocations: 3.107 MB / 0.8498 GB, free: 105.9 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002786/1.711, allocations: 449.4 kB / 0.8502 GB, free: 105.7 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02063/1.732, allocations: 10.38 MB / 0.8604 GB, free: 101.9 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005606/1.737, allocations: 4.268 MB / 0.8645 GB, free: 100.5 MB / 426.7 MB Notification: Performance of SimCode: time 1.042e-06/1.737, allocations: 7.562 kB / 0.8645 GB, free: 100.5 MB / 426.7 MB Notification: Performance of Templates: time 0.1048/1.842, allocations: 63.35 MB / 0.9264 GB, free: 65.14 MB / 426.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)