Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample.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.001365/0.001365, allocations: 113.9 kB / 21.18 MB, free: 0.6289 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.001458/0.001458, allocations: 209.8 kB / 24.48 MB, free: 4.035 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.557/1.557, allocations: 230.4 MB / 258.1 MB, free: 8.152 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.IntegerSignals.SuperSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5053,variableFilter="time|sample1.y|superSample1.y",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample") translateModel(Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5053,variableFilter="time|sample1.y|superSample1.y",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample") [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.001968/0.001968, allocations: 75.8 kB / 378.7 MB, free: 2.887 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2905/0.2925, allocations: 53.31 MB / 432 MB, free: 7.359 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample): time 0.003494/0.296, allocations: 1.929 MB / 434 MB, free: 5.422 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00233/0.2983, allocations: 1.321 MB / 435.3 MB, free: 4.094 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001309/0.2984, allocations: 3.938 kB / 435.3 MB, free: 4.09 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003286/0.2988, allocations: 71.66 kB / 435.4 MB, free: 4.02 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004013/0.2992, allocations: 127.4 kB / 435.5 MB, free: 3.895 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007259/0.2999, allocations: 230.9 kB / 435.7 MB, free: 3.672 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002867/0.3002, allocations: 183.4 kB / 435.9 MB, free: 3.492 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001254/0.3003, allocations: 17.56 kB / 435.9 MB, free: 3.477 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001379/0.3004, allocations: 79.69 kB / 436 MB, free: 3.398 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001472/0.3006, allocations: 83.66 kB / 436.1 MB, free: 3.316 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.696e-05/0.3006, allocations: 12 kB / 436.1 MB, free: 3.305 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001679/0.3008, allocations: 71.89 kB / 436.2 MB, free: 3.234 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 9.687e-05/0.3009, allocations: 55.7 kB / 436.2 MB, free: 3.18 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 9.456e-05/0.301, allocations: 79.47 kB / 436.3 MB, free: 3.102 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004092/0.3014, allocations: 240.9 kB / 436.5 MB, free: 2.867 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.479e-06/0.3014, allocations: 0 / 436.5 MB, free: 2.867 MB / 334.1 MB Notification: Performance of FrontEnd: time 9.82e-07/0.3014, allocations: 4 kB / 436.5 MB, free: 2.863 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.073e-06/0.3014, allocations: 0 / 436.5 MB, free: 2.863 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: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0008576/0.3022, allocations: 0.5464 MB / 437.1 MB, free: 2.262 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.554e-05/0.3023, allocations: 12.02 kB / 437.1 MB, free: 2.25 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.331e-05/0.3024, allocations: 24.8 kB / 437.1 MB, free: 2.227 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005458/0.3029, allocations: 291.7 kB / 437.4 MB, free: 1.902 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.238e-05/0.3029, allocations: 16.38 kB / 437.4 MB, free: 1.887 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.267e-05/0.303, allocations: 8.125 kB / 437.4 MB, free: 1.879 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003714/0.3033, allocations: 155.6 kB / 437.6 MB, free: 1.699 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.808e-06/0.3033, allocations: 0 / 437.6 MB, free: 1.699 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.236e-05/0.3034, allocations: 8 kB / 437.6 MB, free: 1.691 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.156e-05/0.3034, allocations: 4 kB / 437.6 MB, free: 1.688 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001214/0.3035, allocations: 35.91 kB / 437.6 MB, free: 1.652 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005973/0.3041, allocations: 386.3 kB / 438 MB, free: 1.219 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002606/0.3043, allocations: 111.9 kB / 438.1 MB, free: 1.082 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001036/0.3045, allocations: 46.5 kB / 438.1 MB, free: 1.027 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.954e-05/0.3045, allocations: 3.984 kB / 438.2 MB, free: 1.023 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001886/0.3047, allocations: 79.39 kB / 438.2 MB, free: 0.9336 MB / 334.1 MB Notification: Performance of pre-optimization done (n=9): time 1.513e-06/0.3047, allocations: 0 / 438.2 MB, free: 0.9336 MB / 334.1 MB Notification: Performance of matching and sorting (n=9): time 0.0004045/0.3051, allocations: 149.4 kB / 438.4 MB, free: 0.7812 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001007/0.3052, allocations: 166.2 kB / 438.5 MB, free: 0.582 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003807/0.3056, allocations: 334.7 kB / 438.9 MB, free: 256 kB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.66e-05/0.3056, allocations: 33.95 kB / 438.9 MB, free: 216 kB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001039/0.3057, allocations: 128.1 kB / 439 MB, free: 84 kB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.826e-05/0.3057, allocations: 23.91 kB / 439 MB, free: 60 kB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.062e-05/0.3058, allocations: 29.7 kB / 439.1 MB, free: 24 kB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000207/0.306, allocations: 338.8 kB / 439.4 MB, free: 15.68 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.479e-05/0.3061, allocations: 23.98 kB / 439.4 MB, free: 15.66 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001216/0.3062, allocations: 82.86 kB / 439.5 MB, free: 15.55 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001609/0.3064, allocations: 88.2 kB / 439.6 MB, free: 15.45 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.3064, allocations: 4 kB / 439.6 MB, free: 15.45 MB / 350.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002462/0.3066, allocations: 125.7 kB / 439.7 MB, free: 15.32 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.995e-05/0.3066, allocations: 8 kB / 439.7 MB, free: 15.31 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.796e-06/0.3066, allocations: 4.062 kB / 439.7 MB, free: 15.3 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.538e-05/0.3066, allocations: 0 / 439.7 MB, free: 15.3 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001177/0.3068, allocations: 23.98 kB / 439.8 MB, free: 15.28 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.276e-05/0.3068, allocations: 7.938 kB / 439.8 MB, free: 15.27 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.466e-05/0.3068, allocations: 4 kB / 439.8 MB, free: 15.27 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.229e-05/0.3069, allocations: 15.81 kB / 439.8 MB, free: 15.25 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 9 ($PRE.table.combiTimeTable.nextTimeEvent,$whenCondition1,table.combiTimeTable.nextTimeEventScaled,$PRE.table.combiTimeTable.nextTimeEventScaled,table.combiTimeTable.nextTimeEvent,table.y,superSample1.y,superSample1.u,sample1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * 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.0001532/0.307, allocations: 158.4 kB / 439.9 MB, free: 15.09 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.895e-05/0.3071, allocations: 27.81 kB / 440 MB, free: 15.06 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002721/0.3073, allocations: 115.3 kB / 440.1 MB, free: 14.94 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.885e-06/0.3073, allocations: 7.984 kB / 440.1 MB, free: 14.93 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.051e-06/0.3073, allocations: 0 / 440.1 MB, free: 14.93 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001249/0.3075, allocations: 116.9 kB / 440.2 MB, free: 14.8 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.759e-05/0.3075, allocations: 7.938 kB / 440.2 MB, free: 14.79 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.757e-05/0.3076, allocations: 4.031 kB / 440.2 MB, free: 14.79 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.893e-05/0.3076, allocations: 15.98 kB / 440.2 MB, free: 14.77 MB / 350.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0003571/0.308, allocations: 343.4 kB / 440.6 MB, free: 14.43 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0003928/0.3084, allocations: 461.2 kB / 441 MB, free: 13.96 MB / 350.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.000104/0.3085, allocations: 39.97 kB / 441.1 MB, free: 13.92 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002553/0.3087, allocations: 253.9 kB / 441.3 MB, free: 13.68 MB / 350.1 MB Notification: Performance of Backend: time 5.11e-07/0.3087, allocations: 0 / 441.3 MB, free: 13.68 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.002225/0.311, allocations: 458.5 kB / 441.7 MB, free: 13.4 MB / 350.1 MB Notification: Performance of SimCode: time 0.001035/0.312, allocations: 0.8135 MB / 442.6 MB, free: 12.53 MB / 350.1 MB Notification: Performance of Templates: time 0.007245/0.3192, allocations: 3.019 MB / 445.6 MB, free: 9.539 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample.sim & ./Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 4.667024574242532] Failed to read output from testmodel.py, exit status != 0: ['time', 'sample1.y', 'superSample1.y'] 0.3277249368838966 0.34179852499999996 0.037432177000000004 Calling exit ...