Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Hold.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.Hold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y|shiftSample1.y|hold1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Hold") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.Hold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y|shiftSample1.y|hold1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Hold") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001151/0.001151, allocations: 112.1 kB / 18.46 MB, free: 4.617 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001139/0.001139, allocations: 210.8 kB / 19.41 MB, free: 3.668 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.501/1.501, allocations: 227.4 MB / 247.6 MB, free: 10.5 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001313/0.001313, allocations: 59.89 kB / 359.4 MB, free: 12.91 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2596/0.2609, allocations: 50.53 MB / 409.9 MB, free: 1.598 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.Hold): time 0.00268/0.2636, allocations: 1.616 MB / 411.6 MB, free: 15.98 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009406/0.2646, allocations: 0.561 MB / 412.1 MB, free: 15.41 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.054e-05/0.2647, allocations: 7.875 kB / 412.1 MB, free: 15.41 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 4.829e-05/0.2648, allocations: 7.922 kB / 412.1 MB, free: 15.4 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001303/0.2649, allocations: 11.88 kB / 412.1 MB, free: 15.39 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002942/0.2652, allocations: 59.81 kB / 412.2 MB, free: 15.33 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001069/0.2653, allocations: 59.83 kB / 412.3 MB, free: 15.27 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.458e-05/0.2654, allocations: 23.98 kB / 412.3 MB, free: 15.25 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001082/0.2655, allocations: 31.81 kB / 412.3 MB, free: 15.21 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.897e-05/0.2656, allocations: 31.83 kB / 412.3 MB, free: 15.18 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.427e-05/0.2656, allocations: 0 / 412.3 MB, free: 15.18 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.974e-05/0.2657, allocations: 8 kB / 412.4 MB, free: 15.18 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 4.141e-05/0.2657, allocations: 11.94 kB / 412.4 MB, free: 15.16 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.028e-05/0.2658, allocations: 39.73 kB / 412.4 MB, free: 15.12 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001274/0.2659, allocations: 59.73 kB / 412.5 MB, free: 15.07 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.2659, allocations: 0 / 412.5 MB, free: 15.07 MB / 334.1 MB Notification: Performance of FrontEnd: time 4.037e-06/0.2659, allocations: 4 kB / 412.5 MB, free: 15.06 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.662e-06/0.2659, allocations: 7.875 kB / 412.5 MB, free: 15.05 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0004874/0.2664, allocations: 392.2 kB / 412.9 MB, free: 14.63 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.866e-05/0.2665, allocations: 8.031 kB / 412.9 MB, free: 14.62 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001499/0.2666, allocations: 20.83 kB / 412.9 MB, free: 14.6 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002397/0.2669, allocations: 204.3 kB / 413.1 MB, free: 14.37 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.157e-06/0.2669, allocations: 4.375 kB / 413.1 MB, free: 14.36 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.746e-05/0.2669, allocations: 16.12 kB / 413.1 MB, free: 14.35 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000286/0.2672, allocations: 130.6 kB / 413.2 MB, free: 14.19 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.786e-06/0.2672, allocations: 0 / 413.2 MB, free: 14.19 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.038e-05/0.2673, allocations: 0 / 413.2 MB, free: 14.19 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.655e-06/0.2673, allocations: 0 / 413.2 MB, free: 14.19 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.174e-05/0.2674, allocations: 31.92 kB / 413.3 MB, free: 14.16 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003495/0.2677, allocations: 287.4 kB / 413.5 MB, free: 13.82 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001408/0.2679, allocations: 94.36 kB / 413.6 MB, free: 13.69 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.404e-05/0.268, allocations: 51.48 kB / 413.7 MB, free: 13.63 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.04e-05/0.268, allocations: 0 / 413.7 MB, free: 13.63 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.537e-05/0.268, allocations: 38.56 kB / 413.7 MB, free: 13.58 MB / 334.1 MB Notification: Performance of pre-optimization done (n=6): time 1.372e-06/0.268, allocations: 0 / 413.7 MB, free: 13.58 MB / 334.1 MB Notification: Performance of matching and sorting (n=6): time 0.0003025/0.2683, allocations: 105.3 kB / 413.8 MB, free: 13.47 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.42e-05/0.2684, allocations: 133 kB / 414 MB, free: 13.31 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001263/0.2686, allocations: 146.4 kB / 414.1 MB, free: 13.15 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.298e-05/0.2686, allocations: 25.7 kB / 414.1 MB, free: 13.12 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.728e-05/0.2686, allocations: 92.14 kB / 414.2 MB, free: 13.03 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.78e-05/0.2687, allocations: 7.891 kB / 414.2 MB, free: 13.02 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.663e-05/0.2687, allocations: 21.72 kB / 414.2 MB, free: 12.99 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001067/0.2688, allocations: 322.8 kB / 414.6 MB, free: 12.67 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.039e-05/0.2689, allocations: 12 kB / 414.6 MB, free: 12.66 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.124e-05/0.2689, allocations: 48.22 kB / 414.6 MB, free: 12.59 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001113/0.2691, allocations: 64.22 kB / 414.7 MB, free: 12.52 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.784e-06/0.2691, allocations: 0 / 414.7 MB, free: 12.52 MB / 334.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001555/0.2692, allocations: 81.52 kB / 414.8 MB, free: 12.43 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.425e-05/0.2693, allocations: 6.812 kB / 414.8 MB, free: 12.43 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.901e-06/0.2693, allocations: 0 / 414.8 MB, free: 12.43 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.273e-05/0.2693, allocations: 7.938 kB / 414.8 MB, free: 12.42 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.474e-05/0.2694, allocations: 11.98 kB / 414.8 MB, free: 12.41 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.384e-06/0.2694, allocations: 4 kB / 414.8 MB, free: 12.4 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.738e-05/0.2694, allocations: 12.03 kB / 414.8 MB, free: 12.39 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.664e-05/0.2695, allocations: 4.125 kB / 414.8 MB, free: 12.39 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (6): * Single equations (assignments): 6 * 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 8.471e-05/0.2696, allocations: 129.8 kB / 414.9 MB, free: 12.25 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.478e-05/0.2696, allocations: 7.906 kB / 414.9 MB, free: 12.24 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.188e-05/0.2697, allocations: 19.83 kB / 415 MB, free: 12.21 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.821e-06/0.2697, allocations: 3.984 kB / 415 MB, free: 12.21 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.2697, allocations: 3.938 kB / 415 MB, free: 12.21 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.588e-05/0.2697, allocations: 108.9 kB / 415.1 MB, free: 12.08 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.551e-05/0.2698, allocations: 0 / 415.1 MB, free: 12.08 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.189e-05/0.2699, allocations: 8 kB / 415.1 MB, free: 12.07 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.328e-05/0.2699, allocations: 3.938 kB / 415.1 MB, free: 12.07 MB / 334.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.000308/0.2702, allocations: 390.7 kB / 415.5 MB, free: 11.68 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0003078/0.2705, allocations: 496.6 kB / 416 MB, free: 11.18 MB / 334.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 6.411e-05/0.2706, allocations: 19.98 kB / 416 MB, free: 11.16 MB / 334.1 MB Notification: Performance of sorting global known variables: time 7.351e-05/0.2707, allocations: 114.8 kB / 416.1 MB, free: 11.05 MB / 334.1 MB Notification: Performance of Backend: time 2.11e-07/0.2707, allocations: 4 kB / 416.1 MB, free: 11.04 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0006592/0.2714, allocations: 106.3 kB / 416.2 MB, free: 10.93 MB / 334.1 MB Notification: Performance of SimCode: time 0.0006036/0.272, allocations: 0.6309 MB / 416.8 MB, free: 10.25 MB / 334.1 MB Notification: Performance of Templates: time 0.003281/0.2753, allocations: 0.8067 MB / 417.6 MB, free: 9.453 MB / 334.1 MB make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Hold.makefile (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Hold.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Hold.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Hold.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Hold.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Hold -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Hold.pipe 2>&1)