Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.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.IntegerSignals.Hold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y|shiftSample1.y|hold1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold") translateModel(Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y|shiftSample1.y|hold1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.002037/0.002037, allocations: 117 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.002454/0.002454, allocations: 208 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.535/1.535, allocations: 227.4 MB / 247.6 MB, free: 10.43 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001164/0.001164, allocations: 59.89 kB / 359.4 MB, free: 12.91 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2557/0.2569, allocations: 50.55 MB / 409.9 MB, free: 1.57 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold): time 0.00356/0.2605, allocations: 1.914 MB / 411.8 MB, free: 15.64 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002148/0.2626, allocations: 1.293 MB / 413.1 MB, free: 14.34 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001137/0.2627, allocations: 4 kB / 413.1 MB, free: 14.34 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003263/0.2631, allocations: 79.59 kB / 413.2 MB, free: 14.26 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003709/0.2635, allocations: 131.4 kB / 413.3 MB, free: 14.13 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006221/0.2641, allocations: 222.9 kB / 413.6 MB, free: 13.92 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000249/0.2644, allocations: 191.5 kB / 413.8 MB, free: 13.73 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000122/0.2645, allocations: 37.53 kB / 413.8 MB, free: 13.7 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001235/0.2646, allocations: 75.69 kB / 413.9 MB, free: 13.62 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001205/0.2648, allocations: 87.61 kB / 413.9 MB, free: 13.54 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.72e-05/0.2648, allocations: 8 kB / 414 MB, free: 13.53 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001669/0.265, allocations: 67.91 kB / 414 MB, free: 13.46 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 9.071e-05/0.2651, allocations: 55.81 kB / 414.1 MB, free: 13.41 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 9.112e-05/0.2652, allocations: 83.36 kB / 414.2 MB, free: 13.32 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003659/0.2655, allocations: 255 kB / 414.4 MB, free: 13.08 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.2656, allocations: 8 kB / 414.4 MB, free: 13.07 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.2656, allocations: 0 / 414.4 MB, free: 13.07 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.451e-06/0.2656, allocations: 0 / 414.4 MB, free: 13.07 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0007422/0.2663, allocations: 0.5401 MB / 415 MB, free: 12.48 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.014e-05/0.2664, allocations: 12.02 kB / 415 MB, free: 12.46 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.078e-05/0.2664, allocations: 24.66 kB / 415 MB, free: 12.44 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003922/0.2668, allocations: 295.5 kB / 415.3 MB, free: 12.11 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.702e-05/0.2669, allocations: 4.375 kB / 415.3 MB, free: 12.11 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.234e-05/0.2669, allocations: 12.12 kB / 415.3 MB, free: 12.1 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003527/0.2672, allocations: 175.8 kB / 415.5 MB, free: 11.9 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.546e-06/0.2673, allocations: 0 / 415.5 MB, free: 11.9 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.684e-05/0.2673, allocations: 4 kB / 415.5 MB, free: 11.89 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.522e-06/0.2673, allocations: 4 kB / 415.5 MB, free: 11.89 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001216/0.2674, allocations: 43.91 kB / 415.5 MB, free: 11.85 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005883/0.268, allocations: 478.4 kB / 416 MB, free: 11.32 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002702/0.2683, allocations: 142.5 kB / 416.1 MB, free: 11.14 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001072/0.2684, allocations: 59.42 kB / 416.2 MB, free: 11.07 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.706e-05/0.2685, allocations: 4 kB / 416.2 MB, free: 11.07 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001801/0.2686, allocations: 93.03 kB / 416.3 MB, free: 10.96 MB / 334.1 MB Notification: Performance of pre-optimization done (n=11): time 1.694e-06/0.2687, allocations: 4 kB / 416.3 MB, free: 10.96 MB / 334.1 MB Notification: Performance of matching and sorting (n=11): time 0.0004212/0.2691, allocations: 169.2 kB / 416.4 MB, free: 10.79 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.154e-05/0.2692, allocations: 187.9 kB / 416.6 MB, free: 10.56 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003564/0.2696, allocations: 335 kB / 417 MB, free: 10.22 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.844e-05/0.2696, allocations: 29.7 kB / 417 MB, free: 10.18 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.105e-05/0.2697, allocations: 136.7 kB / 417.1 MB, free: 10.04 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.814e-05/0.2697, allocations: 23.88 kB / 417.1 MB, free: 10.02 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.829e-05/0.2698, allocations: 33.7 kB / 417.2 MB, free: 9.98 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001264/0.2699, allocations: 334.8 kB / 417.5 MB, free: 9.645 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.851e-05/0.27, allocations: 27.98 kB / 417.5 MB, free: 9.617 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001224/0.2701, allocations: 99.64 kB / 417.6 MB, free: 9.492 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000169/0.2703, allocations: 93.08 kB / 417.7 MB, free: 9.383 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.305e-06/0.2703, allocations: 0 / 417.7 MB, free: 9.383 MB / 334.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002556/0.2706, allocations: 137.3 kB / 417.9 MB, free: 9.242 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.716e-05/0.2706, allocations: 8 kB / 417.9 MB, free: 9.234 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.38e-06/0.2706, allocations: 3.938 kB / 417.9 MB, free: 9.23 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.65e-05/0.2706, allocations: 7.984 kB / 417.9 MB, free: 9.223 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001228/0.2708, allocations: 23.98 kB / 417.9 MB, free: 9.199 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.534e-06/0.2708, allocations: 4 kB / 417.9 MB, free: 9.195 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.442e-05/0.2709, allocations: 15.91 kB / 417.9 MB, free: 9.18 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.14e-05/0.2709, allocations: 11.88 kB / 417.9 MB, free: 9.168 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 11 ($PRE.table.combiTimeTable.nextTimeEvent,$whenCondition1,table.combiTimeTable.nextTimeEventScaled,$PRE.table.combiTimeTable.nextTimeEventScaled,table.combiTimeTable.nextTimeEvent,table.y,shiftSample1.y,hold1.y,hold1.u,shiftSample1.u,sample1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 13 * 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.000142/0.271, allocations: 161.9 kB / 418.1 MB, free: 9 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.063e-05/0.2711, allocations: 24.03 kB / 418.1 MB, free: 8.977 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.422e-05/0.2712, allocations: 29.73 kB / 418.1 MB, free: 8.949 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.392e-06/0.2712, allocations: 3.984 kB / 418.1 MB, free: 8.945 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.059e-06/0.2712, allocations: 4 kB / 418.1 MB, free: 8.941 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001064/0.2713, allocations: 116.8 kB / 418.3 MB, free: 8.809 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.751e-05/0.2713, allocations: 11.92 kB / 418.3 MB, free: 8.797 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.557e-05/0.2714, allocations: 8 kB / 418.3 MB, free: 8.789 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.779e-05/0.2715, allocations: 11.98 kB / 418.3 MB, free: 8.777 MB / 334.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0003675/0.2719, allocations: 434.7 kB / 418.7 MB, free: 8.344 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0004311/0.2723, allocations: 0.5354 MB / 419.2 MB, free: 7.789 MB / 334.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001136/0.2724, allocations: 51.95 kB / 419.3 MB, free: 7.738 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002411/0.2727, allocations: 249.9 kB / 419.5 MB, free: 7.496 MB / 334.1 MB Notification: Performance of Backend: time 1.883e-06/0.2727, allocations: 0 / 419.5 MB, free: 7.496 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.00164/0.2743, allocations: 472.1 kB / 420 MB, free: 7.168 MB / 334.1 MB Notification: Performance of SimCode: time 0.000955/0.2753, allocations: 0.832 MB / 420.8 MB, free: 6.285 MB / 334.1 MB Notification: Performance of Templates: time 0.007434/0.2827, allocations: 3.167 MB / 424 MB, free: 3.145 MB / 334.1 MB make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold.makefile (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold.pipe 2>&1)