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.001334/0.001334, allocations: 122.5 kB / 18.5 MB, free: 4.52 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.001407/0.001407, allocations: 215.2 kB / 21.46 MB, free: 1.566 MB / 14.72 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.62/1.62, allocations: 230.2 MB / 254.5 MB, free: 15.24 MB / 206.1 MB " [Timeout remaining time 178] 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="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="Modelica_trunk_Modelica.Blocks.Examples.DemoSignalCharacteristic") translateModel(Modelica.Blocks.Examples.DemoSignalCharacteristic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="Modelica_trunk_Modelica.Blocks.Examples.DemoSignalCharacteristic") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001881/0.001881, allocations: 63.89 kB / 373.8 MB, free: 9.887 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1395/0.1414, allocations: 53.32 MB / 427.2 MB, free: 4.469 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.DemoSignalCharacteristic): time 0.004285/0.1457, allocations: 2.294 MB / 429.4 MB, free: 2.164 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00213/0.1478, allocations: 0.9581 MB / 430.4 MB, free: 1.199 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002303/0.148, allocations: 4 kB / 430.4 MB, free: 1.195 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002195/0.1483, allocations: 39.48 kB / 430.4 MB, free: 1.156 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004908/0.1488, allocations: 107.3 kB / 430.6 MB, free: 1.051 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004941/0.1493, allocations: 167.7 kB / 430.7 MB, free: 0.8867 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005306/0.1498, allocations: 426.8 kB / 431.1 MB, free: 480 kB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002598/0.15, allocations: 87.52 kB / 431.2 MB, free: 388 kB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003782/0.1504, allocations: 183.2 kB / 431.4 MB, free: 204 kB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003019/0.1507, allocations: 199 kB / 431.6 MB, free: 4 kB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.2977/0.4484, allocations: 37.95 kB / 431.6 MB, free: 8.422 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003257/0.4487, allocations: 47 kB / 431.7 MB, free: 8.422 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001949/0.4489, allocations: 88.45 kB / 431.8 MB, free: 8.422 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003396/0.4493, allocations: 184.6 kB / 431.9 MB, free: 8.395 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008073/0.4501, allocations: 422.9 kB / 432.4 MB, free: 8.332 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.584e-06/0.4501, allocations: 0 / 432.4 MB, free: 8.332 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.803e-06/0.4501, allocations: 1.844 kB / 432.4 MB, free: 8.332 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.748e-06/0.4501, allocations: 0 / 432.4 MB, free: 8.332 MB / 350.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.001675/0.4518, allocations: 0.7288 MB / 433.1 MB, free: 7.805 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.679e-05/0.4518, allocations: 10.62 kB / 433.1 MB, free: 7.805 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003491/0.4522, allocations: 65 kB / 433.2 MB, free: 7.781 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005964/0.4528, allocations: 387.6 kB / 433.5 MB, free: 7.543 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.59e-05/0.4528, allocations: 21.47 kB / 433.6 MB, free: 7.543 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.283e-05/0.4529, allocations: 28.28 kB / 433.6 MB, free: 7.543 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006656/0.4535, allocations: 256.1 kB / 433.8 MB, free: 7.508 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.691e-05/0.4536, allocations: 3.938 kB / 433.8 MB, free: 7.504 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.508e-05/0.4536, allocations: 15.25 kB / 433.9 MB, free: 7.504 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.959e-06/0.4536, allocations: 6.469 kB / 433.9 MB, free: 7.504 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006838/0.4543, allocations: 181.2 kB / 434 MB, free: 7.5 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002026/0.4563, allocations: 0.7914 MB / 434.8 MB, free: 7.199 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000805/0.4571, allocations: 177.7 kB / 435 MB, free: 7.176 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003687/0.4575, allocations: 82.69 kB / 435.1 MB, free: 7.168 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.051e-05/0.4575, allocations: 4.703 kB / 435.1 MB, free: 7.168 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008186/0.4584, allocations: 240.9 kB / 435.3 MB, free: 7.109 MB / 350.1 MB Notification: Performance of pre-optimization done (n=28): time 5.21e-06/0.4584, allocations: 1.25 kB / 435.3 MB, free: 7.109 MB / 350.1 MB Notification: Performance of matching and sorting (n=28): time 0.001617/0.46, allocations: 378.9 kB / 435.7 MB, free: 7.055 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.024e-05/0.4601, allocations: 68.81 kB / 435.8 MB, free: 6.992 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006857/0.4608, allocations: 324.2 kB / 436.1 MB, free: 6.879 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.853e-05/0.4608, allocations: 40.47 kB / 436.1 MB, free: 6.848 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001976/0.461, allocations: 184.1 kB / 436.3 MB, free: 6.738 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001177/0.4611, allocations: 92.09 kB / 436.4 MB, free: 6.684 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002009/0.4613, allocations: 75.31 kB / 436.5 MB, free: 6.664 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001563/0.4615, allocations: 345.2 kB / 436.8 MB, free: 6.352 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004698/0.462, allocations: 106.5 kB / 436.9 MB, free: 6.348 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005905/0.4625, allocations: 232.9 kB / 437.1 MB, free: 6.188 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001018/0.4636, allocations: 374.4 kB / 437.5 MB, free: 5.992 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.013e-06/0.4636, allocations: 1.562 kB / 437.5 MB, free: 5.992 MB / 350.1 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.001402/0.465, allocations: 440.4 kB / 437.9 MB, free: 5.895 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.533e-05/0.465, allocations: 35.22 kB / 438 MB, free: 5.863 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.806e-05/0.4651, allocations: 4.094 kB / 438 MB, free: 5.863 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.632e-05/0.4651, allocations: 8.203 kB / 438 MB, free: 5.863 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004951/0.4656, allocations: 71.53 kB / 438 MB, free: 5.863 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.468e-05/0.4656, allocations: 9.906 kB / 438.1 MB, free: 5.863 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004717/0.4661, allocations: 45.11 kB / 438.1 MB, free: 5.848 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.603e-05/0.4662, allocations: 19.39 kB / 438.1 MB, free: 5.848 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.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.0003466/0.4665, allocations: 168 kB / 438.3 MB, free: 5.727 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001031/0.4666, allocations: 36.42 kB / 438.3 MB, free: 5.707 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001182/0.4678, allocations: 302.9 kB / 438.6 MB, free: 5.664 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.198e-05/0.4678, allocations: 7.281 kB / 438.6 MB, free: 5.66 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.327e-05/0.4678, allocations: 4.516 kB / 438.6 MB, free: 5.66 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.869e-06/0.4678, allocations: 1.312 kB / 438.6 MB, free: 5.66 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007268/0.4686, allocations: 360.1 kB / 439 MB, free: 5.465 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.108e-06/0.4686, allocations: 3.938 kB / 439 MB, free: 5.461 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003557/0.4689, allocations: 42.86 kB / 439 MB, free: 5.461 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.468e-06/0.4689, allocations: 1.281 kB / 439 MB, free: 5.461 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.374e-05/0.469, allocations: 8.344 kB / 439 MB, free: 5.461 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.581e-06/0.469, allocations: 4.031 kB / 439 MB, free: 5.461 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.196e-06/0.469, allocations: 1.406 kB / 439 MB, free: 5.461 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001573/0.4705, allocations: 459 kB / 439.5 MB, free: 5.359 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001269/0.4707, allocations: 121.1 kB / 439.6 MB, free: 5.238 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.979e-05/0.4708, allocations: 7.297 kB / 439.6 MB, free: 5.238 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000314/0.4711, allocations: 23.61 kB / 439.6 MB, free: 5.234 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001331/0.4712, allocations: 28.36 kB / 439.7 MB, free: 5.234 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.879e-05/0.4713, allocations: 11.48 kB / 439.7 MB, free: 5.234 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0004152/0.4717, allocations: 230.6 kB / 439.9 MB, free: 5.117 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4717, allocations: 3.938 kB / 439.9 MB, free: 5.113 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0006563/0.4723, allocations: 70.05 kB / 440 MB, free: 5.098 MB / 350.1 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.000212/0.4725, allocations: 124 kB / 440.1 MB, free: 4.996 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001166/0.4737, allocations: 308.5 kB / 440.4 MB, free: 4.879 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/0.4737, allocations: 1.062 kB / 440.4 MB, free: 4.879 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004441/0.4741, allocations: 123.5 kB / 440.5 MB, free: 4.848 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000562/0.4747, allocations: 58.38 kB / 440.6 MB, free: 4.824 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001752/0.4765, allocations: 0.6151 MB / 441.2 MB, free: 4.457 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003985/0.4769, allocations: 0.7913 MB / 442 MB, free: 3.746 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0002903/0.4772, allocations: 48.48 kB / 442 MB, free: 3.734 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001673/0.4773, allocations: 35.59 kB / 442.1 MB, free: 3.727 MB / 350.1 MB Notification: Performance of SimCode: time 1.292e-06/0.4773, allocations: 0 / 442.1 MB, free: 3.727 MB / 350.1 MB Notification: Performance of Templates: time 0.01681/0.4941, allocations: 3.635 MB / 445.7 MB, free: 3.52 MB / 350.1 MB " [Timeout remaining time 659] 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=480 -lv LOG_STATS > Modelica_trunk_Modelica.Blocks.Examples.DemoSignalCharacteristic.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.9968788381665945]