Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample.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.ClockSignals.SubSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample") translateModel(Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001642/0.001642, allocations: 112.1 kB / 18.46 MB, free: 4.59 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002079/0.002079, allocations: 206.8 kB / 19.41 MB, free: 3.641 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.357/1.357, allocations: 227.4 MB / 247.6 MB, free: 10.48 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001166/0.001166, allocations: 59.91 kB / 359.4 MB, free: 12.95 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.337/0.3381, allocations: 50.54 MB / 409.9 MB, free: 1.609 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample): time 0.003948/0.3421, allocations: 1.565 MB / 411.5 MB, free: 48 kB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001365/0.3435, allocations: 0.5298 MB / 412 MB, free: 15.51 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.66e-05/0.3436, allocations: 4 kB / 412 MB, free: 15.51 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 5.478e-05/0.3437, allocations: 3.938 kB / 412 MB, free: 15.5 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000163/0.3439, allocations: 15.84 kB / 412 MB, free: 15.49 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003782/0.3443, allocations: 51.83 kB / 412.1 MB, free: 15.44 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001407/0.3444, allocations: 51.78 kB / 412.1 MB, free: 15.39 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001224/0.3446, allocations: 16.19 kB / 412.2 MB, free: 15.37 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001526/0.3447, allocations: 31.91 kB / 412.2 MB, free: 15.34 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.42e-05/0.3448, allocations: 23.86 kB / 412.2 MB, free: 15.32 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.763e-05/0.3449, allocations: 0 / 412.2 MB, free: 15.32 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.119e-05/0.3449, allocations: 8 kB / 412.2 MB, free: 15.31 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.436e-05/0.345, allocations: 15.92 kB / 412.2 MB, free: 15.29 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.513e-05/0.345, allocations: 23.81 kB / 412.3 MB, free: 15.27 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001846/0.3452, allocations: 59.53 kB / 412.3 MB, free: 15.21 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.968e-06/0.3453, allocations: 3.938 kB / 412.3 MB, free: 15.21 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.3453, allocations: 7.938 kB / 412.3 MB, free: 15.2 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.45e-06/0.3453, allocations: 4 kB / 412.3 MB, free: 15.2 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0005932/0.3459, allocations: 379.1 kB / 412.7 MB, free: 14.78 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.162e-05/0.346, allocations: 12.02 kB / 412.7 MB, free: 14.77 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001991/0.3462, allocations: 16.89 kB / 412.7 MB, free: 14.75 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000313/0.3465, allocations: 198.5 kB / 412.9 MB, free: 14.52 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.572e-05/0.3465, allocations: 8.375 kB / 412.9 MB, free: 14.52 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.637e-05/0.3465, allocations: 4.375 kB / 412.9 MB, free: 14.51 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003396/0.3469, allocations: 105.2 kB / 413 MB, free: 14.39 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.002e-05/0.3469, allocations: 0 / 413 MB, free: 14.39 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.187e-05/0.3469, allocations: 4 kB / 413 MB, free: 14.39 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.552e-06/0.347, allocations: 0 / 413 MB, free: 14.39 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000113/0.3471, allocations: 27.86 kB / 413.1 MB, free: 14.36 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003617/0.3475, allocations: 261.7 kB / 413.3 MB, free: 14.05 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001096/0.3476, allocations: 53.14 kB / 413.4 MB, free: 13.98 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.816e-05/0.3477, allocations: 17.77 kB / 413.4 MB, free: 13.95 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.097e-05/0.3477, allocations: 8 kB / 413.4 MB, free: 13.95 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.128e-05/0.3477, allocations: 34.56 kB / 413.4 MB, free: 13.9 MB / 334.1 MB Notification: Performance of pre-optimization done (n=2): time 1.553e-06/0.3477, allocations: 0 / 413.4 MB, free: 13.9 MB / 334.1 MB Notification: Performance of matching and sorting (n=2): time 0.0003199/0.3481, allocations: 69.56 kB / 413.5 MB, free: 13.83 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.242e-05/0.3481, allocations: 77.11 kB / 413.6 MB, free: 13.73 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001642/0.3483, allocations: 138.1 kB / 413.7 MB, free: 13.59 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.647e-05/0.3483, allocations: 25.7 kB / 413.7 MB, free: 13.56 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.549e-05/0.3484, allocations: 96.12 kB / 413.8 MB, free: 13.46 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.564e-05/0.3484, allocations: 3.953 kB / 413.8 MB, free: 13.46 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.833e-05/0.3485, allocations: 13.72 kB / 413.9 MB, free: 13.44 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001293/0.3486, allocations: 314.8 kB / 414.2 MB, free: 13.12 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.865e-05/0.3487, allocations: 11.98 kB / 414.2 MB, free: 13.11 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.833e-05/0.3488, allocations: 29.64 kB / 414.2 MB, free: 13.07 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001117/0.3489, allocations: 25.66 kB / 414.2 MB, free: 13.04 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.324e-06/0.3489, allocations: 0 / 414.2 MB, free: 13.04 MB / 334.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001911/0.3491, allocations: 61.56 kB / 414.3 MB, free: 12.98 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.158e-05/0.3492, allocations: 4 kB / 414.3 MB, free: 12.97 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.815e-06/0.3492, allocations: 8.125 kB / 414.3 MB, free: 12.96 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.402e-05/0.3492, allocations: 0 / 414.3 MB, free: 12.96 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.771e-05/0.3493, allocations: 8 kB / 414.3 MB, free: 12.96 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.342e-06/0.3493, allocations: 0 / 414.3 MB, free: 12.96 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.951e-05/0.3494, allocations: 7.984 kB / 414.3 MB, free: 12.95 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.03e-05/0.3494, allocations: 4 kB / 414.3 MB, free: 12.95 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (2): * Single equations (assignments): 2 * 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.0001019/0.3495, allocations: 113.8 kB / 414.4 MB, free: 12.82 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.848e-05/0.3496, allocations: 7.953 kB / 414.4 MB, free: 12.82 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.51e-05/0.3496, allocations: 19.81 kB / 414.5 MB, free: 12.79 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.919e-06/0.3496, allocations: 7.938 kB / 414.5 MB, free: 12.78 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.3497, allocations: 0 / 414.5 MB, free: 12.78 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.563e-05/0.3497, allocations: 93.05 kB / 414.6 MB, free: 12.67 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.876e-05/0.3498, allocations: 0 / 414.6 MB, free: 12.67 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.372e-05/0.3499, allocations: 4 kB / 414.6 MB, free: 12.67 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.563e-05/0.3499, allocations: 7.922 kB / 414.6 MB, free: 12.66 MB / 334.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.000248/0.3502, allocations: 212.1 kB / 414.8 MB, free: 12.45 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002712/0.3505, allocations: 314 kB / 415.1 MB, free: 12.12 MB / 334.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 6.567e-05/0.3506, allocations: 8 kB / 415.1 MB, free: 12.11 MB / 334.1 MB Notification: Performance of sorting global known variables: time 9.553e-05/0.3507, allocations: 110 kB / 415.2 MB, free: 12.01 MB / 334.1 MB Notification: Performance of Backend: time 5.61e-07/0.3507, allocations: 0 / 415.2 MB, free: 12.01 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0006996/0.3514, allocations: 94.42 kB / 415.3 MB, free: 11.91 MB / 334.1 MB Notification: Performance of SimCode: time 0.000647/0.3521, allocations: 0.6166 MB / 415.9 MB, free: 11.25 MB / 334.1 MB Notification: Performance of Templates: time 0.003989/0.3561, allocations: 0.6149 MB / 416.5 MB, free: 10.64 MB / 334.1 MB make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample.makefile (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample.pipe 2>&1)