Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001249/0.001249, allocations: 108.6 kB / 21.22 MB, free: 0.75 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001283/0.001283, allocations: 196.8 kB / 24.5 MB, free: 4.008 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.403/1.403, allocations: 225.7 MB / 253.3 MB, free: 13.04 MB / 206.1 MB " [Timeout remaining time 178] 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: "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_IntegerSignals_SuperSample",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_IntegerSignals_SuperSample",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001457/0.001457, allocations: 47.92 kB / 371.2 MB, free: 9.879 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2606/0.262, allocations: 52.18 MB / 423.4 MB, free: 14.64 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample): time 0.003336/0.2654, allocations: 1.912 MB / 425.3 MB, free: 12.71 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001938/0.2673, allocations: 1.184 MB / 426.5 MB, free: 11.52 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000103/0.2674, allocations: 3.938 kB / 426.5 MB, free: 11.52 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003117/0.2677, allocations: 67.66 kB / 426.6 MB, free: 11.45 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000256/0.268, allocations: 87.61 kB / 426.7 MB, free: 11.37 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007186/0.2687, allocations: 263 kB / 426.9 MB, free: 11.11 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002545/0.2689, allocations: 175.5 kB / 427.1 MB, free: 10.94 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001114/0.269, allocations: 25.73 kB / 427.1 MB, free: 10.91 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001272/0.2692, allocations: 79.69 kB / 427.2 MB, free: 10.84 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001283/0.2693, allocations: 79.67 kB / 427.3 MB, free: 10.76 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.352e-05/0.2693, allocations: 8 kB / 427.3 MB, free: 10.75 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001558/0.2695, allocations: 71.88 kB / 427.3 MB, free: 10.68 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.682e-05/0.2696, allocations: 47.84 kB / 427.4 MB, free: 10.63 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 9.241e-05/0.2697, allocations: 79.47 kB / 427.5 MB, free: 10.55 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003374/0.27, allocations: 247.8 kB / 427.7 MB, free: 10.32 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.018e-06/0.27, allocations: 0 / 427.7 MB, free: 10.32 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.704e-06/0.27, allocations: 0 / 427.7 MB, free: 10.32 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.005e-05/0.27, allocations: 0 / 427.7 MB, free: 10.32 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.0006982/0.2707, allocations: 470.6 kB / 428.2 MB, free: 9.82 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.659e-05/0.2708, allocations: 12.03 kB / 428.2 MB, free: 9.809 MB / 334.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.224e-05/0.2708, allocations: 192 / 428.2 MB, free: 9.809 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.738e-05/0.2708, allocations: 42.73 kB / 428.2 MB, free: 9.758 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.92e-05/0.2709, allocations: 28.8 kB / 428.2 MB, free: 9.73 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003766/0.2712, allocations: 229.4 kB / 428.5 MB, free: 9.484 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.802e-05/0.2713, allocations: 12.12 kB / 428.5 MB, free: 9.473 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.953e-05/0.2713, allocations: 4 kB / 428.5 MB, free: 9.469 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003408/0.2716, allocations: 159 kB / 428.6 MB, free: 9.289 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.586e-06/0.2716, allocations: 0 / 428.6 MB, free: 9.289 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.659e-05/0.2716, allocations: 8 kB / 428.7 MB, free: 9.281 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.504e-06/0.2716, allocations: 0 / 428.7 MB, free: 9.281 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001186/0.2718, allocations: 39.91 kB / 428.7 MB, free: 9.242 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000521/0.2723, allocations: 353.4 kB / 429 MB, free: 8.848 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002671/0.2726, allocations: 119.9 kB / 429.2 MB, free: 8.703 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.952e-05/0.2726, allocations: 42.56 kB / 429.2 MB, free: 8.652 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.678e-05/0.2727, allocations: 7.938 kB / 429.2 MB, free: 8.645 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001836/0.2729, allocations: 79.38 kB / 429.3 MB, free: 8.555 MB / 334.1 MB Notification: Performance of pre-optimization done (n=9): time 1.633e-06/0.2729, allocations: 0 / 429.3 MB, free: 8.555 MB / 334.1 MB Notification: Performance of matching and sorting (n=9): time 0.0003803/0.2732, allocations: 153.6 kB / 429.4 MB, free: 8.398 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001004/0.2733, allocations: 166.1 kB / 429.6 MB, free: 8.199 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000342/0.2737, allocations: 329.8 kB / 429.9 MB, free: 7.871 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.505e-05/0.2737, allocations: 29.7 kB / 429.9 MB, free: 7.836 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.749e-05/0.2738, allocations: 124.1 kB / 430.1 MB, free: 7.711 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.729e-05/0.2738, allocations: 23.95 kB / 430.1 MB, free: 7.688 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.409e-05/0.2739, allocations: 25.67 kB / 430.1 MB, free: 7.656 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001424/0.274, allocations: 338.8 kB / 430.4 MB, free: 7.316 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.78e-05/0.2741, allocations: 23.98 kB / 430.5 MB, free: 7.293 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001124/0.2742, allocations: 82.8 kB / 430.5 MB, free: 7.188 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001563/0.2744, allocations: 92.2 kB / 430.6 MB, free: 7.082 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.893e-06/0.2744, allocations: 0 / 430.6 MB, free: 7.082 MB / 334.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002237/0.2746, allocations: 117.5 kB / 430.8 MB, free: 6.961 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.877e-05/0.2746, allocations: 8 kB / 430.8 MB, free: 6.953 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.058e-06/0.2746, allocations: 0 / 430.8 MB, free: 6.953 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.208e-05/0.2746, allocations: 128 / 430.8 MB, free: 6.953 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001015/0.2747, allocations: 27.92 kB / 430.8 MB, free: 6.926 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.468e-06/0.2747, allocations: 7.938 kB / 430.8 MB, free: 6.918 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.28e-05/0.2748, allocations: 11.89 kB / 430.8 MB, free: 6.906 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.467e-06/0.2748, allocations: 4 kB / 430.8 MB, free: 6.902 MB / 334.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.000133/0.2749, allocations: 149.8 kB / 431 MB, free: 6.746 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.351e-05/0.275, allocations: 65.81 kB / 431 MB, free: 6.676 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002689/0.2753, allocations: 131.4 kB / 431.1 MB, free: 6.539 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.284e-06/0.2753, allocations: 0 / 431.1 MB, free: 6.539 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.923e-06/0.2753, allocations: 3.938 kB / 431.2 MB, free: 6.535 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.042e-06/0.2753, allocations: 4 kB / 431.2 MB, free: 6.531 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002069/0.2755, allocations: 208.6 kB / 431.4 MB, free: 6.285 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.203e-06/0.2755, allocations: 0 / 431.4 MB, free: 6.285 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.502e-05/0.2756, allocations: 15.98 kB / 431.4 MB, free: 6.27 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.864e-06/0.2756, allocations: 0 / 431.4 MB, free: 6.27 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.213e-05/0.2756, allocations: 4 kB / 431.4 MB, free: 6.266 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.393e-06/0.2756, allocations: 0 / 431.4 MB, free: 6.266 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.996e-06/0.2756, allocations: 3.938 kB / 431.4 MB, free: 6.262 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002641/0.2759, allocations: 170.5 kB / 431.6 MB, free: 6.07 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.712e-05/0.2759, allocations: 39.77 kB / 431.6 MB, free: 6.031 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.719e-05/0.276, allocations: 8 kB / 431.6 MB, free: 6.023 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.423e-05/0.2761, allocations: 4 kB / 431.6 MB, free: 6.02 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.232e-05/0.2761, allocations: 15.92 kB / 431.6 MB, free: 6.004 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.549e-05/0.2761, allocations: 8 kB / 431.6 MB, free: 5.996 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002547/0.2764, allocations: 237.2 kB / 431.9 MB, free: 5.762 MB / 334.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.2764, allocations: 0 / 431.9 MB, free: 5.762 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002513/0.2766, allocations: 35.98 kB / 431.9 MB, free: 5.727 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,table.y,table.combiTimeTable.nextTimeEvent,table.combiTimeTable.nextTimeEventScaled,superSample1.y,sample1.y,superSample1.u) * Number of discrete states: 2 (table.combiTimeTable.nextTimeEvent,table.combiTimeTable.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002013/0.2786, allocations: 1.02 MB / 432.9 MB, free: 4.832 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002255/0.2789, allocations: 71.84 kB / 433 MB, free: 4.762 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.2789, allocations: 0 / 433 MB, free: 4.762 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 8.604e-05/0.279, allocations: 31.92 kB / 433 MB, free: 4.73 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003896/0.2793, allocations: 62.08 kB / 433.1 MB, free: 4.676 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00253/0.2819, allocations: 2.198 MB / 435.3 MB, free: 2.355 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003666/0.2822, allocations: 0.7398 MB / 436 MB, free: 1.59 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 8.012e-05/0.2823, allocations: 29.72 kB / 436 MB, free: 1.562 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001048/0.2824, allocations: 59.41 kB / 436.1 MB, free: 1.504 MB / 334.1 MB Notification: Performance of SimCode: time 2.8e-07/0.2824, allocations: 0 / 436.1 MB, free: 1.504 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02534/0.3078, allocations: 5.432 MB / 441.5 MB, free: 12.17 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.6/10.91, allocations: 2.969 kB / 441.5 MB, free: 12.17 MB / 350.1 MB " [Timeout remaining time 649] (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_IntegerSignals_SuperSample_fmu --startTime=0 --stopTime=0.2 --stepSize=3.95804e-05 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_IntegerSignals_SuperSample.fmu > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 13.303640327008907] Failed to read output from testmodel.py, exit status != 0: ['time', 'sample1.y', 'superSample1.y'] 11.125569256022573 11.142243341 10.868900793 Calling exit ...