Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.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.IntegerSignals.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.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_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001389/0.001389, allocations: 110.3 kB / 17.75 MB, free: 5.355 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.001501/0.001501, allocations: 185.4 kB / 18.68 MB, free: 4.434 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.437/1.437, allocations: 222.9 MB / 242.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001095/0.001095, allocations: 47.94 kB / 352 MB, free: 3.262 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2961/0.2972, allocations: 49.43 MB / 401.4 MB, free: 8.746 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold): time 0.003223/0.3005, allocations: 1.9 MB / 403.3 MB, free: 6.977 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001746/0.3023, allocations: 1.161 MB / 404.5 MB, free: 5.809 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001063/0.3024, allocations: 4 kB / 404.5 MB, free: 5.805 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002961/0.3027, allocations: 59.67 kB / 404.5 MB, free: 5.746 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002588/0.303, allocations: 99.56 kB / 404.6 MB, free: 5.648 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006715/0.3036, allocations: 255.4 kB / 404.9 MB, free: 5.402 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002181/0.3039, allocations: 179.5 kB / 405.1 MB, free: 5.227 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001115/0.304, allocations: 37.52 kB / 405.1 MB, free: 5.191 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001016/0.3041, allocations: 71.7 kB / 405.2 MB, free: 5.121 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001164/0.3042, allocations: 83.66 kB / 405.2 MB, free: 5.039 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.679e-05/0.3043, allocations: 8 kB / 405.2 MB, free: 5.031 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001547/0.3044, allocations: 67.91 kB / 405.3 MB, free: 4.965 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 8.327e-05/0.3045, allocations: 63.75 kB / 405.4 MB, free: 4.902 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 8.834e-05/0.3046, allocations: 75.48 kB / 405.5 MB, free: 4.828 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003098/0.3049, allocations: 244.3 kB / 405.7 MB, free: 4.594 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.3049, allocations: 0 / 405.7 MB, free: 4.594 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.352e-06/0.3049, allocations: 0 / 405.7 MB, free: 4.594 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.58e-06/0.3049, allocations: 0 / 405.7 MB, free: 4.594 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.0006886/0.3056, allocations: 0.535 MB / 406.2 MB, free: 4.004 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.712e-05/0.3057, allocations: 11.89 kB / 406.2 MB, free: 3.992 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.212e-05/0.3058, allocations: 24.66 kB / 406.3 MB, free: 3.969 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003772/0.3061, allocations: 291.5 kB / 406.5 MB, free: 3.645 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.98e-05/0.3062, allocations: 8.375 kB / 406.6 MB, free: 3.637 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.006e-05/0.3062, allocations: 12.12 kB / 406.6 MB, free: 3.625 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003475/0.3065, allocations: 168.4 kB / 406.7 MB, free: 3.43 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.596e-06/0.3066, allocations: 7.938 kB / 406.7 MB, free: 3.422 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.824e-05/0.3066, allocations: 7.984 kB / 406.7 MB, free: 3.414 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.589e-06/0.3066, allocations: 0 / 406.7 MB, free: 3.414 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001218/0.3067, allocations: 35.92 kB / 406.8 MB, free: 3.379 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005839/0.3073, allocations: 486.4 kB / 407.3 MB, free: 2.844 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002658/0.3076, allocations: 134.5 kB / 407.4 MB, free: 2.676 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000101/0.3077, allocations: 59.41 kB / 407.4 MB, free: 2.605 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.519e-05/0.3077, allocations: 8 kB / 407.5 MB, free: 2.598 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000184/0.3079, allocations: 105.1 kB / 407.6 MB, free: 2.477 MB / 318.1 MB Notification: Performance of pre-optimization done (n=11): time 1.452e-06/0.3079, allocations: 0 / 407.6 MB, free: 2.477 MB / 318.1 MB Notification: Performance of matching and sorting (n=11): time 0.0004029/0.3084, allocations: 165.4 kB / 407.7 MB, free: 2.309 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.49e-05/0.3084, allocations: 183.9 kB / 407.9 MB, free: 2.086 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003162/0.3088, allocations: 327.1 kB / 408.2 MB, free: 1.758 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.03e-05/0.3088, allocations: 33.7 kB / 408.2 MB, free: 1.719 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.128e-05/0.3089, allocations: 128.4 kB / 408.4 MB, free: 1.586 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.564e-05/0.3089, allocations: 19.72 kB / 408.4 MB, free: 1.566 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.437e-05/0.309, allocations: 33.7 kB / 408.4 MB, free: 1.527 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001135/0.3091, allocations: 338.8 kB / 408.8 MB, free: 1.188 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.96e-05/0.3092, allocations: 35.98 kB / 408.8 MB, free: 1.152 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001159/0.3093, allocations: 102.5 kB / 408.9 MB, free: 1.027 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001663/0.3095, allocations: 97.08 kB / 409 MB, free: 0.9141 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.245e-06/0.3095, allocations: 0 / 409 MB, free: 0.9141 MB / 318.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002414/0.3097, allocations: 133.3 kB / 409.1 MB, free: 0.7773 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.715e-05/0.3098, allocations: 8 kB / 409.1 MB, free: 0.7695 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.989e-06/0.3098, allocations: 0 / 409.1 MB, free: 0.7695 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.352e-05/0.3098, allocations: 4 kB / 409.1 MB, free: 0.7656 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001212/0.3099, allocations: 23.92 kB / 409.2 MB, free: 0.7422 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.3e-05/0.31, allocations: 4 kB / 409.2 MB, free: 0.7383 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.55e-05/0.31, allocations: 19.94 kB / 409.2 MB, free: 0.7188 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.335e-05/0.3101, allocations: 11.94 kB / 409.2 MB, free: 0.707 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.0001323/0.3102, allocations: 154.3 kB / 409.3 MB, free: 0.5469 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.987e-05/0.3102, allocations: 27.7 kB / 409.4 MB, free: 0.5195 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.093e-05/0.3103, allocations: 25.7 kB / 409.4 MB, free: 0.4922 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.611e-06/0.3103, allocations: 4 kB / 409.4 MB, free: 500 kB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-06/0.3103, allocations: 0 / 409.4 MB, free: 500 kB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001061/0.3104, allocations: 112.8 kB / 409.5 MB, free: 368 kB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.601e-05/0.3105, allocations: 15.92 kB / 409.5 MB, free: 352 kB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.695e-05/0.3106, allocations: 8 kB / 409.5 MB, free: 344 kB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.484e-05/0.3106, allocations: 12.02 kB / 409.5 MB, free: 332 kB / 318.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0003833/0.311, allocations: 438.8 kB / 410 MB, free: 15.88 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0003777/0.3114, allocations: 0.5277 MB / 410.5 MB, free: 15.34 MB / 334.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001169/0.3115, allocations: 63.83 kB / 410.6 MB, free: 15.28 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002194/0.3118, allocations: 241.9 kB / 410.8 MB, free: 15.04 MB / 334.1 MB Notification: Performance of Backend: time 4.31e-07/0.3118, allocations: 7.938 kB / 410.8 MB, free: 15.03 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001665/0.3134, allocations: 463.4 kB / 411.3 MB, free: 14.74 MB / 334.1 MB Notification: Performance of SimCode: time 0.001012/0.3145, allocations: 0.8217 MB / 412.1 MB, free: 13.87 MB / 334.1 MB Notification: Performance of Templates: time 0.006441/0.3209, allocations: 3.146 MB / 415.2 MB, free: 10.75 MB / 334.1 MB make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold.makefile (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold.pipe 2>&1)