Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_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.001522/0.001522, allocations: 113.9 kB / 21.18 MB, free: 0.6289 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.001751/0.001751, allocations: 209.8 kB / 24.48 MB, free: 4.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.448/1.448, allocations: 230.4 MB / 258.1 MB, free: 8.148 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/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_4.1.0-beta.om_Modelica.Blocks.Examples.DemoSignalCharacteristic") translateModel(Modelica.Blocks.Examples.DemoSignalCharacteristic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.DemoSignalCharacteristic") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001938/0.001938, allocations: 67.83 kB / 378.7 MB, free: 2.891 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2567/0.2586, allocations: 53.32 MB / 432.1 MB, free: 7.383 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.DemoSignalCharacteristic): time 0.003749/0.2624, allocations: 2.306 MB / 434.4 MB, free: 5.07 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001832/0.2642, allocations: 0.9464 MB / 435.3 MB, free: 4.117 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000198/0.2644, allocations: 4 kB / 435.3 MB, free: 4.113 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001535/0.2645, allocations: 43.41 kB / 435.4 MB, free: 4.07 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003973/0.2649, allocations: 119.2 kB / 435.5 MB, free: 3.953 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004085/0.2654, allocations: 163.7 kB / 435.6 MB, free: 3.793 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005492/0.2659, allocations: 434.8 kB / 436.1 MB, free: 3.367 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002188/0.2661, allocations: 79.5 kB / 436.1 MB, free: 3.289 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003252/0.2664, allocations: 183.2 kB / 436.3 MB, free: 3.109 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003178/0.2668, allocations: 187.1 kB / 436.5 MB, free: 2.926 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 7.39e-05/0.2668, allocations: 40 kB / 436.5 MB, free: 2.887 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001206/0.267, allocations: 55.98 kB / 436.6 MB, free: 2.832 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001059/0.2671, allocations: 99.61 kB / 436.7 MB, free: 2.734 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002055/0.2673, allocations: 183 kB / 436.9 MB, free: 2.555 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005041/0.2678, allocations: 416.2 kB / 437.3 MB, free: 2.152 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.607e-06/0.2678, allocations: 0 / 437.3 MB, free: 2.152 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.062e-06/0.2678, allocations: 0 / 437.3 MB, free: 2.152 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.051e-05/0.2678, allocations: 0 / 437.3 MB, free: 2.152 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.001757/0.2695, allocations: 0.8497 MB / 438.1 MB, free: 1.234 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.527e-05/0.2696, allocations: 8.031 kB / 438.1 MB, free: 1.227 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003249/0.2699, allocations: 72.62 kB / 438.2 MB, free: 1.156 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006769/0.2706, allocations: 384.6 kB / 438.6 MB, free: 0.7422 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.158e-05/0.2706, allocations: 20.8 kB / 438.6 MB, free: 0.7188 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.996e-05/0.2707, allocations: 32.31 kB / 438.6 MB, free: 0.6875 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005603/0.2712, allocations: 255.5 kB / 438.9 MB, free: 448 kB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.914e-05/0.2713, allocations: 7.953 kB / 438.9 MB, free: 440 kB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.373e-05/0.2713, allocations: 15.92 kB / 438.9 MB, free: 424 kB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.025e-05/0.2713, allocations: 8 kB / 438.9 MB, free: 416 kB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005262/0.2718, allocations: 177.6 kB / 439.1 MB, free: 236 kB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001467/0.2733, allocations: 0.7908 MB / 439.9 MB, free: 15.39 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005037/0.2738, allocations: 174.7 kB / 440 MB, free: 15.21 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003777/0.2742, allocations: 88.8 kB / 440.1 MB, free: 15.12 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.594e-05/0.2742, allocations: 3.984 kB / 440.1 MB, free: 15.12 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005062/0.2747, allocations: 248.9 kB / 440.4 MB, free: 14.86 MB / 350.1 MB Notification: Performance of pre-optimization done (n=28): time 2.344e-06/0.2747, allocations: 0 / 440.4 MB, free: 14.86 MB / 350.1 MB Notification: Performance of matching and sorting (n=28): time 0.001018/0.2757, allocations: 380.5 kB / 440.8 MB, free: 14.48 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.291e-05/0.2758, allocations: 59.39 kB / 440.8 MB, free: 14.41 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003767/0.2761, allocations: 320.5 kB / 441.1 MB, free: 14.09 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.756e-05/0.2762, allocations: 41.69 kB / 441.2 MB, free: 14.05 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001519/0.2763, allocations: 184.8 kB / 441.3 MB, free: 13.86 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.472e-05/0.2764, allocations: 87.27 kB / 441.4 MB, free: 13.78 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001238/0.2766, allocations: 78.06 kB / 441.5 MB, free: 13.69 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001618/0.2767, allocations: 350.7 kB / 441.8 MB, free: 13.34 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002843/0.277, allocations: 96.69 kB / 441.9 MB, free: 13.25 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003789/0.2774, allocations: 238.5 kB / 442.2 MB, free: 12.95 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007057/0.2781, allocations: 373.5 kB / 442.5 MB, free: 12.52 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.551e-06/0.2781, allocations: 0 / 442.5 MB, free: 12.52 MB / 350.1 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0009157/0.279, allocations: 430.6 kB / 443 MB, free: 12.09 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.318e-05/0.2791, allocations: 33.7 kB / 443 MB, free: 12.05 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.157e-05/0.2791, allocations: 4 kB / 443 MB, free: 12.05 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.359e-05/0.2791, allocations: 8 kB / 443 MB, free: 12.04 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000305/0.2794, allocations: 71.89 kB / 443.1 MB, free: 11.97 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.056e-05/0.2794, allocations: 12.27 kB / 443.1 MB, free: 11.96 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003064/0.2797, allocations: 51.77 kB / 443.1 MB, free: 11.91 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.844e-05/0.2798, allocations: 12 kB / 443.1 MB, free: 11.89 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.mean1.y_last,$PRE.harmonic.mean1.y_last,harmonic.mean2.y_last,$PRE.harmonic.mean2.y_last,pulse.T_start,$PRE.pulse.T_start,pulse.count,$PRE.pulse.count,$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.0002142/0.28, allocations: 171.5 kB / 443.3 MB, free: 11.71 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.027e-05/0.28, allocations: 39.7 kB / 443.4 MB, free: 11.68 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007721/0.2808, allocations: 314.1 kB / 443.7 MB, free: 11.36 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.959e-06/0.2808, allocations: 0 / 443.7 MB, free: 11.36 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.764e-06/0.2808, allocations: 0 / 443.7 MB, free: 11.36 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000106/0.2809, allocations: 112.9 kB / 443.8 MB, free: 11.23 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.765e-05/0.281, allocations: 15.98 kB / 443.8 MB, free: 11.22 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002395/0.2812, allocations: 20.05 kB / 443.8 MB, free: 11.2 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.736e-05/0.2813, allocations: 27.95 kB / 443.8 MB, free: 11.17 MB / 350.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0009965/0.2823, allocations: 412.8 kB / 444.2 MB, free: 10.76 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001151/0.2835, allocations: 0.6044 MB / 444.8 MB, free: 10.14 MB / 350.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003133/0.2838, allocations: 112 kB / 445 MB, free: 10.03 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002788/0.2841, allocations: 227.1 kB / 445.2 MB, free: 9.805 MB / 350.1 MB Notification: Performance of Backend: time 5.81e-07/0.2841, allocations: 0 / 445.2 MB, free: 9.805 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0009208/0.285, allocations: 317.4 kB / 445.5 MB, free: 9.477 MB / 350.1 MB Notification: Performance of SimCode: time 0.001455/0.2864, allocations: 1.06 MB / 446.5 MB, free: 8.367 MB / 350.1 MB Notification: Performance of Templates: time 0.01012/0.2966, allocations: 4.364 MB / 450.9 MB, free: 4.027 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.DemoSignalCharacteristic.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.DemoSignalCharacteristic.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.DemoSignalCharacteristic.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.DemoSignalCharacteristic.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.DemoSignalCharacteristic.sim & ./Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.DemoSignalCharacteristic -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.DemoSignalCharacteristic.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.349137941841036] Failed to read output from testmodel.py, exit status != 0: 0.30520597100257874 0.31913565200000005 0.048362732000000005 Calling exit ...