Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001362/0.001362, allocations: 114 kB / 21.18 MB, free: 0.7422 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001544/0.001544, allocations: 214.1 kB / 24.48 MB, free: 4.191 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.481/1.481, allocations: 230.4 MB / 258.1 MB, free: 8.145 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/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.RealSignals.HoldWithDAeffects1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5019,variableFilter="time|sample1.y|hold1.y|// shiftSample1.y",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5019,variableFilter="time|sample1.y|hold1.y|// shiftSample1.y",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001953/0.001953, allocations: 67.84 kB / 378.8 MB, free: 2.848 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2833/0.2852, allocations: 53.3 MB / 432.1 MB, free: 7.344 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1): time 0.003639/0.2888, allocations: 1.908 MB / 434 MB, free: 5.43 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001362/0.2902, allocations: 0.7052 MB / 434.7 MB, free: 4.723 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001458/0.2904, allocations: 11.94 kB / 434.7 MB, free: 4.711 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001686/0.2905, allocations: 15.8 kB / 434.7 MB, free: 4.695 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001365/0.2907, allocations: 23.8 kB / 434.7 MB, free: 4.672 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004244/0.2911, allocations: 111.7 kB / 434.8 MB, free: 4.562 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002178/0.2913, allocations: 143.5 kB / 435 MB, free: 4.422 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000169/0.2915, allocations: 57.62 kB / 435 MB, free: 4.363 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001616/0.2916, allocations: 55.72 kB / 435.1 MB, free: 4.309 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001148/0.2917, allocations: 59.64 kB / 435.1 MB, free: 4.25 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.494e-05/0.2918, allocations: 8 kB / 435.2 MB, free: 4.242 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.689e-05/0.2918, allocations: 16 kB / 435.2 MB, free: 4.227 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.755e-05/0.2919, allocations: 35.91 kB / 435.2 MB, free: 4.191 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 7.884e-05/0.292, allocations: 63.55 kB / 435.3 MB, free: 4.129 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002873/0.2923, allocations: 144.9 kB / 435.4 MB, free: 3.988 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.989e-06/0.2923, allocations: 0 / 435.4 MB, free: 3.988 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.714e-06/0.2923, allocations: 3.938 kB / 435.4 MB, free: 3.984 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.761e-06/0.2923, allocations: 0 / 435.4 MB, free: 3.984 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: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.0007408/0.293, allocations: 458.8 kB / 435.9 MB, free: 3.488 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.069e-05/0.2931, allocations: 8.031 kB / 435.9 MB, free: 3.48 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001741/0.2932, allocations: 32.83 kB / 435.9 MB, free: 3.449 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005017/0.2937, allocations: 249.1 kB / 436.1 MB, free: 3.168 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.039e-05/0.2938, allocations: 12.12 kB / 436.2 MB, free: 3.156 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.012e-05/0.2938, allocations: 4 kB / 436.2 MB, free: 3.152 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006068/0.2944, allocations: 275.2 kB / 436.4 MB, free: 2.855 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.165e-05/0.2944, allocations: 4 kB / 436.4 MB, free: 2.852 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.628e-05/0.2944, allocations: 8 kB / 436.4 MB, free: 2.844 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.274e-06/0.2944, allocations: 4 kB / 436.4 MB, free: 2.84 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002142/0.2946, allocations: 67.89 kB / 436.5 MB, free: 2.773 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005707/0.2952, allocations: 431.4 kB / 436.9 MB, free: 2.289 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000505/0.2957, allocations: 290 kB / 437.2 MB, free: 1.941 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001973/0.2959, allocations: 104.4 kB / 437.3 MB, free: 1.824 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.587e-05/0.2959, allocations: 7.969 kB / 437.3 MB, free: 1.816 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.496e-05/0.296, allocations: 42.5 kB / 437.4 MB, free: 1.766 MB / 334.1 MB Notification: Performance of pre-optimization done (n=17): time 1.432e-06/0.296, allocations: 0 / 437.4 MB, free: 1.766 MB / 334.1 MB Notification: Performance of matching and sorting (n=17): time 0.0006144/0.2966, allocations: 221.2 kB / 437.6 MB, free: 1.543 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001237/0.2967, allocations: 188.3 kB / 437.8 MB, free: 1.316 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001899/0.2969, allocations: 182.9 kB / 437.9 MB, free: 1.129 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.526e-05/0.2969, allocations: 29.7 kB / 438 MB, free: 1.094 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.001e-05/0.297, allocations: 104.1 kB / 438.1 MB, free: 0.9883 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.203e-05/0.297, allocations: 11.94 kB / 438.1 MB, free: 0.9766 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.244e-05/0.2971, allocations: 41.66 kB / 438.1 MB, free: 0.9297 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001649/0.2973, allocations: 322.8 kB / 438.4 MB, free: 0.6055 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.941e-05/0.2973, allocations: 27.92 kB / 438.5 MB, free: 0.5781 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001603/0.2975, allocations: 134.4 kB / 438.6 MB, free: 404 kB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002242/0.2977, allocations: 161.6 kB / 438.8 MB, free: 192 kB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/0.2977, allocations: 4 kB / 438.8 MB, free: 188 kB / 334.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003337/0.2981, allocations: 165.7 kB / 438.9 MB, free: 16 kB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.626e-05/0.2981, allocations: 12 kB / 438.9 MB, free: 4 kB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.519e-05/0.2981, allocations: 7.984 kB / 438.9 MB, free: 15.99 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.955e-05/0.2981, allocations: 4 kB / 438.9 MB, free: 15.99 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001266/0.2982, allocations: 31.94 kB / 439 MB, free: 15.96 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.444e-05/0.2983, allocations: 11.92 kB / 439 MB, free: 15.95 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001042/0.2984, allocations: 8 kB / 439 MB, free: 15.94 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.521e-05/0.2984, allocations: 12 kB / 439 MB, free: 15.93 MB / 350.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.0001273/0.2985, allocations: 133.7 kB / 439.1 MB, free: 15.79 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.901e-05/0.2986, allocations: 31.86 kB / 439.2 MB, free: 15.76 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.123e-05/0.2986, allocations: 25.34 kB / 439.2 MB, free: 15.73 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.261e-06/0.2986, allocations: 3.984 kB / 439.2 MB, free: 15.73 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.417e-06/0.2986, allocations: 4 kB / 439.2 MB, free: 15.73 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001096/0.2987, allocations: 105 kB / 439.3 MB, free: 15.61 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.432e-05/0.2988, allocations: 4 kB / 439.3 MB, free: 15.6 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001592/0.2989, allocations: 11.98 kB / 439.3 MB, free: 15.59 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.659e-05/0.299, allocations: 4 kB / 439.3 MB, free: 15.59 MB / 350.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0005796/0.2995, allocations: 0.549 MB / 439.9 MB, free: 15.03 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0006231/0.3002, allocations: 0.6315 MB / 440.5 MB, free: 14.38 MB / 350.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001472/0.3003, allocations: 63.83 kB / 440.6 MB, free: 14.32 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001319/0.3004, allocations: 136.4 kB / 440.7 MB, free: 14.18 MB / 350.1 MB Notification: Performance of Backend: time 4.81e-07/0.3004, allocations: 0 / 440.7 MB, free: 14.18 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0008332/0.3013, allocations: 150.2 kB / 440.8 MB, free: 14.03 MB / 350.1 MB Notification: Performance of SimCode: time 0.0009265/0.3022, allocations: 0.7207 MB / 441.6 MB, free: 13.26 MB / 350.1 MB Notification: Performance of Templates: time 0.006039/0.3082, allocations: 2.167 MB / 443.7 MB, free: 11.12 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1.sim & ./Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 4.48502875957638] Failed to read output from testmodel.py, exit status != 0: ['time', 'sample1.y', 'hold1.y', '// shiftSample1.y'] 0.31676835380494595 0.33202537000000004 0.036618691 Calling exit ...