Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1.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.RealSignals.HoldWithDAeffects1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y|hold1.y|// shiftSample1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y|hold1.y|// shiftSample1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001321/0.001321, allocations: 106.6 kB / 17.74 MB, free: 5.324 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.001434/0.001434, allocations: 194.9 kB / 18.68 MB, free: 4.398 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.37/1.37, allocations: 222.9 MB / 242.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001069/0.001069, allocations: 51.92 kB / 352 MB, free: 3.25 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.293/0.2941, allocations: 49.44 MB / 401.4 MB, free: 8.762 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1): time 0.003415/0.2975, allocations: 1.852 MB / 403.3 MB, free: 7.023 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001334/0.2989, allocations: 0.6273 MB / 403.9 MB, free: 6.395 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001999/0.2991, allocations: 7.938 kB / 403.9 MB, free: 6.387 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001661/0.2993, allocations: 19.8 kB / 403.9 MB, free: 6.367 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001595/0.2995, allocations: 27.73 kB / 404 MB, free: 6.34 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004826/0.3, allocations: 101.8 kB / 404.1 MB, free: 6.242 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002737/0.3003, allocations: 135.6 kB / 404.2 MB, free: 6.109 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001783/0.3005, allocations: 65.69 kB / 404.3 MB, free: 6.047 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001125/0.3006, allocations: 55.73 kB / 404.3 MB, free: 5.992 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.983e-05/0.3007, allocations: 55.69 kB / 404.4 MB, free: 5.938 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.209e-05/0.3007, allocations: 8 kB / 404.4 MB, free: 5.93 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.611e-05/0.3008, allocations: 16 kB / 404.4 MB, free: 5.914 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 6.343e-05/0.3008, allocations: 27.86 kB / 404.4 MB, free: 5.887 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 6.62e-05/0.3009, allocations: 63.61 kB / 404.5 MB, free: 5.824 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002097/0.3011, allocations: 139.4 kB / 404.6 MB, free: 5.688 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.3011, allocations: 4 kB / 404.6 MB, free: 5.684 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.3011, allocations: 3.938 kB / 404.6 MB, free: 5.68 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.541e-06/0.3011, allocations: 0 / 404.6 MB, free: 5.68 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: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.0006064/0.3018, allocations: 448.1 kB / 405.1 MB, free: 5.199 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.978e-05/0.3018, allocations: 15.83 kB / 405.1 MB, free: 5.184 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.48e-05/0.3019, allocations: 24.75 kB / 405.1 MB, free: 5.16 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000361/0.3022, allocations: 241.8 kB / 405.3 MB, free: 4.883 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.69e-05/0.3023, allocations: 8.125 kB / 405.3 MB, free: 4.875 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.78e-05/0.3023, allocations: 12 kB / 405.4 MB, free: 4.863 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006061/0.3029, allocations: 273.7 kB / 405.6 MB, free: 4.566 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.271e-05/0.3029, allocations: 3.938 kB / 405.6 MB, free: 4.562 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.59e-05/0.303, allocations: 12 kB / 405.6 MB, free: 4.551 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.051e-06/0.303, allocations: 0 / 405.6 MB, free: 4.551 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002431/0.3032, allocations: 75.88 kB / 405.7 MB, free: 4.477 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005623/0.3038, allocations: 427.3 kB / 406.1 MB, free: 3.996 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004696/0.3043, allocations: 290.1 kB / 406.4 MB, free: 3.648 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001983/0.3045, allocations: 112.3 kB / 406.5 MB, free: 3.523 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.544e-05/0.3045, allocations: 3.984 kB / 406.5 MB, free: 3.52 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.983e-05/0.3046, allocations: 42.56 kB / 406.6 MB, free: 3.469 MB / 318.1 MB Notification: Performance of pre-optimization done (n=17): time 4.218e-06/0.3046, allocations: 0 / 406.6 MB, free: 3.469 MB / 318.1 MB Notification: Performance of matching and sorting (n=17): time 0.0005627/0.3051, allocations: 217.2 kB / 406.8 MB, free: 3.25 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.454e-05/0.3052, allocations: 192.7 kB / 407 MB, free: 3.02 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001691/0.3054, allocations: 183.1 kB / 407.1 MB, free: 2.832 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.199e-05/0.3054, allocations: 29.64 kB / 407.2 MB, free: 2.797 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.899e-05/0.3055, allocations: 104.1 kB / 407.3 MB, free: 2.691 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.261e-05/0.3055, allocations: 15.84 kB / 407.3 MB, free: 2.676 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.509e-05/0.3056, allocations: 33.7 kB / 407.3 MB, free: 2.637 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001062/0.3057, allocations: 322.8 kB / 407.6 MB, free: 2.312 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.918e-05/0.3058, allocations: 23.98 kB / 407.7 MB, free: 2.289 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001315/0.3059, allocations: 133.1 kB / 407.8 MB, free: 2.109 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001998/0.3061, allocations: 165.5 kB / 408 MB, free: 1.898 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.94e-06/0.3061, allocations: 4 kB / 408 MB, free: 1.895 MB / 318.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0002826/0.3064, allocations: 161.7 kB / 408.1 MB, free: 1.73 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.683e-05/0.3065, allocations: 12.06 kB / 408.1 MB, free: 1.719 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.568e-06/0.3065, allocations: 7.938 kB / 408.1 MB, free: 1.711 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.78e-05/0.3065, allocations: 4 kB / 408.1 MB, free: 1.707 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001311/0.3066, allocations: 31.92 kB / 408.2 MB, free: 1.676 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.411e-05/0.3067, allocations: 8 kB / 408.2 MB, free: 1.668 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001067/0.3068, allocations: 19.83 kB / 408.2 MB, free: 1.648 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.302e-05/0.3068, allocations: 8 kB / 408.2 MB, free: 1.641 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (17): * Single equations (assignments): 17 * 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.0001135/0.3069, allocations: 133.8 kB / 408.3 MB, free: 1.5 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.46e-05/0.307, allocations: 23.8 kB / 408.4 MB, free: 1.477 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.983e-05/0.3071, allocations: 21.34 kB / 408.4 MB, free: 1.449 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.859e-06/0.3071, allocations: 4 kB / 408.4 MB, free: 1.445 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.3071, allocations: 0 / 408.4 MB, free: 1.445 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.783e-05/0.3072, allocations: 112.8 kB / 408.5 MB, free: 1.316 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.593e-05/0.3072, allocations: 4 kB / 408.5 MB, free: 1.312 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001715/0.3074, allocations: 15.98 kB / 408.5 MB, free: 1.297 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.163e-05/0.3074, allocations: 0 / 408.5 MB, free: 1.297 MB / 318.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0005182/0.3079, allocations: 0.5564 MB / 409.1 MB, free: 0.7305 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0004974/0.3084, allocations: 0.6324 MB / 409.7 MB, free: 80 kB / 318.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001408/0.3086, allocations: 59.95 kB / 409.8 MB, free: 20 kB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001198/0.3087, allocations: 137.2 kB / 409.9 MB, free: 15.89 MB / 334.1 MB Notification: Performance of Backend: time 5.21e-07/0.3087, allocations: 0 / 409.9 MB, free: 15.89 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0008009/0.3095, allocations: 150.2 kB / 410 MB, free: 15.73 MB / 334.1 MB Notification: Performance of SimCode: time 0.0008026/0.3104, allocations: 0.724 MB / 410.8 MB, free: 14.96 MB / 334.1 MB Notification: Performance of Templates: time 0.005154/0.3155, allocations: 2.053 MB / 412.8 MB, free: 12.93 MB / 334.1 MB make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1.makefile (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1.pipe 2>&1)