Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.PadeDelay2.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ModelicaTest.Blocks.PadeDelay2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|padeDelay1a.y|padeDelay1b.y|padeDelay2a.y|padeDelay2b.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.PadeDelay2") translateModel(ModelicaTest.Blocks.PadeDelay2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|padeDelay1a.y|padeDelay1b.y|padeDelay2a.y|padeDelay2b.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.PadeDelay2") [: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(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002642/0.002642, allocations: 176.7 kB / 8.151 MB, free: 2.203 MB / 5.871 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.924/1.924, allocations: 205.2 MB / 213.8 MB, free: 13.91 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001281/0.001281, allocations: 96.02 kB / 261.8 MB, free: 13.61 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.265/0.265, allocations: 43.49 MB / 353.2 MB, free: 2.027 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 1.042e-05/1.044e-05, allocations: 4 kB / 417.7 MB, free: 40.94 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2835/0.2836, allocations: 58.84 MB / 476.5 MB, free: 5.066 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1811/0.4647, allocations: 85.99 MB / 0.5493 GB, free: 13.08 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002284/0.465, allocations: 55.97 kB / 0.5494 GB, free: 13.03 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.05073/0.5157, allocations: 9.232 MB / 0.5584 GB, free: 3.785 MB / 394.7 MB Notification: Performance of Transformations before backend: time 4.131e-05/0.5158, allocations: 7.938 kB / 0.5584 GB, free: 3.777 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: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.001699/0.5175, allocations: 0.6536 MB / 0.559 GB, free: 3.078 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.223e-05/0.5176, allocations: 11.97 kB / 0.5591 GB, free: 3.066 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.997e-05/0.5177, allocations: 31.53 kB / 0.5591 GB, free: 3.035 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005812/0.5183, allocations: 283.2 kB / 0.5594 GB, free: 2.715 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.787e-05/0.5183, allocations: 4 kB / 0.5594 GB, free: 2.711 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.914e-05/0.5184, allocations: 23.84 kB / 0.5594 GB, free: 2.688 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000622/0.5191, allocations: 215.8 kB / 0.5596 GB, free: 2.477 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006296/0.5197, allocations: 251.2 kB / 0.5598 GB, free: 2.219 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.136e-05/0.5197, allocations: 0 / 0.5598 GB, free: 2.219 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.576e-05/0.5198, allocations: 0 / 0.5598 GB, free: 2.219 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.846e-06/0.5198, allocations: 7.938 kB / 0.5598 GB, free: 2.211 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001832/0.5216, allocations: 0.7308 MB / 0.5606 GB, free: 1.434 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005952/0.5223, allocations: 251.3 kB / 0.5608 GB, free: 1.176 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004459/0.5227, allocations: 186.8 kB / 0.561 GB, free: 0.9883 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.518e-05/0.5228, allocations: 4 kB / 0.561 GB, free: 0.9844 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.546e-05/0.5228, allocations: 42.55 kB / 0.561 GB, free: 0.9336 MB / 394.7 MB Notification: Performance of pre-optimization done (n=24): time 1.753e-06/0.5228, allocations: 0 / 0.561 GB, free: 0.9336 MB / 394.7 MB Notification: Performance of matching and sorting (n=24): time 0.001073/0.5239, allocations: 378.3 kB / 0.5614 GB, free: 0.5547 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.241e-05/0.524, allocations: 85.05 kB / 0.5615 GB, free: 464 kB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004451/0.5244, allocations: 299.4 kB / 0.5617 GB, free: 160 kB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 4.777e-05/0.5245, allocations: 25.7 kB / 0.5618 GB, free: 128 kB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001332/0.5246, allocations: 191.2 kB / 0.562 GB, free: 15.93 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001225/0.5248, allocations: 98.55 kB / 0.562 GB, free: 15.84 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.059e-05/0.5248, allocations: 0 / 0.562 GB, free: 15.84 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001686/0.525, allocations: 338.8 kB / 0.5624 GB, free: 15.5 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006451/0.5256, allocations: 280.7 kB / 0.5626 GB, free: 15.22 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007012/0.5264, allocations: 322.3 kB / 0.5629 GB, free: 14.9 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008471/0.5272, allocations: 313.8 kB / 0.5632 GB, free: 14.59 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.955e-06/0.5272, allocations: 0 / 0.5632 GB, free: 14.59 MB / 410.7 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.001815/0.5291, allocations: 0.7887 MB / 0.564 GB, free: 13.8 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.94e-05/0.5291, allocations: 11.44 kB / 0.564 GB, free: 13.79 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.081e-05/0.5291, allocations: 4 kB / 0.564 GB, free: 13.79 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.837e-05/0.5292, allocations: 4 kB / 0.564 GB, free: 13.78 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009671/0.5301, allocations: 99.88 kB / 0.5641 GB, free: 13.68 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.646e-06/0.5302, allocations: 7.938 kB / 0.5641 GB, free: 13.68 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002935/0.5305, allocations: 35.44 kB / 0.5642 GB, free: 13.64 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.221e-05/0.5305, allocations: 19.98 kB / 0.5642 GB, free: 13.62 MB / 410.7 MB Warning: Assuming fixed start value for the following 6 variables: padeDelay2a.x[3]:VARIABLE(final = true ) "State of transfer function from controller canonical form (balance=false), or balanced controller canonical form (balance=true)" type: Real [4] padeDelay2a.x[2]:VARIABLE(final = true ) "State of transfer function from controller canonical form (balance=false), or balanced controller canonical form (balance=true)" type: Real [4] padeDelay2a.x[1]:VARIABLE(final = true ) "State of transfer function from controller canonical form (balance=false), or balanced controller canonical form (balance=true)" type: Real [4] padeDelay1a.x[3]:VARIABLE(final = true ) "State of transfer function from controller canonical form (balance=false), or balanced controller canonical form (balance=true)" type: Real [4] padeDelay1a.x[2]:VARIABLE(final = true ) "State of transfer function from controller canonical form (balance=false), or balanced controller canonical form (balance=true)" type: Real [4] padeDelay1a.x[1]:VARIABLE(final = true ) "State of transfer function from controller canonical form (balance=false), or balanced controller canonical form (balance=true)" type: Real [4] Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (44): * Single equations (assignments): 40 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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 0.0001714/0.5307, allocations: 45.53 kB / 0.5642 GB, free: 13.57 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001147/0.5308, allocations: 23.62 kB / 0.5643 GB, free: 13.55 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001385/0.531, allocations: 38.62 kB / 0.5643 GB, free: 13.5 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.316e-06/0.531, allocations: 4 kB / 0.5643 GB, free: 13.5 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.561e-06/0.531, allocations: 0 / 0.5643 GB, free: 13.5 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.754e-06/0.531, allocations: 3.984 kB / 0.5643 GB, free: 13.5 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005757/0.5316, allocations: 317.5 kB / 0.5646 GB, free: 13.15 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.415e-06/0.5316, allocations: 0 / 0.5646 GB, free: 13.15 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000786/0.5324, allocations: 59.91 kB / 0.5647 GB, free: 13.09 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.378e-06/0.5325, allocations: 0 / 0.5647 GB, free: 13.09 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.206e-05/0.5325, allocations: 19.92 kB / 0.5647 GB, free: 13.07 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.786e-06/0.5326, allocations: 0 / 0.5647 GB, free: 13.07 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.268e-06/0.5326, allocations: 7.906 kB / 0.5647 GB, free: 13.06 MB / 410.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001454/0.534, allocations: 0.7228 MB / 0.5654 GB, free: 12.31 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.757e-05/0.5341, allocations: 120.5 kB / 0.5655 GB, free: 12.18 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.495e-05/0.5342, allocations: 11.98 kB / 0.5655 GB, free: 12.16 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004128/0.5347, allocations: 8 kB / 0.5655 GB, free: 12.16 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.518e-05/0.5348, allocations: 15.91 kB / 0.5655 GB, free: 12.14 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.094e-05/0.5348, allocations: 12 kB / 0.5655 GB, free: 12.13 MB / 410.7 MB Notification: Performance of sort global known variables: time 0.0002986/0.5351, allocations: 207.1 kB / 0.5657 GB, free: 11.93 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001125/0.5363, allocations: 255.7 kB / 0.566 GB, free: 11.68 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 16 (padeDelay2a.x[1],padeDelay2a.x[2],padeDelay2a.x[3],padeDelay2a.x[4],padeDelay2b.x[1],padeDelay2b.x[2],padeDelay2b.x[3],padeDelay2b.x[4],padeDelay1b.x[1],padeDelay1b.x[2],padeDelay1b.x[3],padeDelay1b.x[4],padeDelay1a.x[1],padeDelay1a.x[2],padeDelay1a.x[3],padeDelay1a.x[4]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (24): * Single equations (assignments): 24 * 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.0008008/0.5371, allocations: 298.8 kB / 0.5663 GB, free: 11.38 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001574/0.5387, allocations: 0.7147 MB / 0.567 GB, free: 10.64 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.747e-06/0.5387, allocations: 0 / 0.567 GB, free: 10.64 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004815/0.5392, allocations: 183.9 kB / 0.5671 GB, free: 10.46 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005735/0.5398, allocations: 37.62 kB / 0.5672 GB, free: 10.43 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002075/0.5419, allocations: 0.8085 MB / 0.568 GB, free: 9.586 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008906/0.5428, allocations: 0.8335 MB / 0.5688 GB, free: 8.723 MB / 410.7 MB Notification: Performance of SimCode: time 1.793e-06/0.5428, allocations: 4 kB / 0.5688 GB, free: 8.719 MB / 410.7 MB Notification: Performance of Templates: time 0.01529/0.5581, allocations: 6.47 MB / 0.5751 GB, free: 2.281 MB / 410.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.PadeDelay2.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.PadeDelay2.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.PadeDelay2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.PadeDelay2.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.PadeDelay2.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.PadeDelay2 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.PadeDelay2.pipe 2>&1)