Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Rotational.TestSpeed.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.Rotational.TestSpeed,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Rotational.TestSpeed") translateModel(ModelicaTest.Rotational.TestSpeed,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Rotational.TestSpeed") [: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.003684/0.003684, allocations: 175.2 kB / 7.451 MB, free: 2.508 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.284/1.284, allocations: 170.6 MB / 178.4 MB, free: 15.8 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.001608/0.001608, allocations: 103.9 kB / 217.7 MB, free: 8.586 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.1521/0.1521, allocations: 37.98 MB / 294.8 MB, free: 9.68 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 6.843e-06/6.963e-06, allocations: 0 / 349.5 MB, free: 37.2 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09095/0.09098, allocations: 48.71 MB / 398.2 MB, free: 5.715 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3107/0.4018, allocations: 75.42 MB / 473.6 MB, free: 13.59 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000235/0.4021, allocations: 59.02 kB / 473.7 MB, free: 13.59 MB / 330.7 MB Notification: Performance of FrontEnd: time 0.01234/0.4144, allocations: 4.372 MB / 478 MB, free: 13.24 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.795e-05/0.4145, allocations: 7.75 kB / 478.1 MB, free: 13.24 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.0006915/0.4152, allocations: 0.526 MB / 478.6 MB, free: 12.82 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.474e-05/0.4152, allocations: 7.719 kB / 478.6 MB, free: 12.82 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.804e-05/0.4153, allocations: 30.88 kB / 478.6 MB, free: 12.8 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002966/0.4156, allocations: 256.3 kB / 478.9 MB, free: 12.58 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.587e-05/0.4156, allocations: 7.719 kB / 478.9 MB, free: 12.58 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.521e-05/0.4157, allocations: 23.84 kB / 478.9 MB, free: 12.57 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002451/0.416, allocations: 128.9 kB / 479 MB, free: 12.57 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002977/0.4163, allocations: 223.8 kB / 479.2 MB, free: 12.48 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.112e-05/0.4163, allocations: 6.25 kB / 479.3 MB, free: 12.47 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.134e-05/0.4163, allocations: 0 / 479.3 MB, free: 12.47 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.447e-06/0.4163, allocations: 7.719 kB / 479.3 MB, free: 12.47 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001328/0.4177, allocations: 1.262 MB / 480.5 MB, free: 11.57 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000217/0.4179, allocations: 166.4 kB / 480.7 MB, free: 11.5 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001116/0.418, allocations: 75.78 kB / 480.8 MB, free: 11.46 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.084e-05/0.418, allocations: 3.25 kB / 480.8 MB, free: 11.46 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.169e-05/0.4181, allocations: 37.69 kB / 480.8 MB, free: 11.42 MB / 330.7 MB Notification: Performance of pre-optimization done (n=26): time 1.593e-06/0.4181, allocations: 0 / 480.8 MB, free: 11.42 MB / 330.7 MB Notification: Performance of matching and sorting (n=32): time 0.001559/0.4196, allocations: 1.34 MB / 482.1 MB, free: 10.28 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.78e-05/0.4197, allocations: 136 kB / 482.3 MB, free: 10.12 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001462/0.4199, allocations: 184.7 kB / 482.5 MB, free: 10.03 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.775e-05/0.4199, allocations: 25.7 kB / 482.5 MB, free: 10 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.221e-05/0.4199, allocations: 158.5 kB / 482.6 MB, free: 9.875 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.91e-05/0.42, allocations: 115 kB / 482.7 MB, free: 9.801 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.279e-05/0.42, allocations: 0 / 482.7 MB, free: 9.801 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 7.896e-05/0.4201, allocations: 338.6 kB / 483.1 MB, free: 9.488 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001017/0.4202, allocations: 67.31 kB / 483.1 MB, free: 9.484 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001517/0.4204, allocations: 199 kB / 483.3 MB, free: 9.316 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001351/0.4205, allocations: 103.9 kB / 483.4 MB, free: 9.297 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.4205, allocations: 3.844 kB / 483.4 MB, free: 9.297 MB / 330.7 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0003894/0.4209, allocations: 285.6 kB / 483.7 MB, free: 9.227 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.504e-05/0.421, allocations: 3.75 kB / 483.7 MB, free: 9.227 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.506e-06/0.421, allocations: 3.875 kB / 483.7 MB, free: 9.227 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.97e-05/0.421, allocations: 11.66 kB / 483.7 MB, free: 9.223 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000429/0.4214, allocations: 112.4 kB / 483.8 MB, free: 9.215 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.162e-05/0.4214, allocations: 11.41 kB / 483.9 MB, free: 9.211 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002152/0.4217, allocations: 24.34 kB / 483.9 MB, free: 9.211 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.187e-05/0.4217, allocations: 15 kB / 483.9 MB, free: 9.211 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (48): * Single equations (assignments): 48 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.205e-05/0.4218, allocations: 125.6 kB / 484 MB, free: 9.09 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001017/0.4219, allocations: 27.06 kB / 484 MB, free: 9.078 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.899e-05/0.4219, allocations: 29.08 kB / 484.1 MB, free: 9.078 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.128e-06/0.422, allocations: 3.781 kB / 484.1 MB, free: 9.078 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.993e-06/0.422, allocations: 3.906 kB / 484.1 MB, free: 9.074 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.231e-06/0.422, allocations: 2.281 kB / 484.1 MB, free: 9.074 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009412/0.4229, allocations: 0.8722 MB / 485 MB, free: 8.531 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.276e-06/0.4229, allocations: 7.938 kB / 485 MB, free: 8.527 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000393/0.4233, allocations: 88.53 kB / 485.1 MB, free: 8.523 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.548e-06/0.4234, allocations: 0 / 485.1 MB, free: 8.523 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.121e-05/0.4234, allocations: 3.906 kB / 485.1 MB, free: 8.523 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.457e-06/0.4234, allocations: 7.906 kB / 485.1 MB, free: 8.52 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.196e-06/0.4234, allocations: 288 / 485.1 MB, free: 8.52 MB / 330.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0005217/0.4239, allocations: 0.6837 MB / 485.7 MB, free: 8.035 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.92e-05/0.424, allocations: 124 kB / 485.9 MB, free: 7.926 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.464e-05/0.4241, allocations: 3.969 kB / 485.9 MB, free: 7.926 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003143/0.4244, allocations: 22.62 kB / 485.9 MB, free: 7.922 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.297e-05/0.4245, allocations: 20.59 kB / 485.9 MB, free: 7.922 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.873e-05/0.4245, allocations: 14.88 kB / 485.9 MB, free: 7.922 MB / 330.7 MB Notification: Performance of sort global known variables: time 0.0001031/0.4246, allocations: 146.2 kB / 486.1 MB, free: 7.844 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0005032/0.4251, allocations: 54.47 kB / 486.1 MB, free: 7.844 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 6 (speed4.s,speed3.s,speed3.v,speed1.phi,speed1.w,speed2.phi) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (32): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001414/0.4253, allocations: 105.8 kB / 486.2 MB, free: 7.742 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0003759/0.4257, allocations: 197.2 kB / 486.4 MB, free: 7.723 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.937e-06/0.4257, allocations: 0 / 486.4 MB, free: 7.723 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001312/0.4258, allocations: 100.3 kB / 486.5 MB, free: 7.715 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004597/0.4263, allocations: 35.86 kB / 486.6 MB, free: 7.707 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001135/0.4274, allocations: 0.6964 MB / 487.2 MB, free: 7.25 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004638/0.4279, allocations: 0.8076 MB / 488.1 MB, free: 22.54 MB / 346.7 MB Notification: Performance of SimCode: time 7.41e-07/0.4279, allocations: 0 / 488.1 MB, free: 22.54 MB / 346.7 MB Notification: Performance of Templates: time 0.005413/0.4333, allocations: 2.391 MB / 490.4 MB, free: 22.39 MB / 346.7 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Rotational.TestSpeed.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Rotational.TestSpeed.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Rotational.TestSpeed.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Rotational.TestSpeed.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Rotational.TestSpeed.sim & ./ModelicaTest_3.2.1_ModelicaTest.Rotational.TestSpeed -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Rotational.TestSpeed.pipe 2>&1)