Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample.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.SuperSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y|superSample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample") translateModel(Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y|superSample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001291/0.001291, allocations: 114.3 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.001577/0.001576, allocations: 206.8 kB / 19.41 MB, free: 3.672 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.476/1.476, allocations: 227.4 MB / 247.6 MB, free: 10.46 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00138/0.00138, allocations: 63.88 kB / 359.4 MB, free: 12.94 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2852/0.2866, allocations: 50.55 MB / 409.9 MB, free: 1.617 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample): time 0.002921/0.2895, allocations: 1.883 MB / 411.8 MB, free: 15.72 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001863/0.2914, allocations: 1.294 MB / 413.1 MB, free: 14.42 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.496e-05/0.2915, allocations: 3.938 kB / 413.1 MB, free: 14.42 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002962/0.2918, allocations: 71.67 kB / 413.2 MB, free: 14.35 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000335/0.2922, allocations: 135.4 kB / 413.3 MB, free: 14.21 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006199/0.2928, allocations: 226.9 kB / 413.5 MB, free: 13.99 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002446/0.293, allocations: 183.5 kB / 413.7 MB, free: 13.81 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001162/0.2932, allocations: 37.53 kB / 413.8 MB, free: 13.78 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.748e-05/0.2933, allocations: 71.7 kB / 413.8 MB, free: 13.71 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001236/0.2934, allocations: 79.67 kB / 413.9 MB, free: 13.63 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.467e-05/0.2934, allocations: 8 kB / 413.9 MB, free: 13.62 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001502/0.2936, allocations: 67.91 kB / 414 MB, free: 13.55 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.302e-05/0.2937, allocations: 55.81 kB / 414 MB, free: 13.5 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 8.21e-05/0.2938, allocations: 75.42 kB / 414.1 MB, free: 13.43 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002976/0.2941, allocations: 247 kB / 414.3 MB, free: 13.19 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.2941, allocations: 0 / 414.3 MB, free: 13.19 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.442e-06/0.2941, allocations: 4 kB / 414.3 MB, free: 13.18 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.421e-06/0.2941, allocations: 0 / 414.3 MB, free: 13.18 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: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0006852/0.2948, allocations: 0.5441 MB / 414.9 MB, free: 12.59 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.77e-05/0.2948, allocations: 8.031 kB / 414.9 MB, free: 12.58 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.102e-05/0.2949, allocations: 20.66 kB / 414.9 MB, free: 12.56 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003762/0.2953, allocations: 283.6 kB / 415.2 MB, free: 12.24 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.705e-05/0.2953, allocations: 12.31 kB / 415.2 MB, free: 12.23 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.966e-05/0.2953, allocations: 20.06 kB / 415.2 MB, free: 12.21 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003038/0.2957, allocations: 155.5 kB / 415.4 MB, free: 12.03 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.835e-06/0.2957, allocations: 0 / 415.4 MB, free: 12.03 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.592e-05/0.2957, allocations: 4 kB / 415.4 MB, free: 12.03 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.603e-06/0.2957, allocations: 8 kB / 415.4 MB, free: 12.02 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000109/0.2958, allocations: 35.91 kB / 415.4 MB, free: 11.98 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004715/0.2963, allocations: 378.5 kB / 415.8 MB, free: 11.56 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002309/0.2965, allocations: 115.9 kB / 415.9 MB, free: 11.42 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.693e-05/0.2966, allocations: 42.56 kB / 415.9 MB, free: 11.37 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.653e-05/0.2967, allocations: 15.98 kB / 416 MB, free: 11.35 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001629/0.2968, allocations: 75.39 kB / 416 MB, free: 11.27 MB / 334.1 MB Notification: Performance of pre-optimization done (n=9): time 1.703e-06/0.2969, allocations: 0 / 416 MB, free: 11.27 MB / 334.1 MB Notification: Performance of matching and sorting (n=9): time 0.0003615/0.2972, allocations: 153.3 kB / 416.2 MB, free: 11.11 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.43e-05/0.2973, allocations: 162.2 kB / 416.3 MB, free: 10.91 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003291/0.2976, allocations: 334.7 kB / 416.7 MB, free: 10.57 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.004e-05/0.2977, allocations: 29.95 kB / 416.7 MB, free: 10.54 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.985e-05/0.2978, allocations: 136 kB / 416.8 MB, free: 10.4 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.493e-05/0.2978, allocations: 23.73 kB / 416.9 MB, free: 10.38 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.771e-05/0.2978, allocations: 25.72 kB / 416.9 MB, free: 10.35 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000113/0.298, allocations: 338.8 kB / 417.2 MB, free: 10.01 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.864e-05/0.298, allocations: 23.98 kB / 417.2 MB, free: 9.984 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001074/0.2982, allocations: 82.86 kB / 417.3 MB, free: 9.879 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001433/0.2983, allocations: 84.2 kB / 417.4 MB, free: 9.781 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.334e-06/0.2983, allocations: 0 / 417.4 MB, free: 9.781 MB / 334.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000234/0.2986, allocations: 133.6 kB / 417.5 MB, free: 9.645 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.532e-05/0.2986, allocations: 8 kB / 417.5 MB, free: 9.637 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.338e-06/0.2986, allocations: 0 / 417.5 MB, free: 9.637 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.284e-05/0.2986, allocations: 0 / 417.5 MB, free: 9.637 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000108/0.2987, allocations: 23.98 kB / 417.6 MB, free: 9.613 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.627e-06/0.2987, allocations: 3.938 kB / 417.6 MB, free: 9.609 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.159e-05/0.2988, allocations: 4 kB / 417.6 MB, free: 9.605 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.077e-05/0.2988, allocations: 11.92 kB / 417.6 MB, free: 9.594 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: 9 ($PRE.table.combiTimeTable.nextTimeEvent,$whenCondition1,table.combiTimeTable.nextTimeEventScaled,$PRE.table.combiTimeTable.nextTimeEventScaled,table.combiTimeTable.nextTimeEvent,table.y,superSample1.y,superSample1.u,sample1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * 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.0001335/0.299, allocations: 165.9 kB / 417.7 MB, free: 9.422 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.548e-05/0.299, allocations: 23.72 kB / 417.8 MB, free: 9.398 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.701e-05/0.2991, allocations: 29.7 kB / 417.8 MB, free: 9.367 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.017e-06/0.2991, allocations: 48 / 417.8 MB, free: 9.367 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.655e-06/0.2991, allocations: 3.984 kB / 417.8 MB, free: 9.363 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001004/0.2992, allocations: 116.7 kB / 417.9 MB, free: 9.23 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.375e-05/0.2992, allocations: 11.94 kB / 417.9 MB, free: 9.219 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.016e-05/0.2993, allocations: 4 kB / 417.9 MB, free: 9.215 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.554e-05/0.2994, allocations: 11.98 kB / 417.9 MB, free: 9.203 MB / 334.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0003243/0.2997, allocations: 347.4 kB / 418.3 MB, free: 8.855 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0003361/0.3001, allocations: 457 kB / 418.7 MB, free: 8.391 MB / 334.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 9.515e-05/0.3002, allocations: 51.91 kB / 418.8 MB, free: 8.34 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.00022/0.3004, allocations: 249.9 kB / 419 MB, free: 8.098 MB / 334.1 MB Notification: Performance of Backend: time 4.91e-07/0.3004, allocations: 0 / 419 MB, free: 8.098 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001451/0.3019, allocations: 450.9 kB / 419.5 MB, free: 7.793 MB / 334.1 MB Notification: Performance of SimCode: time 0.0008047/0.3027, allocations: 0.817 MB / 420.3 MB, free: 6.93 MB / 334.1 MB Notification: Performance of Templates: time 0.006008/0.3087, allocations: 2.966 MB / 423.2 MB, free: 3.988 MB / 334.1 MB make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample.makefile (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample.pipe 2>&1)