Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.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.IntegerSignals.SubSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y|subSample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SubSample") translateModel(Modelica.Clocked.Examples.Elementary.IntegerSignals.SubSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y|subSample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SubSample") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001444/0.001444, allocations: 114.2 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.00179/0.00179, 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.481/1.481, allocations: 227.4 MB / 247.6 MB, free: 10.48 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001303/0.001303, allocations: 59.91 kB / 359.4 MB, free: 12.96 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3081/0.3094, allocations: 50.54 MB / 409.9 MB, free: 1.641 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.SubSample): time 0.003037/0.3125, allocations: 1.887 MB / 411.8 MB, free: 15.75 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001834/0.3143, allocations: 1.27 MB / 413.1 MB, free: 14.47 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001032/0.3144, allocations: 7.938 kB / 413.1 MB, free: 14.46 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003155/0.3148, allocations: 67.66 kB / 413.2 MB, free: 14.39 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003216/0.3151, allocations: 131.4 kB / 413.3 MB, free: 14.26 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005854/0.3157, allocations: 223 kB / 413.5 MB, free: 14.05 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002281/0.3159, allocations: 179.5 kB / 413.7 MB, free: 13.87 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001057/0.3161, allocations: 29.55 kB / 413.7 MB, free: 13.84 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.938e-05/0.3162, allocations: 75.69 kB / 413.8 MB, free: 13.77 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001059/0.3163, allocations: 79.62 kB / 413.9 MB, free: 13.69 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.938e-05/0.3163, allocations: 8 kB / 413.9 MB, free: 13.68 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001455/0.3165, allocations: 75.94 kB / 413.9 MB, free: 13.61 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.033e-05/0.3166, allocations: 47.84 kB / 414 MB, free: 13.56 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 8.448e-05/0.3166, allocations: 83.42 kB / 414.1 MB, free: 13.48 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002916/0.3169, allocations: 243 kB / 414.3 MB, free: 13.25 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/0.317, allocations: 0 / 414.3 MB, free: 13.25 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.317, allocations: 0 / 414.3 MB, free: 13.25 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.059e-06/0.317, allocations: 0 / 414.3 MB, free: 13.25 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.0006824/0.3177, allocations: 0.5441 MB / 414.9 MB, free: 12.65 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.63e-05/0.3177, allocations: 8.031 kB / 414.9 MB, free: 12.64 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.998e-05/0.3178, allocations: 32.58 kB / 414.9 MB, free: 12.61 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003622/0.3181, allocations: 287.6 kB / 415.2 MB, free: 12.29 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.602e-05/0.3182, allocations: 4.375 kB / 415.2 MB, free: 12.29 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.759e-05/0.3182, allocations: 12.11 kB / 415.2 MB, free: 12.27 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003099/0.3185, allocations: 155.5 kB / 415.3 MB, free: 12.09 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.436e-06/0.3185, allocations: 0 / 415.3 MB, free: 12.09 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.849e-05/0.3186, allocations: 7.984 kB / 415.3 MB, free: 12.09 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.453e-06/0.3186, allocations: 4 kB / 415.4 MB, free: 12.08 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001143/0.3187, allocations: 35.92 kB / 415.4 MB, free: 12.05 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004772/0.3192, allocations: 382.4 kB / 415.8 MB, free: 11.62 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002334/0.3194, allocations: 123.8 kB / 415.9 MB, free: 11.47 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.66e-05/0.3195, allocations: 46.56 kB / 415.9 MB, free: 11.41 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.251e-05/0.3195, allocations: 0 / 415.9 MB, free: 11.41 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001653/0.3197, allocations: 83.38 kB / 416 MB, free: 11.32 MB / 334.1 MB Notification: Performance of pre-optimization done (n=9): time 1.593e-06/0.3197, allocations: 0 / 416 MB, free: 11.32 MB / 334.1 MB Notification: Performance of matching and sorting (n=9): time 0.0003673/0.3201, allocations: 149.2 kB / 416.2 MB, free: 11.17 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.973e-05/0.3202, allocations: 158.2 kB / 416.3 MB, free: 10.98 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003192/0.3205, allocations: 338.7 kB / 416.6 MB, free: 10.63 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.665e-05/0.3205, allocations: 25.7 kB / 416.7 MB, free: 10.6 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.168e-05/0.3206, allocations: 136 kB / 416.8 MB, free: 10.46 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.761e-05/0.3207, allocations: 27.98 kB / 416.8 MB, free: 10.44 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.616e-05/0.3207, allocations: 25.7 kB / 416.8 MB, free: 10.41 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001076/0.3208, allocations: 338.8 kB / 417.2 MB, free: 10.07 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.813e-05/0.3209, allocations: 19.98 kB / 417.2 MB, free: 10.05 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001048/0.321, allocations: 82.84 kB / 417.3 MB, free: 9.941 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001463/0.3212, allocations: 84.47 kB / 417.4 MB, free: 9.844 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.607e-06/0.3212, allocations: 8 kB / 417.4 MB, free: 9.836 MB / 334.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002281/0.3214, allocations: 125.4 kB / 417.5 MB, free: 9.707 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.513e-05/0.3214, allocations: 14.81 kB / 417.5 MB, free: 9.695 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.308e-06/0.3214, allocations: 0 / 417.5 MB, free: 9.695 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.193e-05/0.3215, allocations: 0 / 417.5 MB, free: 9.695 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001048/0.3216, allocations: 23.92 kB / 417.5 MB, free: 9.672 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.049e-05/0.3216, allocations: 4 kB / 417.5 MB, free: 9.668 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.588e-05/0.3217, allocations: 7.984 kB / 417.5 MB, free: 9.66 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.295e-05/0.3217, allocations: 11.94 kB / 417.6 MB, free: 9.648 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,subSample1.y,subSample1.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.0001219/0.3218, allocations: 149.8 kB / 417.7 MB, free: 9.492 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.538e-05/0.3219, allocations: 23.72 kB / 417.7 MB, free: 9.469 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.185e-05/0.3219, allocations: 29.7 kB / 417.8 MB, free: 9.438 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.767e-06/0.3219, allocations: 0 / 417.8 MB, free: 9.438 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.3219, allocations: 0 / 417.8 MB, free: 9.438 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001035/0.322, allocations: 120.7 kB / 417.9 MB, free: 9.301 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.175e-05/0.3221, allocations: 7.938 kB / 417.9 MB, free: 9.293 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.84e-05/0.3222, allocations: 7.938 kB / 417.9 MB, free: 9.285 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.888e-05/0.3222, allocations: 11.98 kB / 417.9 MB, free: 9.273 MB / 334.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0003223/0.3225, allocations: 355.4 kB / 418.2 MB, free: 8.918 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0003603/0.3229, allocations: 457 kB / 418.7 MB, free: 8.453 MB / 334.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 9.729e-05/0.323, allocations: 39.97 kB / 418.7 MB, free: 8.414 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002193/0.3232, allocations: 254 kB / 419 MB, free: 8.168 MB / 334.1 MB Notification: Performance of Backend: time 2.21e-07/0.3233, allocations: 0 / 419 MB, free: 8.168 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001446/0.3247, allocations: 455.1 kB / 419.4 MB, free: 7.859 MB / 334.1 MB Notification: Performance of SimCode: time 0.000844/0.3256, allocations: 0.8199 MB / 420.2 MB, free: 6.992 MB / 334.1 MB Notification: Performance of Templates: time 0.006516/0.3321, allocations: 2.969 MB / 423.2 MB, free: 4.047 MB / 334.1 MB make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SubSample.makefile (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SubSample.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SubSample.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SubSample.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SubSample.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SubSample -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SubSample.pipe 2>&1)