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.001505/0.001505, allocations: 84.73 kB / 21.5 MB, free: 2.988 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.001205/0.001205, allocations: 160.2 kB / 24.91 MB, free: 8.762 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 1.027/1.027, allocations: 177 MB / 205.2 MB, free: 5.02 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 3.036e-06/3.036e-06, allocations: 0 / 273.4 MB, free: 1.02 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.482e-05/4.785e-05, allocations: 5.406 kB / 273.4 MB, free: 1.016 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.DemoSignalCharacteristic): time 0.003941/0.003988, allocations: 2.259 MB / 275.7 MB, free: 14.74 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0017/0.005688, allocations: 0.9538 MB / 276.6 MB, free: 13.78 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002277/0.005916, allocations: 7.938 kB / 276.6 MB, free: 13.77 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001347/0.00605, allocations: 39.53 kB / 276.7 MB, free: 13.73 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003454/0.006396, allocations: 119 kB / 276.8 MB, free: 13.61 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003688/0.006765, allocations: 171.5 kB / 277 MB, free: 13.45 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004577/0.007222, allocations: 438.7 kB / 277.4 MB, free: 13.02 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001818/0.007404, allocations: 78.62 kB / 277.5 MB, free: 12.94 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003337/0.007738, allocations: 255.4 kB / 277.7 MB, free: 12.69 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002353/0.007973, allocations: 151.5 kB / 277.9 MB, free: 12.54 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 5.144e-05/0.008025, allocations: 36 kB / 277.9 MB, free: 12.51 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001057/0.00813, allocations: 59.91 kB / 278 MB, free: 12.45 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 6.919e-05/0.008199, allocations: 95.59 kB / 278.1 MB, free: 12.36 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001042/0.008304, allocations: 123.6 kB / 278.2 MB, free: 12.23 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003293/0.008633, allocations: 282.9 kB / 278.5 MB, free: 11.96 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.636e-06/0.008637, allocations: 0 / 278.5 MB, free: 11.96 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.713e-06/0.008638, allocations: 0 / 278.5 MB, free: 11.96 MB / 266.7 MB Notification: Performance of Transformations before backend: time 6.432e-06/0.008645, allocations: 3.938 kB / 278.5 MB, free: 11.95 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.0009098/0.009555, allocations: 0.6168 MB / 279.1 MB, free: 11.31 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.663e-05/0.009591, allocations: 11.98 kB / 279.1 MB, free: 11.3 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002252/0.009816, allocations: 76.86 kB / 279.2 MB, free: 11.22 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003/0.01012, allocations: 249.7 kB / 279.4 MB, free: 10.95 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.473e-05/0.01014, allocations: 24.88 kB / 279.4 MB, free: 10.93 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.617e-05/0.01018, allocations: 32.38 kB / 279.5 MB, free: 10.89 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002363/0.01041, allocations: 185.2 kB / 279.6 MB, free: 10.71 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.258e-05/0.01043, allocations: 192 / 279.6 MB, free: 10.71 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.631e-05/0.01044, allocations: 4.375 kB / 279.6 MB, free: 10.7 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.374e-06/0.01045, allocations: 15.94 kB / 279.7 MB, free: 10.69 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.376e-05/0.01053, allocations: 51.41 kB / 279.7 MB, free: 10.63 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006692/0.0112, allocations: 460.7 kB / 280.2 MB, free: 10.17 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001542/0.01136, allocations: 90.45 kB / 280.2 MB, free: 10.07 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.067e-05/0.0114, allocations: 32.84 kB / 280.3 MB, free: 10.04 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.029e-05/0.01142, allocations: 4 kB / 280.3 MB, free: 10.03 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002017/0.01162, allocations: 177 kB / 280.5 MB, free: 9.844 MB / 266.7 MB Notification: Performance of pre-optimization done (n=28): time 2.124e-06/0.01162, allocations: 0 / 280.5 MB, free: 9.844 MB / 266.7 MB Notification: Performance of matching and sorting (n=28): time 0.0002606/0.01188, allocations: 159.7 kB / 280.6 MB, free: 9.684 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.976e-05/0.01192, allocations: 67.28 kB / 280.7 MB, free: 9.605 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001861/0.01211, allocations: 290.8 kB / 281 MB, free: 9.312 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.761e-05/0.01214, allocations: 33.7 kB / 281 MB, free: 9.273 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.583e-05/0.01221, allocations: 161.3 kB / 281.2 MB, free: 9.109 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.347e-05/0.01227, allocations: 87.3 kB / 281.2 MB, free: 9.023 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.71e-05/0.01234, allocations: 74.02 kB / 281.3 MB, free: 8.945 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 9.35e-05/0.01244, allocations: 358.7 kB / 281.7 MB, free: 8.586 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.419e-05/0.01251, allocations: 58.42 kB / 281.7 MB, free: 8.523 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001252/0.01264, allocations: 192.1 kB / 281.9 MB, free: 8.27 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002221/0.01286, allocations: 273.3 kB / 282.2 MB, free: 7.934 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.698e-06/0.01286, allocations: 4 kB / 282.2 MB, free: 7.93 MB / 266.7 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0002811/0.01314, allocations: 283.8 kB / 282.5 MB, free: 7.637 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.998e-05/0.01318, allocations: 33.7 kB / 282.5 MB, free: 7.598 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.676e-06/0.01319, allocations: 4 kB / 282.5 MB, free: 7.594 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.074e-05/0.01321, allocations: 11.98 kB / 282.5 MB, free: 7.582 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000188/0.0134, allocations: 75.91 kB / 282.6 MB, free: 7.508 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.644e-05/0.01342, allocations: 19.86 kB / 282.6 MB, free: 7.488 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001353/0.01355, allocations: 39.77 kB / 282.6 MB, free: 7.449 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.638e-05/0.01357, allocations: 12 kB / 282.6 MB, free: 7.438 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.0001268/0.0137, allocations: 150.8 kB / 282.8 MB, free: 7.281 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.873e-05/0.01373, allocations: 35.95 kB / 282.8 MB, free: 7.246 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002243/0.01396, allocations: 154.4 kB / 283 MB, free: 7.086 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.749e-06/0.01396, allocations: 4.062 kB / 283 MB, free: 7.082 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/0.01397, allocations: 7.938 kB / 283 MB, free: 7.074 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.169e-06/0.01397, allocations: 0 / 283 MB, free: 7.074 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001917/0.01416, allocations: 177.7 kB / 283.2 MB, free: 6.883 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.387e-06/0.01417, allocations: 4 kB / 283.2 MB, free: 6.879 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001212/0.01429, allocations: 35.91 kB / 283.2 MB, free: 6.844 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.6e-06/0.01429, allocations: 4 kB / 283.2 MB, free: 6.84 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.624e-05/0.01431, allocations: 4 kB / 283.2 MB, free: 6.836 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.896e-06/0.01431, allocations: 0 / 283.2 MB, free: 6.836 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.834e-06/0.01432, allocations: 4 kB / 283.2 MB, free: 6.832 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000292/0.01461, allocations: 208.8 kB / 283.4 MB, free: 6.605 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.407e-05/0.01465, allocations: 35.72 kB / 283.5 MB, free: 6.57 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.444e-05/0.01469, allocations: 8 kB / 283.5 MB, free: 6.562 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.532e-05/0.01478, allocations: 19.98 kB / 283.5 MB, free: 6.543 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.467e-05/0.01485, allocations: 23.95 kB / 283.5 MB, free: 6.52 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.589e-05/0.01486, allocations: 15.92 kB / 283.5 MB, free: 6.504 MB / 266.7 MB Notification: Performance of sorting global known variables: time 9.798e-05/0.01496, allocations: 116.6 kB / 283.6 MB, free: 6.391 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01496, allocations: 0 / 283.6 MB, free: 6.391 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.000231/0.01519, allocations: 75.83 kB / 283.7 MB, free: 6.316 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.000122/0.01531, allocations: 88.41 kB / 283.8 MB, free: 6.223 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0002602/0.01557, allocations: 233.6 kB / 284 MB, free: 5.973 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 6.142e-06/0.01558, allocations: 0 / 284 MB, free: 5.973 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 8.108e-05/0.01566, allocations: 69.2 kB / 284.1 MB, free: 5.902 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002193/0.01588, allocations: 66.06 kB / 284.2 MB, free: 5.84 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009628/0.01684, allocations: 0.5695 MB / 284.7 MB, free: 5.238 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.836e-05/0.0169, allocations: 96.94 kB / 284.8 MB, free: 5.121 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001076/0.01701, allocations: 47.03 kB / 284.9 MB, free: 5.078 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001498/0.01716, allocations: 111.3 kB / 285 MB, free: 4.969 MB / 266.7 MB Notification: Performance of SimCode: time 1.283e-06/0.01716, allocations: 0 / 285 MB, free: 4.969 MB / 266.7 MB Notification: Performance of Templates: time 0.00652/0.02368, allocations: 3.94 MB / 288.9 MB, free: 1.098 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 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Blocks.Examples.DemoSignalCharacteristic.pipe 2>&1) [Timeout 240] [Calling os._exit(0), Time elapsed: 2.926708165090531]