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.001383/0.001383, allocations: 104.7 kB / 19.8 MB, free: 2.516 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.001723/0.001723, allocations: 209.1 kB / 22.99 MB, free: 5.609 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.59/1.59, allocations: 230.2 MB / 256.2 MB, free: 8.566 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.002015/0.002015, allocations: 59.91 kB / 376.5 MB, free: 3.629 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4105/0.4125, allocations: 53.33 MB / 429.8 MB, free: 7.566 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.DemoSignalCharacteristic): time 0.006156/0.4186, allocations: 2.311 MB / 432.1 MB, free: 5.242 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003085/0.4217, allocations: 0.9464 MB / 433.1 MB, free: 4.289 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003732/0.4221, allocations: 7.938 kB / 433.1 MB, free: 4.281 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002725/0.4224, allocations: 39.53 kB / 433.1 MB, free: 4.242 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000688/0.4231, allocations: 107.3 kB / 433.2 MB, free: 4.137 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006774/0.4237, allocations: 175.6 kB / 433.4 MB, free: 3.965 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000825/0.4246, allocations: 430.8 kB / 433.8 MB, free: 3.543 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003329/0.4249, allocations: 79.5 kB / 433.9 MB, free: 3.461 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004898/0.4254, allocations: 183.2 kB / 434.1 MB, free: 3.281 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004387/0.4258, allocations: 187.1 kB / 434.2 MB, free: 3.098 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001335/0.426, allocations: 40 kB / 434.3 MB, free: 3.059 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001671/0.4261, allocations: 55.98 kB / 434.3 MB, free: 3.004 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001491/0.4263, allocations: 95.61 kB / 434.4 MB, free: 2.91 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003225/0.4266, allocations: 183 kB / 434.6 MB, free: 2.73 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008091/0.4274, allocations: 419.5 kB / 435 MB, free: 2.328 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.05e-06/0.4274, allocations: 0 / 435 MB, free: 2.328 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.292e-06/0.4274, allocations: 0 / 435 MB, free: 2.328 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.633e-05/0.4274, allocations: 3.938 kB / 435 MB, free: 2.324 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.002428/0.4299, allocations: 0.7324 MB / 435.7 MB, free: 1.539 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.331e-05/0.4299, allocations: 12.03 kB / 435.8 MB, free: 1.527 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000566/0.4305, allocations: 60.64 kB / 435.8 MB, free: 1.469 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001014/0.4315, allocations: 396.5 kB / 436.2 MB, free: 1.043 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.455e-05/0.4315, allocations: 20.81 kB / 436.2 MB, free: 1.02 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.544e-05/0.4316, allocations: 28.38 kB / 436.3 MB, free: 0.9922 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009028/0.4325, allocations: 259.4 kB / 436.5 MB, free: 0.7383 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.671e-05/0.4326, allocations: 3.953 kB / 436.5 MB, free: 0.7344 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.287e-05/0.4326, allocations: 12 kB / 436.5 MB, free: 0.7227 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.189e-05/0.4326, allocations: 4 kB / 436.5 MB, free: 0.7188 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008857/0.4335, allocations: 189.6 kB / 436.7 MB, free: 0.5312 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002292/0.4358, allocations: 0.7752 MB / 437.5 MB, free: 15.71 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008694/0.4367, allocations: 182.6 kB / 437.7 MB, free: 15.52 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004442/0.4371, allocations: 88.8 kB / 437.8 MB, free: 15.43 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.749e-05/0.4372, allocations: 11.98 kB / 437.8 MB, free: 15.42 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008503/0.438, allocations: 244.9 kB / 438 MB, free: 15.16 MB / 350.1 MB Notification: Performance of pre-optimization done (n=28): time 2.955e-06/0.438, allocations: 0 / 438 MB, free: 15.16 MB / 350.1 MB Notification: Performance of matching and sorting (n=28): time 0.001694/0.4397, allocations: 379.3 kB / 438.4 MB, free: 14.79 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.556e-05/0.4398, allocations: 55.41 kB / 438.4 MB, free: 14.72 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006206/0.4404, allocations: 324.5 kB / 438.7 MB, free: 14.4 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 6.674e-05/0.4405, allocations: 41.7 kB / 438.8 MB, free: 14.36 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002371/0.4407, allocations: 180.8 kB / 439 MB, free: 14.18 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001345/0.4409, allocations: 91.27 kB / 439.1 MB, free: 14.09 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000197/0.4411, allocations: 74.06 kB / 439.1 MB, free: 14 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002636/0.4413, allocations: 346.8 kB / 439.5 MB, free: 13.66 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004701/0.4418, allocations: 96.67 kB / 439.6 MB, free: 13.56 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006377/0.4424, allocations: 238.5 kB / 439.8 MB, free: 13.27 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00106/0.4435, allocations: 374.5 kB / 440.2 MB, free: 12.84 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.576e-05/0.4435, allocations: 4 kB / 440.2 MB, free: 12.83 MB / 350.1 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.001575/0.4451, allocations: 432.8 kB / 440.6 MB, free: 12.4 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.817e-05/0.4452, allocations: 34.23 kB / 440.6 MB, free: 12.36 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.475e-05/0.4452, allocations: 4 kB / 440.6 MB, free: 12.36 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.329e-05/0.4452, allocations: 12 kB / 440.6 MB, free: 12.34 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004578/0.4457, allocations: 67.89 kB / 440.7 MB, free: 12.28 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.401e-05/0.4457, allocations: 11.94 kB / 440.7 MB, free: 12.27 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004953/0.4462, allocations: 47.75 kB / 440.8 MB, free: 12.22 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.627e-05/0.4462, allocations: 19.94 kB / 440.8 MB, free: 12.2 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.0003554/0.4466, allocations: 175.4 kB / 440.9 MB, free: 12.02 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001029/0.4467, allocations: 35.75 kB / 441 MB, free: 11.98 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001317/0.448, allocations: 306.2 kB / 441.3 MB, free: 11.67 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.662e-06/0.448, allocations: 0 / 441.3 MB, free: 11.67 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.425e-06/0.448, allocations: 0 / 441.3 MB, free: 11.67 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.582e-06/0.448, allocations: 0 / 441.3 MB, free: 11.67 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006598/0.4487, allocations: 373.3 kB / 441.6 MB, free: 11.26 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.008e-06/0.4487, allocations: 0 / 441.6 MB, free: 11.26 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004126/0.4491, allocations: 39.95 kB / 441.7 MB, free: 11.22 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.097e-05/0.4491, allocations: 3.984 kB / 441.7 MB, free: 11.21 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.976e-05/0.4492, allocations: 11.98 kB / 441.7 MB, free: 11.2 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.288e-06/0.4492, allocations: 0 / 441.7 MB, free: 11.2 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.544e-06/0.4492, allocations: 0 / 441.7 MB, free: 11.2 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001726/0.4509, allocations: 461.4 kB / 442.1 MB, free: 10.73 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001666/0.4511, allocations: 120.8 kB / 442.3 MB, free: 10.59 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.13e-05/0.4511, allocations: 8 kB / 442.3 MB, free: 10.59 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003942/0.4515, allocations: 19.97 kB / 442.3 MB, free: 10.57 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001373/0.4517, allocations: 23.97 kB / 442.3 MB, free: 10.54 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.406e-05/0.4517, allocations: 20.17 kB / 442.3 MB, free: 10.52 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0004839/0.4522, allocations: 235 kB / 442.6 MB, free: 10.29 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.4522, allocations: 0 / 442.6 MB, free: 10.29 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0007294/0.4529, allocations: 71.89 kB / 442.6 MB, free: 10.22 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.0002681/0.4532, allocations: 115.2 kB / 442.7 MB, free: 10.1 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001301/0.4545, allocations: 311 kB / 443.1 MB, free: 9.781 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.747e-06/0.4545, allocations: 0 / 443.1 MB, free: 9.781 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004972/0.455, allocations: 116.9 kB / 443.2 MB, free: 9.668 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006151/0.4556, allocations: 56.98 kB / 443.2 MB, free: 9.613 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002028/0.4577, allocations: 0.6208 MB / 443.8 MB, free: 8.965 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000656/0.4583, allocations: 0.7876 MB / 444.6 MB, free: 8.148 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0003193/0.4586, allocations: 47.03 kB / 444.7 MB, free: 8.105 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001777/0.4588, allocations: 39.42 kB / 444.7 MB, free: 8.066 MB / 350.1 MB Notification: Performance of SimCode: time 1.723e-06/0.4588, allocations: 0 / 444.7 MB, free: 8.066 MB / 350.1 MB Notification: Performance of Templates: time 0.01635/0.4752, allocations: 3.689 MB / 448.4 MB, free: 4.398 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: 4.964376511052251]