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.001189/0.001189, allocations: 116.1 kB / 18.46 MB, free: 4.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001282/0.001282, 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.474/1.474, allocations: 227.4 MB / 247.6 MB, free: 10.42 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001296/0.001296, allocations: 63.91 kB / 359.4 MB, free: 12.91 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3344/0.3357, allocations: 50.54 MB / 409.9 MB, free: 1.578 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample): time 0.003538/0.3393, allocations: 1.925 MB / 411.8 MB, free: 15.64 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002585/0.3419, allocations: 1.313 MB / 413.2 MB, free: 14.32 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001985/0.3422, allocations: 4 kB / 413.2 MB, free: 14.32 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004304/0.3426, allocations: 75.61 kB / 413.2 MB, free: 14.24 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003607/0.343, allocations: 131.4 kB / 413.4 MB, free: 14.11 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006493/0.3436, allocations: 226.9 kB / 413.6 MB, free: 13.89 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002576/0.3439, allocations: 187.5 kB / 413.8 MB, free: 13.71 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001255/0.344, allocations: 37.66 kB / 413.8 MB, free: 13.68 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001161/0.3442, allocations: 79.64 kB / 413.9 MB, free: 13.6 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001221/0.3443, allocations: 87.61 kB / 414 MB, free: 13.51 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.763e-05/0.3443, allocations: 8 kB / 414 MB, free: 13.5 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001732/0.3445, allocations: 71.89 kB / 414 MB, free: 13.43 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 9.245e-05/0.3446, allocations: 59.77 kB / 414.1 MB, free: 13.38 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 9.542e-05/0.3447, allocations: 91.41 kB / 414.2 MB, free: 13.29 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003339/0.3451, allocations: 251 kB / 414.4 MB, free: 13.04 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.3451, allocations: 0 / 414.4 MB, free: 13.04 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.933e-06/0.3451, allocations: 0 / 414.4 MB, free: 13.04 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.491e-06/0.3451, 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.0007911/0.3459, allocations: 0.544 MB / 415 MB, free: 12.45 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.252e-05/0.3459, allocations: 16.02 kB / 415 MB, free: 12.43 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.243e-05/0.346, allocations: 20.66 kB / 415 MB, free: 12.41 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004589/0.3465, allocations: 311.4 kB / 415.3 MB, free: 12.07 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.446e-05/0.3465, allocations: 4.375 kB / 415.3 MB, free: 12.06 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.282e-05/0.3465, allocations: 12.12 kB / 415.3 MB, free: 12.05 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003751/0.3469, allocations: 176.4 kB / 415.5 MB, free: 11.85 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.027e-05/0.3469, allocations: 0 / 415.5 MB, free: 11.85 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.866e-05/0.347, allocations: 8 kB / 415.5 MB, free: 11.84 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.803e-06/0.347, allocations: 3.984 kB / 415.5 MB, free: 11.84 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001293/0.3471, allocations: 39.92 kB / 415.6 MB, free: 11.8 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005531/0.3477, allocations: 403.2 kB / 416 MB, free: 11.34 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00026/0.3479, allocations: 142.5 kB / 416.1 MB, free: 11.17 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001101/0.3481, allocations: 59.42 kB / 416.2 MB, free: 11.1 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.253e-05/0.3481, allocations: 3.938 kB / 416.2 MB, free: 11.09 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001705/0.3483, allocations: 79.38 kB / 416.2 MB, free: 11 MB / 334.1 MB Notification: Performance of pre-optimization done (n=11): time 1.713e-06/0.3483, allocations: 4 kB / 416.2 MB, free: 11 MB / 334.1 MB Notification: Performance of matching and sorting (n=11): time 0.0004254/0.3487, allocations: 173.3 kB / 416.4 MB, free: 10.82 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.069e-05/0.3488, allocations: 183.9 kB / 416.6 MB, free: 10.6 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003469/0.3492, allocations: 343 kB / 416.9 MB, free: 10.25 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.495e-05/0.3492, allocations: 33.7 kB / 417 MB, free: 10.21 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001005/0.3493, allocations: 128.8 kB / 417.1 MB, free: 10.08 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.288e-05/0.3493, allocations: 19.81 kB / 417.1 MB, free: 10.06 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.421e-05/0.3494, allocations: 33.7 kB / 417.1 MB, free: 10.02 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001316/0.3495, allocations: 342.8 kB / 417.5 MB, free: 9.68 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.406e-05/0.3496, allocations: 24.05 kB / 417.5 MB, free: 9.656 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001228/0.3498, allocations: 104.5 kB / 417.6 MB, free: 9.523 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001724/0.3499, allocations: 97.92 kB / 417.7 MB, free: 9.406 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/0.3499, allocations: 7.938 kB / 417.7 MB, free: 9.398 MB / 334.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002683/0.3502, allocations: 141.2 kB / 417.8 MB, free: 9.254 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.288e-05/0.3503, allocations: 4 kB / 417.8 MB, free: 9.25 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.101e-06/0.3503, allocations: 0 / 417.8 MB, free: 9.25 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.012e-05/0.3503, allocations: 4 kB / 417.8 MB, free: 9.246 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001299/0.3504, allocations: 19.98 kB / 417.9 MB, free: 9.227 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.973e-06/0.3504, allocations: 4 kB / 417.9 MB, free: 9.223 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.079e-05/0.3505, allocations: 24.02 kB / 417.9 MB, free: 9.199 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.226e-05/0.3506, allocations: 7.938 kB / 417.9 MB, free: 9.191 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.0001443/0.3507, allocations: 161.7 kB / 418.1 MB, free: 9.023 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.39e-05/0.3508, allocations: 23.72 kB / 418.1 MB, free: 9 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.678e-05/0.3508, allocations: 25.73 kB / 418.1 MB, free: 8.977 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.745e-06/0.3508, allocations: 7.984 kB / 418.1 MB, free: 8.969 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/0.3508, allocations: 0 / 418.1 MB, free: 8.969 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001111/0.351, allocations: 112.8 kB / 418.2 MB, free: 8.84 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.369e-05/0.351, allocations: 11.92 kB / 418.2 MB, free: 8.828 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.901e-05/0.3511, allocations: 12 kB / 418.2 MB, free: 8.816 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.899e-05/0.3512, allocations: 7.984 kB / 418.3 MB, free: 8.809 MB / 334.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0003832/0.3516, allocations: 442.8 kB / 418.7 MB, free: 8.367 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0003933/0.352, allocations: 0.5354 MB / 419.2 MB, free: 7.812 MB / 334.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001148/0.3521, allocations: 55.95 kB / 419.3 MB, free: 7.758 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002423/0.3523, allocations: 249.9 kB / 419.5 MB, free: 7.512 MB / 334.1 MB Notification: Performance of Backend: time 3.8e-07/0.3523, allocations: 0 / 419.5 MB, free: 7.512 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001707/0.3541, allocations: 466.5 kB / 420 MB, free: 7.191 MB / 334.1 MB Notification: Performance of SimCode: time 0.0009808/0.3551, allocations: 0.8495 MB / 420.8 MB, free: 6.293 MB / 334.1 MB Notification: Performance of Templates: time 0.008536/0.3636, 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)