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.001107/0.001107, allocations: 84.73 kB / 21.5 MB, free: 2.992 MB / 18.57 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.0009612/0.0009612, allocations: 166.4 kB / 24.91 MB, free: 8.77 MB / 18.57 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 0.9777/0.9777, allocations: 177 MB / 205.2 MB, free: 5.445 MB / 186.7 MB " [Timeout remaining time 179] 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="mat",numberOfIntervals=1000,variableFilter="time|mean.y|rectifiedMean.y|rootMeanSquare.y|harmonic.mean1.y|harmonic.mean2.y",fileNamePrefix="Modelica_trunk_Modelica.Blocks.Examples.DemoSignalCharacteristic") translateModel(Modelica.Blocks.Examples.DemoSignalCharacteristic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|mean.y|rectifiedMean.y|rootMeanSquare.y|harmonic.mean1.y|harmonic.mean2.y",fileNamePrefix="Modelica_trunk_Modelica.Blocks.Examples.DemoSignalCharacteristic") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.452e-06/1.452e-06, allocations: 0 / 273.4 MB, free: 1.23 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.005e-05/2.15e-05, allocations: 2.312 kB / 273.4 MB, free: 1.227 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.DemoSignalCharacteristic): time 0.002722/0.002744, allocations: 2.23 MB / 275.6 MB, free: 14.98 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001712/0.004456, allocations: 0.9577 MB / 276.6 MB, free: 14.02 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001695/0.004626, allocations: 11.88 kB / 276.6 MB, free: 14 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001348/0.00476, allocations: 35.53 kB / 276.6 MB, free: 13.97 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003021/0.005062, allocations: 115.1 kB / 276.7 MB, free: 13.86 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003744/0.005437, allocations: 175.5 kB / 276.9 MB, free: 13.68 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004018/0.005839, allocations: 434.8 kB / 277.3 MB, free: 13.26 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001575/0.005996, allocations: 74.62 kB / 277.4 MB, free: 13.19 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004151/0.006411, allocations: 267.3 kB / 277.6 MB, free: 12.93 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000256/0.006667, allocations: 143.5 kB / 277.8 MB, free: 12.79 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 6.197e-05/0.006729, allocations: 40 kB / 277.8 MB, free: 12.75 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001028/0.006832, allocations: 55.92 kB / 277.9 MB, free: 12.69 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 8.702e-05/0.006919, allocations: 95.59 kB / 278 MB, free: 12.6 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001058/0.007025, allocations: 119.6 kB / 278.1 MB, free: 12.48 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003851/0.00741, allocations: 294.9 kB / 278.4 MB, free: 12.19 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.956e-06/0.007413, allocations: 0 / 278.4 MB, free: 12.19 MB / 266.7 MB Notification: Performance of FrontEnd: time 6.41e-07/0.007413, allocations: 0 / 278.4 MB, free: 12.19 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.42e-06/0.007419, allocations: 0 / 278.4 MB, free: 12.19 MB / 266.7 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.001536/0.008955, allocations: 0.613 MB / 279 MB, free: 11.55 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.211e-05/0.009007, allocations: 11.98 kB / 279 MB, free: 11.54 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002507/0.009258, allocations: 72.86 kB / 279.1 MB, free: 11.47 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004283/0.009686, allocations: 257.6 kB / 279.3 MB, free: 11.19 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.12e-05/0.009728, allocations: 24.86 kB / 279.4 MB, free: 11.16 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.102e-05/0.009779, allocations: 28.38 kB / 279.4 MB, free: 11.14 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003256/0.0101, allocations: 189.2 kB / 279.6 MB, free: 10.95 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.676e-05/0.01012, allocations: 192 / 279.6 MB, free: 10.95 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.366e-05/0.01014, allocations: 8.375 kB / 279.6 MB, free: 10.94 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.057e-05/0.01016, allocations: 11.94 kB / 279.6 MB, free: 10.93 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.84e-05/0.01025, allocations: 47.47 kB / 279.6 MB, free: 10.88 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008807/0.01113, allocations: 456.7 kB / 280.1 MB, free: 10.41 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001765/0.01131, allocations: 90.45 kB / 280.2 MB, free: 10.32 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.777e-05/0.01136, allocations: 32.84 kB / 280.2 MB, free: 10.28 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.686e-05/0.01139, allocations: 4 kB / 280.2 MB, free: 10.28 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002206/0.01161, allocations: 173 kB / 280.4 MB, free: 10.09 MB / 266.7 MB Notification: Performance of pre-optimization done (n=28): time 2.304e-06/0.01161, allocations: 0 / 280.4 MB, free: 10.09 MB / 266.7 MB Notification: Performance of matching and sorting (n=28): time 0.0002635/0.01187, allocations: 159.6 kB / 280.5 MB, free: 9.934 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.359e-05/0.01192, allocations: 63.34 kB / 280.6 MB, free: 9.859 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001915/0.01211, allocations: 286.8 kB / 280.9 MB, free: 9.57 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.769e-05/0.01213, allocations: 37.7 kB / 280.9 MB, free: 9.527 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.582e-05/0.01222, allocations: 169.3 kB / 281.1 MB, free: 9.355 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.837e-05/0.01227, allocations: 87.3 kB / 281.2 MB, free: 9.27 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.494e-05/0.01234, allocations: 70.03 kB / 281.2 MB, free: 9.191 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001127/0.01246, allocations: 350.7 kB / 281.6 MB, free: 8.84 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.179e-05/0.01253, allocations: 58.42 kB / 281.6 MB, free: 8.777 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001177/0.01265, allocations: 200 kB / 281.8 MB, free: 8.516 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002181/0.01286, allocations: 276.6 kB / 282.1 MB, free: 8.18 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.779e-06/0.01287, allocations: 8 kB / 282.1 MB, free: 8.172 MB / 266.7 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0002758/0.01314, allocations: 276.4 kB / 282.4 MB, free: 7.883 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.095e-05/0.01319, allocations: 42.16 kB / 282.4 MB, free: 7.836 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.869e-06/0.0132, allocations: 8 kB / 282.4 MB, free: 7.828 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.881e-05/0.01321, allocations: 12.03 kB / 282.4 MB, free: 7.816 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002059/0.01342, allocations: 75.84 kB / 282.5 MB, free: 7.742 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.332e-05/0.01343, allocations: 15.92 kB / 282.5 MB, free: 7.727 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001391/0.01357, allocations: 31.78 kB / 282.5 MB, free: 7.695 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.109e-05/0.01359, allocations: 19.98 kB / 282.6 MB, free: 7.676 MB / 266.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: 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.0001354/0.01373, allocations: 142.5 kB / 282.7 MB, free: 7.527 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.345e-05/0.01377, allocations: 31.97 kB / 282.7 MB, free: 7.496 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002544/0.01403, allocations: 154.4 kB / 282.9 MB, free: 7.336 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.33e-06/0.01403, allocations: 4 kB / 282.9 MB, free: 7.332 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.54e-06/0.01404, allocations: 3.938 kB / 282.9 MB, free: 7.328 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.843e-06/0.01404, allocations: 0 / 282.9 MB, free: 7.328 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002261/0.01427, allocations: 181.6 kB / 283.1 MB, free: 7.133 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.138e-06/0.01427, allocations: 3.938 kB / 283.1 MB, free: 7.129 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001349/0.01441, allocations: 31.97 kB / 283.1 MB, free: 7.098 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.637e-06/0.01441, allocations: 0 / 283.1 MB, free: 7.098 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.068e-05/0.01443, allocations: 15.98 kB / 283.1 MB, free: 7.082 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.116e-06/0.01444, allocations: 0 / 283.1 MB, free: 7.082 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.773e-06/0.01444, allocations: 0 / 283.1 MB, free: 7.082 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003183/0.01476, allocations: 216.8 kB / 283.3 MB, free: 6.848 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.821e-05/0.0148, allocations: 27.75 kB / 283.4 MB, free: 6.82 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.718e-05/0.01483, allocations: 16.11 kB / 283.4 MB, free: 6.805 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.544e-05/0.01493, allocations: 15.98 kB / 283.4 MB, free: 6.789 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.8e-05/0.015, allocations: 23.95 kB / 283.4 MB, free: 6.766 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.58e-05/0.01501, allocations: 11.98 kB / 283.4 MB, free: 6.754 MB / 266.7 MB Notification: Performance of sorting global known variables: time 9.465e-05/0.01511, allocations: 112.6 kB / 283.5 MB, free: 6.645 MB / 266.7 MB Notification: Performance of sort global known variables: time 1.81e-07/0.01511, allocations: 4 kB / 283.5 MB, free: 6.641 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.000235/0.01534, allocations: 71.83 kB / 283.6 MB, free: 6.57 MB / 266.7 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.0001376/0.01548, allocations: 96.34 kB / 283.7 MB, free: 6.469 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0002423/0.01572, allocations: 222.6 kB / 283.9 MB, free: 6.23 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 8.175e-06/0.01573, allocations: 8.125 kB / 283.9 MB, free: 6.223 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 8.085e-05/0.01581, allocations: 69.14 kB / 284 MB, free: 6.152 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002147/0.01603, allocations: 61 kB / 284.1 MB, free: 6.094 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009152/0.01694, allocations: 0.5774 MB / 284.6 MB, free: 5.484 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.457e-05/0.01701, allocations: 96.94 kB / 284.7 MB, free: 5.367 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 9.582e-05/0.0171, allocations: 42.91 kB / 284.8 MB, free: 5.328 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001722/0.01727, allocations: 111.3 kB / 284.9 MB, free: 5.219 MB / 266.7 MB Notification: Performance of SimCode: time 8.92e-07/0.01727, allocations: 0 / 284.9 MB, free: 5.219 MB / 266.7 MB Notification: Performance of Templates: time 0.007541/0.02481, allocations: 3.949 MB / 288.8 MB, free: 1.34 MB / 266.7 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=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Blocks.Examples.DemoSignalCharacteristic.pipe 2>&1) [Timeout 240] [Calling os._exit(0), Time elapsed: 243.02402434824035]