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.SubSample.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.001575/0.001575, 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.001574/0.001574, 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.47/1.47, 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.SubSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5013,variableFilter="time|sample1.y|subSample1.y",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.SubSample") translateModel(Modelica.Clocked.Examples.Elementary.IntegerSignals.SubSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5013,variableFilter="time|sample1.y|subSample1.y",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.SubSample") [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.001988/0.001988, allocations: 67.89 kB / 378.7 MB, free: 2.906 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2786/0.2806, allocations: 53.33 MB / 432.1 MB, free: 7.402 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.SubSample): time 0.003836/0.2844, allocations: 1.919 MB / 434 MB, free: 5.473 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002492/0.2869, allocations: 1.294 MB / 435.3 MB, free: 4.172 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001664/0.2871, allocations: 0 / 435.3 MB, free: 4.172 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004086/0.2875, allocations: 67.67 kB / 435.3 MB, free: 4.105 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000502/0.288, allocations: 135.4 kB / 435.5 MB, free: 3.973 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007148/0.2887, allocations: 218.5 kB / 435.7 MB, free: 3.762 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002826/0.289, allocations: 183.5 kB / 435.9 MB, free: 3.582 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001189/0.2891, allocations: 21.56 kB / 435.9 MB, free: 3.562 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001387/0.2892, allocations: 79.62 kB / 436 MB, free: 3.484 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001367/0.2894, allocations: 83.66 kB / 436 MB, free: 3.402 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.384e-05/0.2894, allocations: 11.94 kB / 436.1 MB, free: 3.391 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001686/0.2896, allocations: 71.95 kB / 436.1 MB, free: 3.32 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000109/0.2897, allocations: 55.7 kB / 436.2 MB, free: 3.266 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001009/0.2898, allocations: 79.47 kB / 436.3 MB, free: 3.188 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004145/0.2902, allocations: 241 kB / 436.5 MB, free: 2.953 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/0.2902, allocations: 0 / 436.5 MB, free: 2.953 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.363e-06/0.2902, allocations: 0 / 436.5 MB, free: 2.953 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.969e-06/0.2902, allocations: 0 / 436.5 MB, free: 2.953 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.000908/0.2911, allocations: 0.5542 MB / 437 MB, free: 2.344 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.548e-05/0.2912, allocations: 8.031 kB / 437.1 MB, free: 2.336 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.444e-05/0.2912, allocations: 20.8 kB / 437.1 MB, free: 2.316 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005459/0.2918, allocations: 295.8 kB / 437.4 MB, free: 1.988 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.199e-05/0.2918, allocations: 4.375 kB / 437.4 MB, free: 1.984 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.519e-05/0.2918, allocations: 12.12 kB / 437.4 MB, free: 1.973 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003907/0.2922, allocations: 163.5 kB / 437.5 MB, free: 1.785 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.162e-05/0.2922, allocations: 4 kB / 437.5 MB, free: 1.781 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.433e-05/0.2922, allocations: 0 / 437.5 MB, free: 1.781 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.489e-06/0.2922, allocations: 0 / 437.5 MB, free: 1.781 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001211/0.2924, allocations: 43.97 kB / 437.6 MB, free: 1.738 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006084/0.293, allocations: 382.3 kB / 438 MB, free: 1.309 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002803/0.2932, allocations: 111.9 kB / 438.1 MB, free: 1.172 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.439e-05/0.2933, allocations: 46.56 kB / 438.1 MB, free: 1.117 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.662e-05/0.2934, allocations: 7.922 kB / 438.1 MB, free: 1.109 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001735/0.2935, allocations: 83.33 kB / 438.2 MB, free: 1.016 MB / 334.1 MB Notification: Performance of pre-optimization done (n=9): time 1.573e-06/0.2935, allocations: 0 / 438.2 MB, free: 1.016 MB / 334.1 MB Notification: Performance of matching and sorting (n=9): time 0.0004235/0.294, allocations: 149.4 kB / 438.3 MB, free: 0.8633 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001556/0.2941, allocations: 158.2 kB / 438.5 MB, free: 0.6719 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004509/0.2946, allocations: 338.7 kB / 438.8 MB, free: 344 kB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.932e-05/0.2946, allocations: 25.7 kB / 438.9 MB, free: 312 kB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000122/0.2947, allocations: 132.1 kB / 439 MB, free: 176 kB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.382e-05/0.2948, allocations: 28.14 kB / 439 MB, free: 148 kB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.32e-05/0.2948, allocations: 25.72 kB / 439 MB, free: 116 kB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0002077/0.295, allocations: 346.7 kB / 439.4 MB, free: 15.77 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.325e-05/0.2951, allocations: 19.98 kB / 439.4 MB, free: 15.75 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001239/0.2952, allocations: 78.86 kB / 439.5 MB, free: 15.64 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001728/0.2954, allocations: 88.2 kB / 439.6 MB, free: 15.54 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.385e-06/0.2954, allocations: 0 / 439.6 MB, free: 15.54 MB / 350.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002522/0.2956, allocations: 129.5 kB / 439.7 MB, free: 15.41 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.941e-05/0.2957, allocations: 10.81 kB / 439.7 MB, free: 15.4 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.671e-06/0.2957, allocations: 4 kB / 439.7 MB, free: 15.4 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.611e-05/0.2957, allocations: 0 / 439.7 MB, free: 15.4 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001192/0.2958, allocations: 19.98 kB / 439.7 MB, free: 15.38 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.472e-05/0.2958, allocations: 3.938 kB / 439.7 MB, free: 15.38 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.797e-05/0.2959, allocations: 4.312 kB / 439.7 MB, free: 15.37 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.367e-05/0.2959, allocations: 11.94 kB / 439.7 MB, free: 15.36 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,subSample1.y,subSample1.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.0001554/0.2961, allocations: 158.2 kB / 439.9 MB, free: 15.2 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.107e-05/0.2961, allocations: 31.81 kB / 439.9 MB, free: 15.16 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002856/0.2964, allocations: 119.3 kB / 440 MB, free: 15.04 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.173e-06/0.2964, allocations: 3.984 kB / 440 MB, free: 15.04 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.2964, allocations: 4 kB / 440 MB, free: 15.03 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001221/0.2965, allocations: 112.9 kB / 440.2 MB, free: 14.9 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.508e-05/0.2966, allocations: 3.938 kB / 440.2 MB, free: 14.9 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.643e-05/0.2966, allocations: 11.98 kB / 440.2 MB, free: 14.89 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.331e-05/0.2967, allocations: 7.984 kB / 440.2 MB, free: 14.88 MB / 350.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0003706/0.2971, allocations: 351.4 kB / 440.5 MB, free: 14.53 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0004161/0.2975, allocations: 453.1 kB / 441 MB, free: 14.07 MB / 350.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001098/0.2976, allocations: 48.03 kB / 441 MB, free: 14.02 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002789/0.2979, allocations: 249.9 kB / 441.3 MB, free: 13.78 MB / 350.1 MB Notification: Performance of Backend: time 6.81e-07/0.2979, allocations: 0 / 441.3 MB, free: 13.78 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.002172/0.3, allocations: 457.5 kB / 441.7 MB, free: 13.5 MB / 350.1 MB Notification: Performance of SimCode: time 0.001088/0.3011, allocations: 0.821 MB / 442.5 MB, free: 12.62 MB / 350.1 MB Notification: Performance of Templates: time 0.00759/0.3087, allocations: 3.018 MB / 445.5 MB, free: 9.625 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.SubSample.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.SubSample.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.SubSample.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.SubSample.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.SubSample.sim & ./Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.SubSample -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.SubSample.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 4.600879445206374] Failed to read output from testmodel.py, exit status != 0: ['time', 'sample1.y', 'subSample1.y'] 0.3174191489815712 0.332574299 0.039047526 Calling exit ...