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 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001358/0.001358, allocations: 111.9 kB / 19.18 MB, free: 3.762 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001443/0.001443, allocations: 208.9 kB / 22.13 MB, free: 0.8125 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.48/1.48, allocations: 230.2 MB / 255.2 MB, free: 15.25 MB / 206.1 MB " [Timeout remaining time 178] 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.001873/0.001873, allocations: 59.91 kB / 374.5 MB, free: 9.918 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1041/0.106, allocations: 53.33 MB / 427.8 MB, free: 4.492 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.DemoSignalCharacteristic): time 0.003735/0.1097, allocations: 2.285 MB / 430.1 MB, free: 2.195 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001807/0.1115, allocations: 0.9542 MB / 431.1 MB, free: 1.234 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001461/0.1117, allocations: 4 kB / 431.1 MB, free: 1.23 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001521/0.1118, allocations: 39.47 kB / 431.1 MB, free: 1.191 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003601/0.1122, allocations: 107.3 kB / 431.2 MB, free: 1.086 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000422/0.1126, allocations: 167.7 kB / 431.4 MB, free: 0.9219 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004974/0.1131, allocations: 426.8 kB / 431.8 MB, free: 0.5039 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002159/0.1133, allocations: 95.48 kB / 431.9 MB, free: 416 kB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003225/0.1137, allocations: 179.3 kB / 432.1 MB, free: 236 kB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003066/0.114, allocations: 195 kB / 432.3 MB, free: 40 kB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.814e-05/0.114, allocations: 40 kB / 432.3 MB, free: 0 / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.2239/0.3379, allocations: 46.84 kB / 432.4 MB, free: 8.469 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000145/0.3381, allocations: 90.03 kB / 432.4 MB, free: 8.469 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002322/0.3383, allocations: 185.6 kB / 432.6 MB, free: 8.441 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005646/0.3389, allocations: 422.4 kB / 433 MB, free: 8.379 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.3389, allocations: 0.9062 kB / 433 MB, free: 8.379 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.394e-06/0.3389, allocations: 0.7188 kB / 433 MB, free: 8.379 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.316e-05/0.3389, allocations: 3.031 kB / 433 MB, free: 8.379 MB / 350.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.001448/0.3404, allocations: 0.7318 MB / 433.8 MB, free: 7.852 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.997e-05/0.3404, allocations: 9.75 kB / 433.8 MB, free: 7.852 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003143/0.3407, allocations: 66.36 kB / 433.9 MB, free: 7.828 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005425/0.3413, allocations: 384.2 kB / 434.2 MB, free: 7.59 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.85e-05/0.3413, allocations: 20.56 kB / 434.2 MB, free: 7.59 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.213e-05/0.3413, allocations: 35.53 kB / 434.3 MB, free: 7.59 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005175/0.3419, allocations: 254.7 kB / 434.5 MB, free: 7.555 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.374e-05/0.3419, allocations: 4.469 kB / 434.5 MB, free: 7.551 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.204e-05/0.3419, allocations: 12.47 kB / 434.5 MB, free: 7.551 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.257e-05/0.3419, allocations: 7.75 kB / 434.6 MB, free: 7.551 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004847/0.3424, allocations: 182.3 kB / 434.7 MB, free: 7.547 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001201/0.3436, allocations: 0.784 MB / 435.5 MB, free: 7.246 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004968/0.3441, allocations: 177.1 kB / 435.7 MB, free: 7.223 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002407/0.3444, allocations: 84.94 kB / 435.8 MB, free: 7.215 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.468e-05/0.3444, allocations: 8.641 kB / 435.8 MB, free: 7.215 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004991/0.3449, allocations: 245 kB / 436 MB, free: 7.156 MB / 350.1 MB Notification: Performance of pre-optimization done (n=28): time 2.314e-06/0.3449, allocations: 0 / 436 MB, free: 7.156 MB / 350.1 MB Notification: Performance of matching and sorting (n=28): time 0.00101/0.3459, allocations: 380.4 kB / 436.4 MB, free: 7.102 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.319e-05/0.346, allocations: 65.36 kB / 436.5 MB, free: 7.039 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003495/0.3463, allocations: 326.4 kB / 436.8 MB, free: 6.926 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.236e-05/0.3463, allocations: 38.73 kB / 436.8 MB, free: 6.895 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001006/0.3464, allocations: 187.6 kB / 437 MB, free: 6.785 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.22e-05/0.3465, allocations: 89.02 kB / 437.1 MB, free: 6.73 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001165/0.3466, allocations: 75.22 kB / 437.2 MB, free: 6.711 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 7.67e-05/0.3467, allocations: 346 kB / 437.5 MB, free: 6.398 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002902/0.347, allocations: 100.2 kB / 437.6 MB, free: 6.398 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003301/0.3473, allocations: 231.9 kB / 437.8 MB, free: 6.238 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005816/0.3479, allocations: 378.8 kB / 438.2 MB, free: 6.039 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.36e-06/0.3479, allocations: 1.875 kB / 438.2 MB, free: 6.039 MB / 350.1 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0008412/0.3487, allocations: 434.1 kB / 438.6 MB, free: 5.945 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.798e-05/0.3488, allocations: 34.61 kB / 438.6 MB, free: 5.914 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.237e-06/0.3488, allocations: 5.531 kB / 438.7 MB, free: 5.914 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.404e-05/0.3488, allocations: 6.812 kB / 438.7 MB, free: 5.914 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002952/0.3491, allocations: 69.8 kB / 438.7 MB, free: 5.914 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.474e-05/0.3491, allocations: 12.53 kB / 438.7 MB, free: 5.914 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000298/0.3494, allocations: 44.72 kB / 438.8 MB, free: 5.898 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.051e-05/0.3495, allocations: 20.89 kB / 438.8 MB, free: 5.895 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.0001599/0.3496, allocations: 166.5 kB / 439 MB, free: 5.777 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.791e-05/0.3497, allocations: 36.52 kB / 439 MB, free: 5.758 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007292/0.3504, allocations: 309.4 kB / 439.3 MB, free: 5.711 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.891e-06/0.3504, allocations: 3.375 kB / 439.3 MB, free: 5.711 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.5e-06/0.3504, allocations: 0.5156 kB / 439.3 MB, free: 5.711 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.833e-06/0.3504, allocations: 6.109 kB / 439.3 MB, free: 5.711 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003304/0.3508, allocations: 361.8 kB / 439.7 MB, free: 5.516 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.455e-06/0.3508, allocations: 8.062 kB / 439.7 MB, free: 5.512 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002316/0.351, allocations: 36.52 kB / 439.7 MB, free: 5.512 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.747e-06/0.351, allocations: 1.125 kB / 439.7 MB, free: 5.512 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.819e-05/0.351, allocations: 11.8 kB / 439.7 MB, free: 5.512 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.186e-06/0.351, allocations: 5.812 kB / 439.7 MB, free: 5.508 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.351, allocations: 0 / 439.7 MB, free: 5.508 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009691/0.352, allocations: 459.2 kB / 440.2 MB, free: 5.41 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.476e-05/0.3521, allocations: 118.9 kB / 440.3 MB, free: 5.289 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.839e-05/0.3521, allocations: 15.42 kB / 440.3 MB, free: 5.285 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002349/0.3524, allocations: 16.91 kB / 440.3 MB, free: 5.285 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.901e-05/0.3524, allocations: 27.77 kB / 440.4 MB, free: 5.285 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.866e-05/0.3525, allocations: 14.19 kB / 440.4 MB, free: 5.285 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002358/0.3527, allocations: 227.8 kB / 440.6 MB, free: 5.168 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3527, allocations: 3.938 kB / 440.6 MB, free: 5.164 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003818/0.3531, allocations: 74.88 kB / 440.7 MB, free: 5.145 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.000124/0.3532, allocations: 118.1 kB / 440.8 MB, free: 5.047 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0007391/0.3539, allocations: 308.6 kB / 441.1 MB, free: 4.93 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.436e-06/0.354, allocations: 4.375 kB / 441.1 MB, free: 4.926 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003003/0.3543, allocations: 122.6 kB / 441.2 MB, free: 4.898 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003672/0.3546, allocations: 60.2 kB / 441.3 MB, free: 4.875 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001078/0.3557, allocations: 0.645 MB / 441.9 MB, free: 4.473 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002231/0.3559, allocations: 0.7908 MB / 442.7 MB, free: 3.762 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001199/0.356, allocations: 38.14 kB / 442.7 MB, free: 3.75 MB / 350.1 MB Notification: Performance of SimCode: time 3.4e-07/0.356, allocations: 0 / 442.7 MB, free: 3.75 MB / 350.1 MB Notification: Performance of Templates: time 0.008495/0.3645, allocations: 4.34 MB / 447.1 MB, free: 3.344 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] [Calling sys.exit(0), Time elapsed: 7.413943049032241] Failed to read output from testmodel.py, exit status != 0: 0.37256681593135 0.385311974 0.043267267000000005 Calling exit ...