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.00111/0.00111, allocations: 114.8 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.001129/0.001129, allocations: 204 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.406/1.406, allocations: 227.4 MB / 247.6 MB, free: 10.43 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002003/0.002003, allocations: 63.89 kB / 359.4 MB, free: 12.91 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2797/0.2818, allocations: 50.53 MB / 409.9 MB, free: 1.57 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample): time 0.00329/0.2851, allocations: 1.883 MB / 411.8 MB, free: 15.68 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002/0.2871, allocations: 1.297 MB / 413.1 MB, free: 14.38 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001051/0.2872, allocations: 3.938 kB / 413.1 MB, free: 14.37 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00033/0.2876, allocations: 75.66 kB / 413.2 MB, free: 14.29 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003407/0.2879, allocations: 127.4 kB / 413.3 MB, free: 14.17 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006314/0.2886, allocations: 234.7 kB / 413.5 MB, free: 13.94 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002341/0.2888, allocations: 183.5 kB / 413.7 MB, free: 13.76 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001158/0.2889, allocations: 29.53 kB / 413.8 MB, free: 13.73 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001074/0.2891, allocations: 75.69 kB / 413.8 MB, free: 13.66 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001149/0.2892, allocations: 83.67 kB / 413.9 MB, free: 13.58 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.694e-05/0.2892, allocations: 12 kB / 413.9 MB, free: 13.57 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001524/0.2894, allocations: 67.91 kB / 414 MB, free: 13.5 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.931e-05/0.2895, allocations: 51.77 kB / 414 MB, free: 13.45 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 8.668e-05/0.2896, allocations: 87.47 kB / 414.1 MB, free: 13.36 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003288/0.2899, allocations: 242.8 kB / 414.4 MB, free: 13.13 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.639e-06/0.2899, allocations: 0 / 414.4 MB, free: 13.13 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.2899, allocations: 0 / 414.4 MB, free: 13.13 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.69e-06/0.2899, allocations: 0 / 414.4 MB, free: 13.13 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.0007021/0.2906, allocations: 0.5465 MB / 414.9 MB, free: 12.53 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.83e-05/0.2907, allocations: 8.031 kB / 414.9 MB, free: 12.52 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.254e-05/0.2908, allocations: 24.8 kB / 414.9 MB, free: 12.5 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003745/0.2911, allocations: 295.7 kB / 415.2 MB, free: 12.17 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.814e-05/0.2912, allocations: 4.375 kB / 415.2 MB, free: 12.16 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.087e-05/0.2912, allocations: 16.06 kB / 415.2 MB, free: 12.15 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003408/0.2915, allocations: 159.6 kB / 415.4 MB, free: 11.96 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.145e-06/0.2916, allocations: 0 / 415.4 MB, free: 11.96 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.469e-05/0.2916, allocations: 0 / 415.4 MB, free: 11.96 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.186e-06/0.2916, allocations: 4 kB / 415.4 MB, free: 11.96 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000119/0.2917, allocations: 31.92 kB / 415.4 MB, free: 11.93 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004874/0.2922, allocations: 390.4 kB / 415.8 MB, free: 11.49 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002486/0.2925, allocations: 119.9 kB / 415.9 MB, free: 11.35 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.038e-05/0.2926, allocations: 50.5 kB / 416 MB, free: 11.29 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.85e-05/0.2926, allocations: 4 kB / 416 MB, free: 11.29 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001606/0.2928, allocations: 75.38 kB / 416.1 MB, free: 11.2 MB / 334.1 MB Notification: Performance of pre-optimization done (n=9): time 1.623e-06/0.2928, allocations: 0 / 416.1 MB, free: 11.2 MB / 334.1 MB Notification: Performance of matching and sorting (n=9): time 0.0003899/0.2932, allocations: 157.4 kB / 416.2 MB, free: 11.04 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.297e-05/0.2933, allocations: 158.2 kB / 416.4 MB, free: 10.85 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003238/0.2936, allocations: 334.7 kB / 416.7 MB, free: 10.51 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.183e-05/0.2936, allocations: 25.7 kB / 416.7 MB, free: 10.48 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001013/0.2937, allocations: 143.9 kB / 416.9 MB, free: 10.33 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.349e-05/0.2938, allocations: 15.91 kB / 416.9 MB, free: 10.32 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.714e-05/0.2938, allocations: 37.95 kB / 416.9 MB, free: 10.27 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001868/0.294, allocations: 334.8 kB / 417.2 MB, free: 9.938 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.108e-05/0.2941, allocations: 20 kB / 417.3 MB, free: 9.918 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001093/0.2942, allocations: 86.84 kB / 417.3 MB, free: 9.809 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001584/0.2944, allocations: 84.47 kB / 417.4 MB, free: 9.711 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.2944, allocations: 0 / 417.4 MB, free: 9.711 MB / 334.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000231/0.2946, allocations: 129.4 kB / 417.6 MB, free: 9.578 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.573e-05/0.2946, allocations: 10.97 kB / 417.6 MB, free: 9.57 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.899e-06/0.2947, allocations: 4.125 kB / 417.6 MB, free: 9.566 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.419e-05/0.2947, allocations: 4 kB / 417.6 MB, free: 9.562 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001102/0.2948, allocations: 15.98 kB / 417.6 MB, free: 9.547 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.093e-05/0.2948, allocations: 7.938 kB / 417.6 MB, free: 9.539 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.745e-05/0.2949, allocations: 8 kB / 417.6 MB, free: 9.531 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.144e-05/0.2949, allocations: 7.938 kB / 417.6 MB, free: 9.523 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.0001443/0.2951, allocations: 153.8 kB / 417.8 MB, free: 9.363 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.882e-05/0.2951, allocations: 27.8 kB / 417.8 MB, free: 9.336 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.32e-05/0.2952, allocations: 33.7 kB / 417.8 MB, free: 9.301 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.787e-06/0.2952, allocations: 0 / 417.8 MB, free: 9.301 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.2952, allocations: 48 / 417.8 MB, free: 9.301 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001239/0.2953, allocations: 120.9 kB / 417.9 MB, free: 9.164 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.543e-05/0.2954, allocations: 7.922 kB / 417.9 MB, free: 9.156 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.868e-05/0.2954, allocations: 4 kB / 418 MB, free: 9.152 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.733e-05/0.2955, allocations: 11.98 kB / 418 MB, free: 9.141 MB / 334.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0003352/0.2958, allocations: 355.4 kB / 418.3 MB, free: 8.785 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0003652/0.2962, allocations: 461 kB / 418.8 MB, free: 8.316 MB / 334.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001002/0.2963, allocations: 39.97 kB / 418.8 MB, free: 8.277 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.000233/0.2966, allocations: 253.9 kB / 419 MB, free: 8.031 MB / 334.1 MB Notification: Performance of Backend: time 5.51e-07/0.2966, allocations: 4.062 kB / 419.1 MB, free: 8.027 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001452/0.298, allocations: 451.1 kB / 419.5 MB, free: 7.723 MB / 334.1 MB Notification: Performance of SimCode: time 0.0008615/0.2989, allocations: 0.81 MB / 420.3 MB, free: 6.863 MB / 334.1 MB Notification: Performance of Templates: time 0.006544/0.3055, allocations: 2.978 MB / 423.3 MB, free: 3.914 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)