Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold.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.Hold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y|shiftSample1.y|hold1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold") translateModel(Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y|shiftSample1.y|hold1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001709/0.001709, allocations: 111 kB / 18.45 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.002266/0.002266, allocations: 211.9 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.484/1.484, allocations: 227.4 MB / 247.6 MB, free: 10.43 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001332/0.001332, allocations: 63.89 kB / 359.4 MB, free: 12.92 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2971/0.2984, allocations: 50.54 MB / 409.9 MB, free: 1.602 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold): time 0.003646/0.3021, allocations: 1.918 MB / 411.8 MB, free: 15.67 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002396/0.3045, allocations: 1.301 MB / 413.1 MB, free: 14.36 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001916/0.3047, allocations: 0 / 413.1 MB, free: 14.36 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003884/0.3052, allocations: 75.59 kB / 413.2 MB, free: 14.29 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004714/0.3057, allocations: 131.4 kB / 413.3 MB, free: 14.16 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008418/0.3065, allocations: 226.8 kB / 413.6 MB, free: 13.94 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003083/0.3069, allocations: 191.5 kB / 413.8 MB, free: 13.75 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001447/0.307, allocations: 33.53 kB / 413.8 MB, free: 13.72 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001763/0.3072, allocations: 75.69 kB / 413.9 MB, free: 13.64 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001643/0.3074, allocations: 91.61 kB / 414 MB, free: 13.55 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.342e-05/0.3074, allocations: 8 kB / 414 MB, free: 13.55 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001979/0.3076, allocations: 67.91 kB / 414 MB, free: 13.48 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001037/0.3077, allocations: 55.81 kB / 414.1 MB, free: 13.43 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 9.548e-05/0.3078, allocations: 79.42 kB / 414.2 MB, free: 13.35 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004304/0.3083, allocations: 255 kB / 414.4 MB, free: 13.1 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/0.3083, allocations: 4 kB / 414.4 MB, free: 13.1 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.3083, allocations: 0 / 414.4 MB, free: 13.1 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.725e-06/0.3083, allocations: 0 / 414.4 MB, free: 13.1 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.0009308/0.3092, allocations: 0.544 MB / 415 MB, free: 12.5 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.892e-05/0.3093, allocations: 12.02 kB / 415 MB, free: 12.49 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.653e-05/0.3094, allocations: 24.66 kB / 415 MB, free: 12.46 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005035/0.3099, allocations: 287.6 kB / 415.3 MB, free: 12.14 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.9e-05/0.3099, allocations: 8.312 kB / 415.3 MB, free: 12.14 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.044e-05/0.31, allocations: 12.12 kB / 415.3 MB, free: 12.12 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004245/0.3104, allocations: 176.4 kB / 415.5 MB, free: 11.92 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.108e-05/0.3104, allocations: 0 / 415.5 MB, free: 11.92 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.934e-05/0.3105, allocations: 4 kB / 415.5 MB, free: 11.92 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.534e-06/0.3105, allocations: 4 kB / 415.5 MB, free: 11.91 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001487/0.3106, allocations: 39.92 kB / 415.5 MB, free: 11.88 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007255/0.3114, allocations: 482.4 kB / 416 MB, free: 11.34 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002931/0.3117, allocations: 142.5 kB / 416.1 MB, free: 11.17 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001239/0.3118, allocations: 55.42 kB / 416.2 MB, free: 11.1 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.727e-05/0.3118, allocations: 7.938 kB / 416.2 MB, free: 11.09 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000189/0.312, allocations: 93.09 kB / 416.3 MB, free: 10.98 MB / 334.1 MB Notification: Performance of pre-optimization done (n=11): time 2.254e-06/0.312, allocations: 3.938 kB / 416.3 MB, free: 10.98 MB / 334.1 MB Notification: Performance of matching and sorting (n=11): time 0.0004624/0.3125, allocations: 169.4 kB / 416.4 MB, free: 10.81 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001107/0.3126, allocations: 192.3 kB / 416.6 MB, free: 10.58 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004003/0.313, allocations: 335 kB / 417 MB, free: 10.24 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.444e-05/0.3131, allocations: 29.7 kB / 417 MB, free: 10.2 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001109/0.3132, allocations: 136.3 kB / 417.1 MB, free: 10.06 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.101e-05/0.3132, allocations: 15.81 kB / 417.1 MB, free: 10.05 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.425e-05/0.3133, allocations: 33.7 kB / 417.2 MB, free: 10.01 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001462/0.3135, allocations: 334.8 kB / 417.5 MB, free: 9.672 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.581e-05/0.3136, allocations: 36.05 kB / 417.5 MB, free: 9.637 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000122/0.3137, allocations: 95.66 kB / 417.6 MB, free: 9.516 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001817/0.3139, allocations: 97.06 kB / 417.7 MB, free: 9.402 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-06/0.3139, allocations: 0 / 417.7 MB, free: 9.402 MB / 334.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002926/0.3142, allocations: 133.3 kB / 417.8 MB, free: 9.266 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.104e-05/0.3142, allocations: 8 kB / 417.9 MB, free: 9.258 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.733e-06/0.3142, allocations: 0 / 417.9 MB, free: 9.258 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.801e-05/0.3143, allocations: 8.156 kB / 417.9 MB, free: 9.25 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001313/0.3144, allocations: 27.86 kB / 417.9 MB, free: 9.223 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.296e-05/0.3144, allocations: 4 kB / 417.9 MB, free: 9.219 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001196/0.3145, allocations: 15.92 kB / 417.9 MB, free: 9.203 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.445e-05/0.3146, allocations: 7.938 kB / 417.9 MB, free: 9.195 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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,shiftSample1.y,hold1.y,hold1.u,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.0001723/0.3147, allocations: 157.8 kB / 418.1 MB, free: 9.031 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.148e-05/0.3148, allocations: 23.72 kB / 418.1 MB, free: 9.008 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.967e-05/0.3149, allocations: 33.67 kB / 418.1 MB, free: 8.977 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.643e-06/0.3149, allocations: 7.984 kB / 418.1 MB, free: 8.969 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.024e-06/0.3149, allocations: 0 / 418.1 MB, free: 8.969 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001422/0.3151, allocations: 112.8 kB / 418.2 MB, free: 8.84 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.288e-05/0.3151, allocations: 11.92 kB / 418.3 MB, free: 8.828 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.88e-05/0.3152, allocations: 4 kB / 418.3 MB, free: 8.824 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.64e-05/0.3153, allocations: 11.98 kB / 418.3 MB, free: 8.812 MB / 334.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0005242/0.3158, allocations: 442.9 kB / 418.7 MB, free: 8.371 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0005397/0.3163, allocations: 0.5276 MB / 419.2 MB, free: 7.824 MB / 334.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001288/0.3165, allocations: 63.98 kB / 419.3 MB, free: 7.762 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002818/0.3168, allocations: 253.9 kB / 419.5 MB, free: 7.516 MB / 334.1 MB Notification: Performance of Backend: time 1.212e-06/0.3168, allocations: 0 / 419.5 MB, free: 7.516 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001974/0.3188, allocations: 460.8 kB / 420 MB, free: 7.195 MB / 334.1 MB Notification: Performance of SimCode: time 0.001138/0.3199, allocations: 0.8321 MB / 420.8 MB, free: 6.312 MB / 334.1 MB Notification: Performance of Templates: time 0.008562/0.3285, allocations: 3.172 MB / 424 MB, free: 3.168 MB / 334.1 MB make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold.makefile (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold.pipe 2>&1)