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.001409/0.001409, allocations: 80.8 kB / 21.5 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.001357/0.001357, allocations: 174.3 kB / 24.91 MB, free: 8.766 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 1.166/1.166, allocations: 177.1 MB / 205.3 MB, free: 5.488 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.673e-06/1.673e-06, allocations: 0 / 273.5 MB, free: 1.258 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.059e-05/2.226e-05, allocations: 2.312 kB / 273.5 MB, free: 1.254 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.DemoSignalCharacteristic): time 0.002487/0.002509, allocations: 2.259 MB / 275.8 MB, free: 14.98 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001178/0.003688, allocations: 0.9576 MB / 276.7 MB, free: 14.02 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001177/0.003805, allocations: 7.938 kB / 276.7 MB, free: 14.01 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001209/0.003926, allocations: 35.55 kB / 276.8 MB, free: 13.97 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002637/0.00419, allocations: 123.1 kB / 276.9 MB, free: 13.85 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002431/0.004433, allocations: 167.6 kB / 277 MB, free: 13.69 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003313/0.004764, allocations: 434.7 kB / 277.5 MB, free: 13.26 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000148/0.004912, allocations: 86.59 kB / 277.5 MB, free: 13.18 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002815/0.005194, allocations: 255.3 kB / 277.8 MB, free: 12.93 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001933/0.005387, allocations: 147.5 kB / 277.9 MB, free: 12.79 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 4.407e-05/0.005431, allocations: 36 kB / 278 MB, free: 12.75 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.686e-05/0.005518, allocations: 51.94 kB / 278 MB, free: 12.7 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 6.921e-05/0.005587, allocations: 99.58 kB / 278.1 MB, free: 12.6 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 8.791e-05/0.005675, allocations: 115.6 kB / 278.2 MB, free: 12.49 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002756/0.005951, allocations: 298.8 kB / 278.5 MB, free: 12.2 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.306e-06/0.005954, allocations: 4 kB / 278.5 MB, free: 12.19 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.834e-06/0.005956, allocations: 0 / 278.5 MB, free: 12.19 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.879e-06/0.005961, allocations: 0 / 278.5 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.000765/0.006726, allocations: 0.6168 MB / 279.2 MB, free: 11.55 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.32e-05/0.006759, allocations: 8.031 kB / 279.2 MB, free: 11.54 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001851/0.006944, allocations: 64.88 kB / 279.2 MB, free: 11.48 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002879/0.007232, allocations: 261.6 kB / 279.5 MB, free: 11.19 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.199e-05/0.007254, allocations: 20.86 kB / 279.5 MB, free: 11.17 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.809e-05/0.007292, allocations: 32.38 kB / 279.5 MB, free: 11.14 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002151/0.007507, allocations: 177.3 kB / 279.7 MB, free: 10.96 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.048e-05/0.007518, allocations: 192 / 279.7 MB, free: 10.96 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.817e-05/0.007536, allocations: 16.36 kB / 279.7 MB, free: 10.95 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.06e-05/0.007547, allocations: 11.92 kB / 279.7 MB, free: 10.93 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.106e-05/0.007628, allocations: 51.47 kB / 279.8 MB, free: 10.88 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006119/0.00824, allocations: 452.7 kB / 280.2 MB, free: 10.42 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001429/0.008383, allocations: 94.45 kB / 280.3 MB, free: 10.32 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.126e-05/0.008424, allocations: 28.84 kB / 280.3 MB, free: 10.29 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.802e-05/0.008442, allocations: 4 kB / 280.3 MB, free: 10.29 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001905/0.008632, allocations: 173 kB / 280.5 MB, free: 10.1 MB / 266.7 MB Notification: Performance of pre-optimization done (n=28): time 1.533e-06/0.008634, allocations: 0 / 280.5 MB, free: 10.1 MB / 266.7 MB Notification: Performance of matching and sorting (n=28): time 0.0002257/0.00886, allocations: 164.3 kB / 280.7 MB, free: 9.938 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.599e-05/0.008896, allocations: 63.33 kB / 280.7 MB, free: 9.863 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000168/0.009064, allocations: 290.8 kB / 281 MB, free: 9.57 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.44e-05/0.009088, allocations: 41.7 kB / 281.1 MB, free: 9.523 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.207e-05/0.00916, allocations: 161.3 kB / 281.2 MB, free: 9.359 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.469e-05/0.009205, allocations: 83.3 kB / 281.3 MB, free: 9.277 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.015e-05/0.009275, allocations: 74.02 kB / 281.4 MB, free: 9.199 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 8.605e-05/0.009361, allocations: 350.7 kB / 281.7 MB, free: 8.848 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.322e-05/0.009424, allocations: 58.44 kB / 281.8 MB, free: 8.785 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001184/0.009543, allocations: 204 kB / 282 MB, free: 8.52 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001921/0.009735, allocations: 275.1 kB / 282.2 MB, free: 8.184 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-06/0.009737, allocations: 0 / 282.2 MB, free: 8.184 MB / 266.7 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0002389/0.009976, allocations: 276.9 kB / 282.5 MB, free: 7.895 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.811e-05/0.01, allocations: 37.77 kB / 282.5 MB, free: 7.852 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.053e-06/0.01001, allocations: 4 kB / 282.6 MB, free: 7.848 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.608e-05/0.01003, allocations: 8 kB / 282.6 MB, free: 7.84 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001684/0.0102, allocations: 87.89 kB / 282.6 MB, free: 7.754 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.236e-06/0.0102, allocations: 15.88 kB / 282.7 MB, free: 7.738 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001188/0.01032, allocations: 39.77 kB / 282.7 MB, free: 7.699 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.653e-05/0.01034, allocations: 19.98 kB / 282.7 MB, free: 7.68 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 9.236e-05/0.01043, allocations: 138.6 kB / 282.9 MB, free: 7.535 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.458e-05/0.01047, allocations: 35.97 kB / 282.9 MB, free: 7.5 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001853/0.01065, allocations: 153.6 kB / 283 MB, free: 7.34 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.397e-06/0.01065, allocations: 4 kB / 283 MB, free: 7.336 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.254e-06/0.01066, allocations: 3.938 kB / 283 MB, free: 7.332 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.278e-06/0.01066, allocations: 0 / 283 MB, free: 7.332 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001515/0.01081, allocations: 177.6 kB / 283.2 MB, free: 7.141 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.874e-06/0.01081, allocations: 0 / 283.2 MB, free: 7.141 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001131/0.01093, allocations: 35.97 kB / 283.3 MB, free: 7.105 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.425e-06/0.01093, allocations: 4 kB / 283.3 MB, free: 7.102 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.688e-05/0.01095, allocations: 11.98 kB / 283.3 MB, free: 7.09 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.124e-06/0.01095, allocations: 0 / 283.3 MB, free: 7.09 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.173e-06/0.01095, allocations: 0 / 283.3 MB, free: 7.09 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002384/0.01119, allocations: 217 kB / 283.5 MB, free: 6.855 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.208e-05/0.01122, allocations: 35.73 kB / 283.5 MB, free: 6.82 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.071e-05/0.01125, allocations: 8 kB / 283.5 MB, free: 6.812 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.599e-05/0.01134, allocations: 15.98 kB / 283.5 MB, free: 6.797 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.074e-05/0.01139, allocations: 23.95 kB / 283.6 MB, free: 6.773 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.401e-05/0.0114, allocations: 15.98 kB / 283.6 MB, free: 6.758 MB / 266.7 MB Notification: Performance of sorting global known variables: time 8.332e-05/0.01149, allocations: 112.6 kB / 283.7 MB, free: 6.648 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01149, allocations: 0 / 283.7 MB, free: 6.648 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001826/0.01167, allocations: 75.81 kB / 283.8 MB, free: 6.574 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 9.355e-05/0.01176, allocations: 92.36 kB / 283.9 MB, free: 6.477 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0002082/0.01197, allocations: 233.3 kB / 284.1 MB, free: 6.23 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 4.649e-06/0.01197, allocations: 4 kB / 284.1 MB, free: 6.227 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 7.522e-05/0.01205, allocations: 77.12 kB / 284.2 MB, free: 6.148 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001798/0.01223, allocations: 61.19 kB / 284.2 MB, free: 6.09 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007601/0.01299, allocations: 0.5732 MB / 284.8 MB, free: 5.484 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.696e-05/0.01305, allocations: 96.94 kB / 284.9 MB, free: 5.363 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 9.179e-05/0.01314, allocations: 47.03 kB / 284.9 MB, free: 5.32 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000135/0.01327, allocations: 107.3 kB / 285 MB, free: 5.215 MB / 266.7 MB Notification: Performance of SimCode: time 6.41e-07/0.01327, allocations: 0 / 285 MB, free: 5.215 MB / 266.7 MB Notification: Performance of Templates: time 0.005649/0.01892, allocations: 3.943 MB / 289 MB, free: 1.359 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 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Blocks.Examples.DemoSignalCharacteristic.pipe 2>&1) [Timeout 240] [Calling os._exit(0), Time elapsed: 2.76413045078516]