Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Blocks.Examples.DemoSignalCharacteristic.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001341/0.001341, allocations: 110.2 kB / 20.37 MB, free: 2.102 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00151/0.00151, allocations: 212.1 kB / 23.54 MB, free: 5.391 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.448/1.448, allocations: 230.2 MB / 256.8 MB, free: 8.637 MB / 206.1 MB [Timeout remaining time 88] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Blocks.Examples.DemoSignalCharacteristic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="Modelica_trunk_Modelica.Blocks.Examples.DemoSignalCharacteristic") translateModel(Modelica.Blocks.Examples.DemoSignalCharacteristic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="Modelica_trunk_Modelica.Blocks.Examples.DemoSignalCharacteristic") [Timeout 660] Notification: Performance of FrontEnd - loaded program: time 0.001932/0.001932, allocations: 59.89 kB / 376.9 MB, free: 3.789 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3513/0.3532, allocations: 53.32 MB / 430.2 MB, free: 7.785 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.DemoSignalCharacteristic): time 0.006716/0.3599, allocations: 2.298 MB / 432.5 MB, free: 5.477 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003458/0.3634, allocations: 0.9464 MB / 433.4 MB, free: 4.523 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003449/0.3637, allocations: 7.938 kB / 433.5 MB, free: 4.516 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002767/0.364, allocations: 35.55 kB / 433.5 MB, free: 4.48 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007256/0.3647, allocations: 115.2 kB / 433.6 MB, free: 4.367 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008189/0.3655, allocations: 171.6 kB / 433.8 MB, free: 4.199 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009334/0.3665, allocations: 430.8 kB / 434.2 MB, free: 3.777 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003561/0.3668, allocations: 83.52 kB / 434.3 MB, free: 3.691 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005542/0.3674, allocations: 183.2 kB / 434.4 MB, free: 3.512 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005681/0.368, allocations: 191.1 kB / 434.6 MB, free: 3.324 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000134/0.3681, allocations: 40 kB / 434.7 MB, free: 3.285 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002058/0.3683, allocations: 52 kB / 434.7 MB, free: 3.234 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001822/0.3685, allocations: 95.59 kB / 434.8 MB, free: 3.141 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003709/0.3688, allocations: 183 kB / 435 MB, free: 2.961 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009103/0.3698, allocations: 415.8 kB / 435.4 MB, free: 2.559 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.011e-06/0.3698, allocations: 0 / 435.4 MB, free: 2.559 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.685e-06/0.3698, allocations: 4 kB / 435.4 MB, free: 2.555 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.845e-05/0.3698, allocations: 0 / 435.4 MB, free: 2.555 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 53 * Number of variables: 53 Notification: Performance of Generate backend data structure: time 0.002852/0.3726, allocations: 0.7324 MB / 436.1 MB, free: 1.77 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.164e-05/0.3727, allocations: 8.031 kB / 436.1 MB, free: 1.762 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000606/0.3733, allocations: 68.62 kB / 436.2 MB, free: 1.695 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001155/0.3745, allocations: 380.6 kB / 436.6 MB, free: 1.285 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.332e-05/0.3745, allocations: 24.81 kB / 436.6 MB, free: 1.258 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001058/0.3746, allocations: 32.36 kB / 436.6 MB, free: 1.227 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001027/0.3757, allocations: 259.4 kB / 436.9 MB, free: 0.9727 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.857e-05/0.3757, allocations: 7.953 kB / 436.9 MB, free: 0.9648 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.348e-05/0.3757, allocations: 8 kB / 436.9 MB, free: 0.957 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.584e-05/0.3758, allocations: 8 kB / 436.9 MB, free: 0.9492 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00103/0.3768, allocations: 185.6 kB / 437.1 MB, free: 0.7656 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00266/0.3794, allocations: 0.7791 MB / 437.9 MB, free: 15.93 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009631/0.3804, allocations: 186.6 kB / 438.1 MB, free: 15.74 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004846/0.3809, allocations: 84.8 kB / 438.1 MB, free: 15.66 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.455e-05/0.3809, allocations: 3.906 kB / 438.1 MB, free: 15.66 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009148/0.3818, allocations: 248.9 kB / 438.4 MB, free: 15.4 MB / 350.1 MB Notification: Performance of pre-optimization done (n=28): time 3.527e-06/0.3818, allocations: 0 / 438.4 MB, free: 15.4 MB / 350.1 MB Notification: Performance of matching and sorting (n=28): time 0.001847/0.3837, allocations: 379.3 kB / 438.8 MB, free: 15.02 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.654e-05/0.3838, allocations: 63.39 kB / 438.8 MB, free: 14.95 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007389/0.3845, allocations: 316.5 kB / 439.1 MB, free: 14.64 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 8.046e-05/0.3846, allocations: 37.7 kB / 439.2 MB, free: 14.59 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002657/0.3849, allocations: 192.8 kB / 439.4 MB, free: 14.4 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000158/0.385, allocations: 87.27 kB / 439.4 MB, free: 14.32 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002229/0.3853, allocations: 78.06 kB / 439.5 MB, free: 14.23 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002649/0.3855, allocations: 346.8 kB / 439.9 MB, free: 13.88 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005438/0.3861, allocations: 96.69 kB / 440 MB, free: 13.79 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007066/0.3868, allocations: 234.5 kB / 440.2 MB, free: 13.5 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001303/0.3881, allocations: 378.5 kB / 440.6 MB, free: 13.06 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.302e-06/0.3881, allocations: 0 / 440.6 MB, free: 13.06 MB / 350.1 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.001608/0.3897, allocations: 432.8 kB / 441 MB, free: 12.63 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.258e-05/0.3897, allocations: 33.7 kB / 441 MB, free: 12.59 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.049e-05/0.3898, allocations: 8 kB / 441 MB, free: 12.58 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.097e-05/0.3898, allocations: 4.531 kB / 441 MB, free: 12.58 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005401/0.3903, allocations: 75.89 kB / 441.1 MB, free: 12.5 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.137e-05/0.3904, allocations: 15.92 kB / 441.1 MB, free: 12.49 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005677/0.3909, allocations: 39.77 kB / 441.1 MB, free: 12.45 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.291e-05/0.391, allocations: 16 kB / 441.2 MB, free: 12.43 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * Number of states: 0 () * Number of discrete variables: 20 (rectifiedMean.mean.y_last,$PRE.rectifiedMean.mean.y_last,mean.y_last,$PRE.mean.y_last,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,rootMeanSquare.mean.y_last,$PRE.rootMeanSquare.mean.y_last,harmonic.mean2.y_last,$PRE.harmonic.mean2.y_last,harmonic.mean1.y_last,$PRE.harmonic.mean1.y_last,pulse.count,$PRE.pulse.count,pulse.T_start,$PRE.pulse.T_start,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (45): * Single equations (assignments): 44 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002982/0.3913, allocations: 171.4 kB / 441.3 MB, free: 12.25 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001099/0.3914, allocations: 39.75 kB / 441.4 MB, free: 12.21 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008529/0.3922, allocations: 306.2 kB / 441.7 MB, free: 11.91 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.583e-06/0.3922, allocations: 7.984 kB / 441.7 MB, free: 11.9 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.363e-06/0.3923, allocations: 3.984 kB / 441.7 MB, free: 11.89 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.68e-06/0.3923, allocations: 0 / 441.7 MB, free: 11.89 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004565/0.3927, allocations: 369.3 kB / 442 MB, free: 11.48 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.527e-06/0.3927, allocations: 0 / 442 MB, free: 11.48 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002402/0.393, allocations: 43.91 kB / 442.1 MB, free: 11.44 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.185e-06/0.393, allocations: 3.984 kB / 442.1 MB, free: 11.44 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3e-05/0.393, allocations: 8 kB / 442.1 MB, free: 11.43 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.595e-06/0.393, allocations: 0 / 442.1 MB, free: 11.43 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.393, allocations: 0 / 442.1 MB, free: 11.43 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001028/0.394, allocations: 465.5 kB / 442.5 MB, free: 10.95 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001072/0.3941, allocations: 116.8 kB / 442.7 MB, free: 10.82 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.461e-05/0.3942, allocations: 15.98 kB / 442.7 MB, free: 10.8 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002306/0.3944, allocations: 15.98 kB / 442.7 MB, free: 10.79 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.566e-05/0.3945, allocations: 27.95 kB / 442.7 MB, free: 10.76 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.11e-05/0.3946, allocations: 15.98 kB / 442.7 MB, free: 10.75 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002948/0.3949, allocations: 235 kB / 443 MB, free: 10.52 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3949, allocations: 0 / 443 MB, free: 10.52 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004077/0.3953, allocations: 67.89 kB / 443 MB, free: 10.45 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (mean.x,rectifiedMean.mean.x,rootMeanSquare.mean.x,harmonic.mean1.x,harmonic.mean2.x) * Number of discrete variables: 13 ($whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,pulse.T_start,pulse.count,mean.y_last,rectifiedMean.mean.y_last,rootMeanSquare.mean.y_last,harmonic.mean1.y_last,harmonic.mean2.y_last) * Number of discrete states: 6 (pulse.count,mean.x,rectifiedMean.mean.x,rootMeanSquare.mean.x,harmonic.mean1.x,harmonic.mean2.x) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (28): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 7 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001702/0.3954, allocations: 115.2 kB / 443.1 MB, free: 10.32 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0008137/0.3963, allocations: 311 kB / 443.4 MB, free: 10.01 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.717e-06/0.3963, allocations: 4 kB / 443.5 MB, free: 10 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003135/0.3966, allocations: 115.9 kB / 443.6 MB, free: 9.891 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003914/0.397, allocations: 50.06 kB / 443.6 MB, free: 9.844 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001298/0.3983, allocations: 0.6497 MB / 444.3 MB, free: 9.16 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004725/0.3987, allocations: 0.7876 MB / 445.1 MB, free: 8.344 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001216/0.3989, allocations: 39.42 kB / 445.1 MB, free: 8.305 MB / 350.1 MB Notification: Performance of SimCode: time 6.31e-07/0.3989, allocations: 0 / 445.1 MB, free: 8.305 MB / 350.1 MB Notification: Performance of Templates: time 0.008462/0.4073, allocations: 4.335 MB / 449.4 MB, free: 3.984 MB / 350.1 MB [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Blocks.Examples.DemoSignalCharacteristic.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Blocks.Examples.DemoSignalCharacteristic.pipe ; mkfifo Modelica_trunk_Modelica.Blocks.Examples.DemoSignalCharacteristic.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Blocks.Examples.DemoSignalCharacteristic.pipe >> ../files/Modelica_trunk_Modelica.Blocks.Examples.DemoSignalCharacteristic.sim & ./Modelica_trunk_Modelica.Blocks.Examples.DemoSignalCharacteristic -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_trunk_Modelica.Blocks.Examples.DemoSignalCharacteristic.pipe 2>&1) [Timeout 480]