Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical.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.SphericalSpherical,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical") translateModel(ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical") [: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.2+maint.om/package.mo): time 0.002813/0.002813, allocations: 186.9 kB / 7.46 MB, free: 2.234 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.293/1.293, allocations: 194.2 MB / 202.1 MB, free: 8.723 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.001669/0.00167, allocations: 122 kB / 247.1 MB, free: 6.387 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.1711/0.1711, allocations: 39.94 MB / 331.9 MB, free: 4.957 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 6.513e-06/6.533e-06, allocations: 0 / 392.8 MB, free: 75.9 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09607/0.09609, allocations: 54.88 MB / 447.6 MB, free: 21 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.299/0.3952, allocations: 99.42 MB / 0.5342 GB, free: 1.02 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003242/0.3956, allocations: 76.14 kB / 0.5343 GB, free: 0.9805 MB / 346.7 MB Notification: Performance of FrontEnd: time 0.2416/0.6372, allocations: 91.37 MB / 0.6235 GB, free: 13.58 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.000273/0.6375, allocations: 88 kB / 0.6236 GB, free: 13.49 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1535 * Number of variables: 1535 Notification: Performance of Generate backend data structure: time 0.01492/0.6525, allocations: 4.503 MB / 0.628 GB, free: 8.918 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.731e-05/0.6525, allocations: 8.031 kB / 0.628 GB, free: 8.91 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02536/0.6779, allocations: 6.33 MB / 0.6342 GB, free: 2.562 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01797/0.6959, allocations: 6.368 MB / 0.6404 GB, free: 12.13 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002921/0.6963, allocations: 140 kB / 0.6406 GB, free: 12 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003312/0.6996, allocations: 259.9 kB / 0.6408 GB, free: 11.74 MB / 458.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01448/0.7141, allocations: 6.811 MB / 0.6475 GB, free: 4.918 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0216/0.7357, allocations: 9.777 MB / 0.657 GB, free: 10.12 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003307/0.7361, allocations: 67.45 kB / 0.6571 GB, free: 10.05 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001764/0.7379, allocations: 28 kB / 0.6571 GB, free: 10.02 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001683/0.7396, allocations: 1.092 MB / 0.6582 GB, free: 8.926 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2213/0.9609, allocations: 46.94 MB / 0.704 GB, free: 132.3 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003185/0.9641, allocations: 3.014 MB / 0.707 GB, free: 131.7 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001904/0.9661, allocations: 1.93 MB / 0.7088 GB, free: 131.6 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01087/0.9769, allocations: 8.38 MB / 0.717 GB, free: 128.3 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.035e-05/0.977, allocations: 48.56 kB / 0.7171 GB, free: 128.2 MB / 474.7 MB Notification: Performance of pre-optimization done (n=180): time 6.702e-06/0.977, allocations: 0 / 0.7171 GB, free: 128.2 MB / 474.7 MB Notification: Performance of matching and sorting (n=236): time 0.06129/1.038, allocations: 24.75 MB / 0.7412 GB, free: 123.9 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.307e-05/1.038, allocations: 211.7 kB / 0.7414 GB, free: 123.7 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004859/1.043, allocations: 3.314 MB / 0.7447 GB, free: 122.5 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006026/1.044, allocations: 29.64 kB / 0.7447 GB, free: 122.5 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001747/1.046, allocations: 2.972 MB / 0.7476 GB, free: 120.5 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009973/1.047, allocations: 0.8515 MB / 0.7484 GB, free: 119.8 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00032/1.047, allocations: 0 / 0.7484 GB, free: 119.8 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0002693/1.047, allocations: 0.5788 MB / 0.749 GB, free: 119.4 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003647/1.051, allocations: 3.391 MB / 0.7523 GB, free: 118.1 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005614/1.057, allocations: 7.117 MB / 0.7593 GB, free: 111.8 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006143/1.063, allocations: 5.005 MB / 0.7642 GB, free: 110.1 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.866e-05/1.063, allocations: 37.31 kB / 0.7642 GB, free: 110.1 MB / 474.7 MB Notification: Performance of matching and sorting (n=846) (initialization): time 0.03377/1.097, allocations: 14.65 MB / 0.7785 GB, free: 99.09 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.912e-05/1.097, allocations: 11.28 kB / 0.7785 GB, free: 99.08 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001492/1.097, allocations: 135.7 kB / 0.7786 GB, free: 98.95 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02184/1.119, allocations: 5.624 MB / 0.7841 GB, free: 95.42 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005019/1.124, allocations: 1.445 MB / 0.7855 GB, free: 94.15 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02778/1.152, allocations: 22.61 MB / 0.8076 GB, free: 74.08 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005587/1.157, allocations: 219.5 kB / 0.8078 GB, free: 73.86 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009287/1.158, allocations: 405 kB / 0.8082 GB, free: 73.47 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 605 * Number of states: 0 () * Number of discrete variables: 39 (b3.color[3],b3.color[2],b3.color[1],sphericalSpherical.massColor[3],sphericalSpherical.massColor[2],sphericalSpherical.massColor[1],sphericalSpherical.sphereColor[3],sphericalSpherical.sphereColor[2],sphericalSpherical.sphereColor[1],sphericalSpherical.rodColor[3],sphericalSpherical.rodColor[2],sphericalSpherical.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 (769): * Single equations (assignments): 764 * Array equations: 3 * 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 {(3,100.0%) 51} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0009992/1.159, allocations: 441.5 kB / 0.8086 GB, free: 73.03 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006345/1.16, allocations: 371.2 kB / 0.809 GB, free: 72.66 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0265/1.186, allocations: 10.58 MB / 0.8193 GB, free: 62.07 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.922e-05/1.186, allocations: 24 kB / 0.8193 GB, free: 62.05 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.59e-05/1.186, allocations: 8 kB / 0.8194 GB, free: 62.04 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.402e-05/1.186, allocations: 11.95 kB / 0.8194 GB, free: 62.03 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04023/1.227, allocations: 19.07 MB / 0.838 GB, free: 42.54 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.109e-05/1.227, allocations: 4.594 kB / 0.838 GB, free: 42.54 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002111/1.229, allocations: 343.5 kB / 0.8383 GB, free: 42.2 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.02/1.249, allocations: 4.677 MB / 0.8429 GB, free: 37.52 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006763/1.25, allocations: 23.89 kB / 0.8429 GB, free: 37.5 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02297/1.273, allocations: 18.6 MB / 0.8611 GB, free: 18.67 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.825e-06/1.273, allocations: 4 kB / 0.8611 GB, free: 18.67 MB / 474.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.02875/1.301, allocations: 14.45 MB / 0.8752 GB, free: 3.988 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002625/1.304, allocations: 0.9296 MB / 0.8761 GB, free: 3.035 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008728/1.305, allocations: 8 kB / 0.8761 GB, free: 3.027 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002292/1.307, allocations: 87.86 kB / 0.8762 GB, free: 2.941 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003632/1.308, allocations: 121 kB / 0.8763 GB, free: 2.82 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002422/1.308, allocations: 74.47 kB / 0.8764 GB, free: 2.754 MB / 474.7 MB Notification: Performance of sort global known variables: time 0.003821/1.312, allocations: 2.249 MB / 0.8786 GB, free: 0.4922 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.1922/1.504, allocations: 1.151 MB / 0.8797 GB, free: 150.5 MB / 474.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 (165): * Single equations (assignments): 160 * Array equations: 3 * 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 {(3,100.0%) 47} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006296/1.505, allocations: 164.4 kB / 0.8798 GB, free: 150.4 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.01041/1.515, allocations: 7.702 MB / 0.8874 GB, free: 150.3 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 6.012e-06/1.515, allocations: 0 / 0.8874 GB, free: 150.3 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003506/1.519, allocations: 3.005 MB / 0.8903 GB, free: 150.1 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002168/1.521, allocations: 397.2 kB / 0.8907 GB, free: 150.1 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01832/1.539, allocations: 10.05 MB / 0.9005 GB, free: 148.5 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004536/1.544, allocations: 3.86 MB / 0.9043 GB, free: 147.7 MB / 474.7 MB Notification: Performance of SimCode: time 1.402e-06/1.544, allocations: 0 / 0.9043 GB, free: 147.7 MB / 474.7 MB Notification: Performance of Templates: time 0.09931/1.643, allocations: 63.49 MB / 0.9663 GB, free: 121.9 MB / 474.7 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical.sim & ./ModelicaTest_3.2.2_ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical.pipe 2>&1)