Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Blocks.Examples.DemoSignalCharacteristic.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009502/0.0009502, allocations: 80.8 kB / 21.49 MB, free: 2.992 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001114/0.001114, allocations: 170.3 kB / 24.91 MB, free: 8.762 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9179/0.9179, allocations: 177.1 MB / 205.3 MB, free: 5.117 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/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_4.1.0_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_4.1.0_Modelica.Blocks.Examples.DemoSignalCharacteristic") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.202e-06/1.202e-06, allocations: 0 / 273.4 MB, free: 1.188 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.34e-05/2.461e-05, allocations: 6.312 kB / 273.4 MB, free: 1.18 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.DemoSignalCharacteristic): time 0.002579/0.002604, allocations: 2.226 MB / 275.7 MB, free: 14.94 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001432/0.004035, allocations: 0.9577 MB / 276.6 MB, free: 13.98 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001529/0.004188, allocations: 7.938 kB / 276.6 MB, free: 13.97 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001352/0.004323, allocations: 31.55 kB / 276.7 MB, free: 13.94 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003725/0.004696, allocations: 123.1 kB / 276.8 MB, free: 13.82 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003539/0.00505, allocations: 175.5 kB / 277 MB, free: 13.64 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003895/0.005439, allocations: 430.8 kB / 277.4 MB, free: 13.22 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001587/0.005598, allocations: 78.62 kB / 277.5 MB, free: 13.15 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003975/0.005995, allocations: 263.3 kB / 277.7 MB, free: 12.89 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002318/0.006227, allocations: 151.5 kB / 277.9 MB, free: 12.74 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 5.375e-05/0.006281, allocations: 36 kB / 277.9 MB, free: 12.71 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.056e-05/0.006371, allocations: 55.92 kB / 278 MB, free: 12.65 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 7.629e-05/0.006448, allocations: 91.59 kB / 278 MB, free: 12.56 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000118/0.006566, allocations: 123.6 kB / 278.2 MB, free: 12.44 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003429/0.006909, allocations: 286.9 kB / 278.4 MB, free: 12.16 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.626e-06/0.006912, allocations: 3.938 kB / 278.4 MB, free: 12.16 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.233e-06/0.006913, allocations: 3.938 kB / 278.5 MB, free: 12.15 MB / 266.7 MB Notification: Performance of Transformations before backend: time 6.141e-06/0.00692, allocations: 0 / 278.5 MB, free: 12.15 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.000836/0.007755, allocations: 0.613 MB / 279.1 MB, free: 11.51 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.14e-05/0.007787, allocations: 8.031 kB / 279.1 MB, free: 11.5 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001863/0.007973, allocations: 68.86 kB / 279.1 MB, free: 11.44 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003071/0.00828, allocations: 261.6 kB / 279.4 MB, free: 11.15 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.36e-05/0.008304, allocations: 20.88 kB / 279.4 MB, free: 11.13 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.801e-05/0.008342, allocations: 32.38 kB / 279.4 MB, free: 11.1 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002273/0.008569, allocations: 173.3 kB / 279.6 MB, free: 10.93 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.443e-05/0.008584, allocations: 8.172 kB / 279.6 MB, free: 10.92 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.942e-05/0.008603, allocations: 8.375 kB / 279.6 MB, free: 10.91 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.636e-06/0.008612, allocations: 11.94 kB / 279.6 MB, free: 10.9 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.983e-05/0.008692, allocations: 55.41 kB / 279.7 MB, free: 10.84 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007112/0.009403, allocations: 452.7 kB / 280.1 MB, free: 10.38 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001643/0.009567, allocations: 90.5 kB / 280.2 MB, free: 10.29 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.617e-05/0.009613, allocations: 36.84 kB / 280.3 MB, free: 10.25 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.546e-05/0.009639, allocations: 4 kB / 280.3 MB, free: 10.24 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001953/0.009834, allocations: 169 kB / 280.4 MB, free: 10.06 MB / 266.7 MB Notification: Performance of pre-optimization done (n=28): time 1.824e-06/0.009836, allocations: 0 / 280.4 MB, free: 10.06 MB / 266.7 MB Notification: Performance of matching and sorting (n=28): time 0.0002281/0.01006, allocations: 160.4 kB / 280.6 MB, free: 9.902 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.9e-05/0.0101, allocations: 71.28 kB / 280.7 MB, free: 9.82 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001722/0.01028, allocations: 286.8 kB / 280.9 MB, free: 9.531 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.604e-05/0.0103, allocations: 37.7 kB / 281 MB, free: 9.488 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.19e-05/0.01037, allocations: 165.3 kB / 281.1 MB, free: 9.32 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.804e-05/0.01042, allocations: 87.3 kB / 281.2 MB, free: 9.234 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.876e-05/0.01049, allocations: 66.03 kB / 281.3 MB, free: 9.16 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 8.527e-05/0.01058, allocations: 354.7 kB / 281.6 MB, free: 8.805 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.903e-05/0.01064, allocations: 62.42 kB / 281.7 MB, free: 8.738 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001105/0.01075, allocations: 190.8 kB / 281.9 MB, free: 8.488 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001955/0.01095, allocations: 277.3 kB / 282.2 MB, free: 8.148 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.208e-06/0.01095, allocations: 4 kB / 282.2 MB, free: 8.145 MB / 266.7 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0002529/0.01121, allocations: 280.9 kB / 282.4 MB, free: 7.852 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.008e-05/0.01124, allocations: 33.7 kB / 282.5 MB, free: 7.812 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.174e-06/0.01124, allocations: 8 kB / 282.5 MB, free: 7.805 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.59e-05/0.01126, allocations: 11.98 kB / 282.5 MB, free: 7.793 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001608/0.01142, allocations: 75.84 kB / 282.6 MB, free: 7.719 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.242e-06/0.01143, allocations: 7.938 kB / 282.6 MB, free: 7.711 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001226/0.01155, allocations: 43.7 kB / 282.6 MB, free: 7.668 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.819e-05/0.01157, allocations: 19.98 kB / 282.6 MB, free: 7.648 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.0001019/0.01167, allocations: 150.7 kB / 282.8 MB, free: 7.492 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.324e-05/0.0117, allocations: 31.97 kB / 282.8 MB, free: 7.461 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000206/0.01191, allocations: 153.7 kB / 283 MB, free: 7.301 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.078e-06/0.01191, allocations: 4 kB / 283 MB, free: 7.297 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.465e-06/0.01192, allocations: 3.938 kB / 283 MB, free: 7.293 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.238e-06/0.01192, allocations: 0 / 283 MB, free: 7.293 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001603/0.01208, allocations: 169.6 kB / 283.1 MB, free: 7.109 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.096e-06/0.01208, allocations: 8 kB / 283.1 MB, free: 7.102 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001026/0.01219, allocations: 35.91 kB / 283.2 MB, free: 7.066 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.254e-06/0.01219, allocations: 0 / 283.2 MB, free: 7.066 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.684e-05/0.01221, allocations: 11.98 kB / 283.2 MB, free: 7.055 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.743e-06/0.01221, allocations: 0 / 283.2 MB, free: 7.055 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.333e-06/0.01221, allocations: 0 / 283.2 MB, free: 7.055 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002427/0.01245, allocations: 213.1 kB / 283.4 MB, free: 6.824 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.315e-05/0.01248, allocations: 31.75 kB / 283.4 MB, free: 6.793 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.433e-05/0.01252, allocations: 12.03 kB / 283.4 MB, free: 6.781 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.749e-05/0.01261, allocations: 23.97 kB / 283.5 MB, free: 6.758 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.285e-05/0.01266, allocations: 27.89 kB / 283.5 MB, free: 6.73 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.381e-05/0.01267, allocations: 11.98 kB / 283.5 MB, free: 6.719 MB / 266.7 MB Notification: Performance of sorting global known variables: time 8.188e-05/0.01275, allocations: 108.6 kB / 283.6 MB, free: 6.613 MB / 266.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.01275, allocations: 4 kB / 283.6 MB, free: 6.609 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002/0.01295, allocations: 71.83 kB / 283.7 MB, free: 6.539 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.0001805/0.01314, allocations: 92.41 kB / 283.8 MB, free: 6.441 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0002252/0.01336, allocations: 232.1 kB / 284 MB, free: 6.195 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 6.211e-06/0.01337, allocations: 4 kB / 284 MB, free: 6.191 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 7.665e-05/0.01344, allocations: 73.19 kB / 284.1 MB, free: 6.117 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001843/0.01363, allocations: 61.19 kB / 284.1 MB, free: 6.059 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008357/0.01446, allocations: 0.5777 MB / 284.7 MB, free: 5.449 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.495e-05/0.01452, allocations: 96.94 kB / 284.8 MB, free: 5.328 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 9.938e-05/0.01462, allocations: 43.05 kB / 284.8 MB, free: 5.289 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001337/0.01475, allocations: 111.3 kB / 285 MB, free: 5.18 MB / 266.7 MB Notification: Performance of SimCode: time 7.11e-07/0.01475, allocations: 0 / 285 MB, free: 5.18 MB / 266.7 MB Notification: Performance of Templates: time 0.005885/0.02064, allocations: 3.939 MB / 288.9 MB, free: 1.324 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Blocks.Examples.DemoSignalCharacteristic.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Blocks.Examples.DemoSignalCharacteristic.pipe ; mkfifo Modelica_4.1.0_Modelica.Blocks.Examples.DemoSignalCharacteristic.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Blocks.Examples.DemoSignalCharacteristic.pipe >> ../files/Modelica_4.1.0_Modelica.Blocks.Examples.DemoSignalCharacteristic.sim & ./Modelica_4.1.0_Modelica.Blocks.Examples.DemoSignalCharacteristic -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Blocks.Examples.DemoSignalCharacteristic.pipe 2>&1) [Timeout 240] [Calling os._exit(0), Time elapsed: 242.68696026178077]