Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) 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.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y|hold1.y|// shiftSample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y|hold1.y|// shiftSample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001421/0.001421, allocations: 112.1 kB / 18.46 MB, free: 4.594 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001949/0.00195, allocations: 206.8 kB / 19.41 MB, free: 3.648 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.424/1.424, allocations: 227.4 MB / 247.6 MB, free: 10.48 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001369/0.001369, allocations: 59.89 kB / 359.4 MB, free: 12.94 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.343/0.3444, allocations: 50.53 MB / 409.9 MB, free: 1.625 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1): time 0.004507/0.349, allocations: 1.873 MB / 411.8 MB, free: 15.75 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00152/0.3506, allocations: 0.6935 MB / 412.5 MB, free: 15.05 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002318/0.3508, allocations: 7.938 kB / 412.5 MB, free: 15.04 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001767/0.3511, allocations: 23.8 kB / 412.5 MB, free: 15.02 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001703/0.3512, allocations: 19.8 kB / 412.6 MB, free: 15 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000565/0.3518, allocations: 107.7 kB / 412.7 MB, free: 14.89 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000283/0.3521, allocations: 147.6 kB / 412.8 MB, free: 14.75 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002015/0.3523, allocations: 61.69 kB / 412.9 MB, free: 14.69 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002044/0.3525, allocations: 67.72 kB / 412.9 MB, free: 14.62 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001176/0.3527, allocations: 51.7 kB / 413 MB, free: 14.57 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.112e-05/0.3527, allocations: 15.88 kB / 413 MB, free: 14.55 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.426e-05/0.3528, allocations: 19.98 kB / 413 MB, free: 14.54 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.979e-05/0.3529, allocations: 27.92 kB / 413 MB, free: 14.51 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 8.198e-05/0.353, allocations: 63.55 kB / 413.1 MB, free: 14.45 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002724/0.3532, allocations: 139.5 kB / 413.2 MB, free: 14.31 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.3533, allocations: 0 / 413.2 MB, free: 14.31 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.024e-06/0.3533, allocations: 0 / 413.2 MB, free: 14.31 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.013e-06/0.3533, allocations: 0 / 413.2 MB, free: 14.31 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: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.0007435/0.354, allocations: 464 kB / 413.7 MB, free: 13.81 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.928e-05/0.3541, allocations: 8.031 kB / 413.7 MB, free: 13.8 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002018/0.3543, allocations: 32.58 kB / 413.7 MB, free: 13.77 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004271/0.3547, allocations: 249 kB / 414 MB, free: 13.49 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.936e-05/0.3548, allocations: 16.12 kB / 414 MB, free: 13.48 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.974e-05/0.3548, allocations: 8 kB / 414 MB, free: 13.47 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006409/0.3555, allocations: 278.4 kB / 414.3 MB, free: 13.17 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.142e-05/0.3555, allocations: 0 / 414.3 MB, free: 13.17 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.996e-05/0.3555, allocations: 4 kB / 414.3 MB, free: 13.17 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.181e-06/0.3555, allocations: 0 / 414.3 MB, free: 13.17 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000222/0.3557, allocations: 75.88 kB / 414.3 MB, free: 13.09 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006266/0.3564, allocations: 431.3 kB / 414.8 MB, free: 12.61 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005/0.3569, allocations: 298 kB / 415.1 MB, free: 12.25 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001997/0.3571, allocations: 116.4 kB / 415.2 MB, free: 12.12 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.596e-05/0.3571, allocations: 4 kB / 415.2 MB, free: 12.12 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.368e-05/0.3572, allocations: 38.5 kB / 415.2 MB, free: 12.07 MB / 334.1 MB Notification: Performance of pre-optimization done (n=17): time 1.443e-06/0.3572, allocations: 0 / 415.2 MB, free: 12.07 MB / 334.1 MB Notification: Performance of matching and sorting (n=17): time 0.0006211/0.3578, allocations: 225.4 kB / 415.4 MB, free: 11.85 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001161/0.3579, allocations: 187.9 kB / 415.6 MB, free: 11.62 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001961/0.3581, allocations: 174.3 kB / 415.8 MB, free: 11.44 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.748e-05/0.3582, allocations: 33.7 kB / 415.8 MB, free: 11.4 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.592e-05/0.3583, allocations: 100.1 kB / 415.9 MB, free: 11.3 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.756e-05/0.3583, allocations: 12.28 kB / 415.9 MB, free: 11.29 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.206e-05/0.3584, allocations: 41.89 kB / 416 MB, free: 11.24 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001488/0.3585, allocations: 322.8 kB / 416.3 MB, free: 10.92 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.308e-05/0.3586, allocations: 23.98 kB / 416.3 MB, free: 10.89 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001449/0.3588, allocations: 134.5 kB / 416.4 MB, free: 10.71 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002233/0.359, allocations: 161.6 kB / 416.6 MB, free: 10.5 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.156e-06/0.359, allocations: 0 / 416.6 MB, free: 10.5 MB / 334.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0002961/0.3593, allocations: 169.2 kB / 416.8 MB, free: 10.33 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.709e-05/0.3593, allocations: 4 kB / 416.8 MB, free: 10.33 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.798e-06/0.3593, allocations: 7.938 kB / 416.8 MB, free: 10.32 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.93e-05/0.3594, allocations: 4 kB / 416.8 MB, free: 10.32 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001426/0.3595, allocations: 35.97 kB / 416.8 MB, free: 10.28 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.851e-05/0.3595, allocations: 7.938 kB / 416.8 MB, free: 10.27 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001193/0.3597, allocations: 16.25 kB / 416.8 MB, free: 10.26 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.662e-05/0.3597, allocations: 19.94 kB / 416.9 MB, free: 10.24 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (17): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * 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.0001497/0.3599, allocations: 137.7 kB / 417 MB, free: 10.09 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.26e-05/0.36, allocations: 23.81 kB / 417 MB, free: 10.07 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.543e-05/0.36, allocations: 21.34 kB / 417 MB, free: 10.04 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.878e-06/0.36, allocations: 7.984 kB / 417 MB, free: 10.04 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.224e-06/0.3601, allocations: 0 / 417 MB, free: 10.04 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.842e-05/0.3602, allocations: 108.8 kB / 417.2 MB, free: 9.91 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.872e-05/0.3602, allocations: 7.984 kB / 417.2 MB, free: 9.902 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001561/0.3604, allocations: 12 kB / 417.2 MB, free: 9.891 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.19e-05/0.3604, allocations: 7.984 kB / 417.2 MB, free: 9.883 MB / 334.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0005236/0.3609, allocations: 0.5526 MB / 417.7 MB, free: 9.32 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0005454/0.3615, allocations: 0.6277 MB / 418.4 MB, free: 8.676 MB / 334.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001491/0.3617, allocations: 67.89 kB / 418.4 MB, free: 8.609 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001093/0.3618, allocations: 140.3 kB / 418.6 MB, free: 8.473 MB / 334.1 MB Notification: Performance of Backend: time 5.61e-07/0.3618, allocations: 0 / 418.6 MB, free: 8.473 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0008906/0.3627, allocations: 143.1 kB / 418.7 MB, free: 8.328 MB / 334.1 MB Notification: Performance of SimCode: time 0.0009633/0.3637, allocations: 0.7276 MB / 419.4 MB, free: 7.555 MB / 334.1 MB Notification: Performance of Templates: time 0.006066/0.3697, allocations: 2.097 MB / 421.5 MB, free: 5.48 MB / 334.1 MB make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1.makefile (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1.pipe 2>&1)