Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample.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.BackSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y|shiftSample1.y|backSample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample") translateModel(Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y|shiftSample1.y|backSample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001181/0.001182, allocations: 113.2 kB / 18.46 MB, free: 4.598 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001361/0.001361, allocations: 210.7 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.385/1.385, allocations: 227.4 MB / 247.6 MB, free: 10.46 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001316/0.001316, allocations: 59.89 kB / 359.4 MB, free: 12.89 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3019/0.3032, allocations: 50.54 MB / 409.9 MB, free: 1.57 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample): time 0.003039/0.3063, allocations: 1.918 MB / 411.8 MB, free: 15.64 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001928/0.3082, allocations: 1.313 MB / 413.2 MB, free: 14.32 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001104/0.3084, allocations: 7.938 kB / 413.2 MB, free: 14.31 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003155/0.3087, allocations: 63.67 kB / 413.2 MB, free: 14.25 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003352/0.309, allocations: 139.4 kB / 413.4 MB, free: 14.11 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005706/0.3096, allocations: 227 kB / 413.6 MB, free: 13.89 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002261/0.3099, allocations: 191.4 kB / 413.8 MB, free: 13.7 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001044/0.31, allocations: 33.66 kB / 413.8 MB, free: 13.67 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001071/0.3101, allocations: 79.64 kB / 413.9 MB, free: 13.59 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001153/0.3102, allocations: 87.61 kB / 414 MB, free: 13.51 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.298e-05/0.3102, allocations: 12 kB / 414 MB, free: 13.5 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001338/0.3104, allocations: 67.95 kB / 414 MB, free: 13.43 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.844e-05/0.3105, allocations: 59.77 kB / 414.1 MB, free: 13.37 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 8.093e-05/0.3106, allocations: 87.34 kB / 414.2 MB, free: 13.29 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002874/0.3108, allocations: 247.1 kB / 414.4 MB, free: 13.05 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.079e-06/0.3109, allocations: 3.984 kB / 414.4 MB, free: 13.04 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.032e-06/0.3109, allocations: 0 / 414.4 MB, free: 13.04 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.292e-06/0.3109, allocations: 0 / 414.4 MB, free: 13.04 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.0006581/0.3115, allocations: 0.544 MB / 415 MB, free: 12.45 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.468e-05/0.3116, allocations: 15.97 kB / 415 MB, free: 12.43 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.744e-05/0.3117, allocations: 24.66 kB / 415 MB, free: 12.41 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003566/0.312, allocations: 307.4 kB / 415.3 MB, free: 12.07 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.818e-05/0.312, allocations: 8.359 kB / 415.3 MB, free: 12.06 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.823e-05/0.3121, allocations: 12.12 kB / 415.3 MB, free: 12.05 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003385/0.3124, allocations: 180.4 kB / 415.5 MB, free: 11.84 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.266e-06/0.3124, allocations: 0 / 415.5 MB, free: 11.84 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.554e-05/0.3125, allocations: 3.984 kB / 415.5 MB, free: 11.84 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.629e-06/0.3125, allocations: 4 kB / 415.5 MB, free: 11.83 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001168/0.3126, allocations: 39.92 kB / 415.6 MB, free: 11.79 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000476/0.3131, allocations: 399.2 kB / 416 MB, free: 11.34 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002546/0.3133, allocations: 150.5 kB / 416.1 MB, free: 11.16 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.479e-05/0.3134, allocations: 55.42 kB / 416.2 MB, free: 11.09 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.25e-05/0.3135, allocations: 0 / 416.2 MB, free: 11.09 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001677/0.3136, allocations: 91.31 kB / 416.2 MB, free: 10.99 MB / 334.1 MB Notification: Performance of pre-optimization done (n=11): time 1.813e-06/0.3137, allocations: 0 / 416.2 MB, free: 10.99 MB / 334.1 MB Notification: Performance of matching and sorting (n=11): time 0.0003881/0.3141, allocations: 173.1 kB / 416.4 MB, free: 10.82 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.383e-05/0.3141, allocations: 183.9 kB / 416.6 MB, free: 10.59 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003385/0.3145, allocations: 343.4 kB / 416.9 MB, free: 10.25 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.825e-05/0.3145, allocations: 33.7 kB / 417 MB, free: 10.21 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.258e-05/0.3146, allocations: 128.4 kB / 417.1 MB, free: 10.07 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.673e-05/0.3146, allocations: 19.8 kB / 417.1 MB, free: 10.05 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.92e-05/0.3147, allocations: 33.7 kB / 417.1 MB, free: 10.02 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000108/0.3148, allocations: 338.8 kB / 417.5 MB, free: 9.676 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.005e-05/0.3149, allocations: 23.98 kB / 417.5 MB, free: 9.652 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001132/0.315, allocations: 100.6 kB / 417.6 MB, free: 9.523 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001598/0.3152, allocations: 105.8 kB / 417.7 MB, free: 9.398 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.983e-06/0.3152, allocations: 0 / 417.7 MB, free: 9.398 MB / 334.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002385/0.3154, allocations: 137.2 kB / 417.8 MB, free: 9.258 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.509e-05/0.3154, allocations: 10.97 kB / 417.8 MB, free: 9.25 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.909e-06/0.3155, allocations: 0 / 417.8 MB, free: 9.25 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.377e-05/0.3155, allocations: 4.188 kB / 417.8 MB, free: 9.246 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001128/0.3156, allocations: 31.92 kB / 417.9 MB, free: 9.215 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.238e-05/0.3156, allocations: 4 kB / 417.9 MB, free: 9.211 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.109e-05/0.3157, allocations: 11.84 kB / 417.9 MB, free: 9.199 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.459e-05/0.3157, allocations: 11.92 kB / 417.9 MB, free: 9.188 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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,backSample1.y,backSample1.u,shiftSample1.y,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.0001266/0.3159, allocations: 161.7 kB / 418.1 MB, free: 9.02 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.757e-05/0.3159, allocations: 19.72 kB / 418.1 MB, free: 9 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.625e-05/0.316, allocations: 29.73 kB / 418.1 MB, free: 8.973 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.011e-06/0.316, allocations: 8 kB / 418.1 MB, free: 8.965 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.316, allocations: 320 / 418.1 MB, free: 8.965 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.152e-05/0.3161, allocations: 116.8 kB / 418.2 MB, free: 8.832 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.391e-05/0.3161, allocations: 7.938 kB / 418.2 MB, free: 8.824 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.5e-05/0.3162, allocations: 15.98 kB / 418.3 MB, free: 8.809 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.592e-05/0.3162, allocations: 4 kB / 418.3 MB, free: 8.805 MB / 334.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0003478/0.3166, allocations: 438.7 kB / 418.7 MB, free: 8.367 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0003686/0.317, allocations: 0.5354 MB / 419.2 MB, free: 7.812 MB / 334.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001107/0.3171, allocations: 64.03 kB / 419.3 MB, free: 7.75 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002228/0.3173, allocations: 253.9 kB / 419.5 MB, free: 7.5 MB / 334.1 MB Notification: Performance of Backend: time 4.51e-07/0.3173, allocations: 0 / 419.5 MB, free: 7.5 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001516/0.3189, allocations: 466.4 kB / 420 MB, free: 7.176 MB / 334.1 MB Notification: Performance of SimCode: time 0.0008467/0.3197, allocations: 0.8318 MB / 420.8 MB, free: 6.293 MB / 334.1 MB Notification: Performance of Templates: time 0.006274/0.326, allocations: 3.275 MB / 424.1 MB, free: 3.055 MB / 334.1 MB make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample.makefile (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample.pipe 2>&1)