Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y|shiftSample1.y|hold1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold") translateModel(Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y|shiftSample1.y|hold1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00157/0.00157, allocations: 106.3 kB / 17.74 MB, free: 5.336 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001584/0.001584, allocations: 185.4 kB / 18.67 MB, free: 4.418 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.379/1.379, allocations: 222.9 MB / 242.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001152/0.001153, allocations: 47.94 kB / 352 MB, free: 3.25 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2969/0.2981, allocations: 49.42 MB / 401.4 MB, free: 8.758 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold): time 0.003726/0.3019, allocations: 1.903 MB / 403.3 MB, free: 6.984 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002008/0.3039, allocations: 1.075 MB / 404.4 MB, free: 5.902 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001389/0.3041, allocations: 4 kB / 404.4 MB, free: 5.898 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007727/0.3049, allocations: 159.5 kB / 404.5 MB, free: 5.742 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003122/0.3052, allocations: 115.6 kB / 404.6 MB, free: 5.629 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005826/0.3058, allocations: 202.4 kB / 404.8 MB, free: 5.434 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002866/0.3061, allocations: 191.5 kB / 405 MB, free: 5.246 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001374/0.3062, allocations: 37.48 kB / 405.1 MB, free: 5.211 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001486/0.3064, allocations: 83.56 kB / 405.1 MB, free: 5.129 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001318/0.3065, allocations: 67.7 kB / 405.2 MB, free: 5.062 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.411e-05/0.3066, allocations: 12 kB / 405.2 MB, free: 5.051 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001667/0.3067, allocations: 55.95 kB / 405.3 MB, free: 4.996 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 7.827e-05/0.3068, allocations: 47.78 kB / 405.3 MB, free: 4.949 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 9.576e-05/0.3069, allocations: 79.47 kB / 405.4 MB, free: 4.871 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003227/0.3073, allocations: 204.4 kB / 405.6 MB, free: 4.676 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.568e-06/0.3073, allocations: 0 / 405.6 MB, free: 4.676 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.232e-06/0.3073, allocations: 0 / 405.6 MB, free: 4.676 MB / 318.1 MB Notification: Performance of Transformations before backend: time 8.806e-06/0.3073, allocations: 0 / 405.6 MB, free: 4.676 MB / 318.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.000873/0.3082, allocations: 0.5226 MB / 406.1 MB, free: 4.102 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.758e-05/0.3082, allocations: 11.89 kB / 406.1 MB, free: 4.09 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.821e-05/0.3083, allocations: 20.66 kB / 406.2 MB, free: 4.07 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000368/0.3087, allocations: 270.8 kB / 406.4 MB, free: 3.766 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.633e-05/0.3087, allocations: 4.375 kB / 406.4 MB, free: 3.762 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.972e-05/0.3087, allocations: 12.12 kB / 406.4 MB, free: 3.75 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003668/0.3091, allocations: 167.2 kB / 406.6 MB, free: 3.562 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.799e-06/0.3091, allocations: 0 / 406.6 MB, free: 3.562 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.403e-05/0.3092, allocations: 0 / 406.6 MB, free: 3.562 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.915e-06/0.3092, allocations: 4 kB / 406.6 MB, free: 3.559 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001167/0.3093, allocations: 39.92 kB / 406.6 MB, free: 3.52 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006146/0.3099, allocations: 442.5 kB / 407.1 MB, free: 3.027 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002623/0.3102, allocations: 146.4 kB / 407.2 MB, free: 2.848 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.598e-05/0.3103, allocations: 55.42 kB / 407.3 MB, free: 2.781 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.244e-05/0.3103, allocations: 4 kB / 407.3 MB, free: 2.777 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001895/0.3105, allocations: 97.09 kB / 407.4 MB, free: 2.664 MB / 318.1 MB Notification: Performance of pre-optimization done (n=11): time 4.028e-06/0.3106, allocations: 0 / 407.4 MB, free: 2.664 MB / 318.1 MB Notification: Performance of matching and sorting (n=11): time 0.0004059/0.311, allocations: 157.8 kB / 407.5 MB, free: 2.504 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.704e-05/0.3111, allocations: 162.2 kB / 407.7 MB, free: 2.309 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002838/0.3114, allocations: 268.8 kB / 407.9 MB, free: 2.031 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.072e-05/0.3114, allocations: 29.7 kB / 408 MB, free: 1.996 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001096/0.3115, allocations: 116.4 kB / 408.1 MB, free: 1.875 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.099e-05/0.3116, allocations: 19.8 kB / 408.1 MB, free: 1.855 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.782e-05/0.3116, allocations: 37.61 kB / 408.1 MB, free: 1.812 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001367/0.3118, allocations: 330.8 kB / 408.5 MB, free: 1.48 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.341e-05/0.3119, allocations: 28.05 kB / 408.5 MB, free: 1.453 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001064/0.312, allocations: 77.86 kB / 408.6 MB, free: 1.355 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001655/0.3121, allocations: 101 kB / 408.7 MB, free: 1.238 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.736e-06/0.3122, allocations: 0 / 408.7 MB, free: 1.238 MB / 318.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002416/0.3124, allocations: 121.4 kB / 408.8 MB, free: 1.113 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.707e-05/0.3124, allocations: 4 kB / 408.8 MB, free: 1.109 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.056e-06/0.3124, allocations: 8.094 kB / 408.8 MB, free: 1.102 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.687e-05/0.3125, allocations: 4 kB / 408.8 MB, free: 1.098 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.39e-05/0.3126, allocations: 15.98 kB / 408.8 MB, free: 1.082 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.605e-05/0.3126, allocations: 3.938 kB / 408.8 MB, free: 1.078 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.722e-05/0.3127, allocations: 15.94 kB / 408.8 MB, free: 1.062 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.252e-05/0.3127, allocations: 7.938 kB / 408.9 MB, free: 1.055 MB / 318.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.0001367/0.3128, allocations: 142.3 kB / 409 MB, free: 0.9062 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.096e-05/0.3129, allocations: 23.7 kB / 409 MB, free: 0.8828 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.903e-05/0.313, allocations: 25.72 kB / 409 MB, free: 0.8555 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.825e-06/0.313, allocations: 7.984 kB / 409 MB, free: 0.8477 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.313, allocations: 0 / 409 MB, free: 0.8477 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001104/0.3131, allocations: 104.9 kB / 409.1 MB, free: 0.7266 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.519e-05/0.3131, allocations: 7.938 kB / 409.2 MB, free: 0.7188 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.255e-05/0.3132, allocations: 7.984 kB / 409.2 MB, free: 0.7109 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.451e-05/0.3133, allocations: 8 kB / 409.2 MB, free: 0.7031 MB / 318.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0003861/0.3137, allocations: 438.8 kB / 409.6 MB, free: 272 kB / 318.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0004381/0.3141, allocations: 0.5275 MB / 410.1 MB, free: 15.72 MB / 334.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 9.512e-05/0.3142, allocations: 40.08 kB / 410.2 MB, free: 15.68 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001905/0.3144, allocations: 196.5 kB / 410.4 MB, free: 15.49 MB / 334.1 MB Notification: Performance of Backend: time 7.61e-07/0.3144, allocations: 0 / 410.4 MB, free: 15.49 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001666/0.3161, allocations: 439.5 kB / 410.8 MB, free: 15.21 MB / 334.1 MB Notification: Performance of SimCode: time 0.001003/0.3171, allocations: 0.7757 MB / 411.6 MB, free: 14.39 MB / 334.1 MB Notification: Performance of Templates: time 0.007116/0.3242, allocations: 2.673 MB / 414.2 MB, free: 11.75 MB / 334.1 MB make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold.makefile (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold.pipe 2>&1)