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.UpSample2.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.001838/0.001838, allocations: 110.5 kB / 21.23 MB, free: 0.6641 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.001781/0.001781, allocations: 211.9 kB / 24.54 MB, free: 4.02 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.414/1.414, allocations: 230.6 MB / 258.3 MB, free: 8.012 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: "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Clocked_Examples_Elementary_RealSignals_UpSample2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Clocked_Examples_Elementary_RealSignals_UpSample2",fmuType="me",version="2.0",platforms={"static"}) [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.002836/0.002836, allocations: 76.73 kB / 378.6 MB, free: 3.121 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2624/0.2652, allocations: 53.36 MB / 431.9 MB, free: 6.871 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2): time 0.003542/0.2688, allocations: 1.79 MB / 433.7 MB, free: 5.078 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001439/0.2702, allocations: 0.6933 MB / 434.4 MB, free: 4.379 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001392/0.2704, allocations: 7.938 kB / 434.4 MB, free: 4.371 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001721/0.2705, allocations: 19.8 kB / 434.4 MB, free: 4.352 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002326/0.2708, allocations: 43.72 kB / 434.5 MB, free: 4.309 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005196/0.2713, allocations: 142.6 kB / 434.6 MB, free: 4.172 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000276/0.2716, allocations: 167.5 kB / 434.8 MB, free: 4.008 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001275/0.2717, allocations: 21.75 kB / 434.8 MB, free: 3.984 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000201/0.2719, allocations: 79.73 kB / 434.9 MB, free: 3.906 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002391/0.2721, allocations: 111.6 kB / 435 MB, free: 3.797 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.441e-05/0.2722, allocations: 16 kB / 435 MB, free: 3.781 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.312e-05/0.2722, allocations: 20 kB / 435 MB, free: 3.762 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 9.911e-05/0.2723, allocations: 63.81 kB / 435.1 MB, free: 3.699 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001019/0.2724, allocations: 91.41 kB / 435.2 MB, free: 3.609 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003287/0.2728, allocations: 219.9 kB / 435.4 MB, free: 3.398 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.668e-06/0.2728, allocations: 0 / 435.4 MB, free: 3.398 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.2728, allocations: 0 / 435.4 MB, free: 3.398 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.261e-06/0.2728, allocations: 0 / 435.4 MB, free: 3.398 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: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.0009317/0.2737, allocations: 453.2 kB / 435.8 MB, free: 2.926 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.298e-05/0.2738, allocations: 8.031 kB / 435.8 MB, free: 2.918 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.391e-05/0.2738, allocations: 58.67 kB / 435.9 MB, free: 2.852 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001717/0.274, allocations: 40.73 kB / 435.9 MB, free: 2.812 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003091/0.2743, allocations: 186.1 kB / 436.1 MB, free: 2.605 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.66e-05/0.2743, allocations: 16.38 kB / 436.1 MB, free: 2.59 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.657e-05/0.2744, allocations: 16.38 kB / 436.2 MB, free: 2.574 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001162/0.2755, allocations: 0.634 MB / 436.8 MB, free: 1.918 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.115e-05/0.2756, allocations: 0 / 436.8 MB, free: 1.918 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.243e-05/0.2756, allocations: 7.984 kB / 436.8 MB, free: 1.91 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.648e-05/0.2756, allocations: 8 kB / 436.8 MB, free: 1.902 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004065/0.276, allocations: 195.8 kB / 437 MB, free: 1.711 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004884/0.2765, allocations: 341.4 kB / 437.3 MB, free: 1.328 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004598/0.277, allocations: 227.6 kB / 437.6 MB, free: 1.078 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002735/0.2772, allocations: 146.6 kB / 437.7 MB, free: 0.9258 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.293e-05/0.2773, allocations: 11.94 kB / 437.7 MB, free: 0.9141 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.804e-05/0.2773, allocations: 38.55 kB / 437.7 MB, free: 0.8672 MB / 334.1 MB Notification: Performance of pre-optimization done (n=39): time 3.396e-06/0.2773, allocations: 3.984 kB / 437.7 MB, free: 0.8633 MB / 334.1 MB Notification: Performance of matching and sorting (n=39): time 0.0008735/0.2782, allocations: 425.9 kB / 438.2 MB, free: 452 kB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001382/0.2783, allocations: 138.7 kB / 438.3 MB, free: 288 kB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001703/0.2785, allocations: 171 kB / 438.5 MB, free: 108 kB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.855e-05/0.2785, allocations: 33.7 kB / 438.5 MB, free: 68 kB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.013e-05/0.2786, allocations: 105.1 kB / 438.6 MB, free: 15.96 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.302e-05/0.2787, allocations: 51.67 kB / 438.7 MB, free: 15.91 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.956e-05/0.2788, allocations: 70.27 kB / 438.7 MB, free: 15.84 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001704/0.2789, allocations: 342.8 kB / 439.1 MB, free: 15.49 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001394/0.2791, allocations: 68.83 kB / 439.1 MB, free: 15.43 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003375/0.2794, allocations: 330.7 kB / 439.4 MB, free: 14.98 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004712/0.2799, allocations: 409 kB / 439.8 MB, free: 14.46 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.35e-06/0.2799, allocations: 4 kB / 439.9 MB, free: 14.46 MB / 350.1 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0006085/0.2805, allocations: 405.6 kB / 440.2 MB, free: 14.06 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.145e-05/0.2805, allocations: 8 kB / 440.3 MB, free: 14.05 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.252e-05/0.2805, allocations: 15.94 kB / 440.3 MB, free: 14.04 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.577e-05/0.2806, allocations: 12 kB / 440.3 MB, free: 14.02 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002456/0.2808, allocations: 79.84 kB / 440.4 MB, free: 13.95 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.328e-05/0.2808, allocations: 20.23 kB / 440.4 MB, free: 13.93 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001551/0.281, allocations: 31.84 kB / 440.4 MB, free: 13.89 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.163e-05/0.281, allocations: 28 kB / 440.4 MB, free: 13.87 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 39 * Number of states: 0 () * Number of discrete variables: 13 ($CLKPRE.superSampleIpo.ticks,superSampleIpo.ticks,superSampleIpo.usedFactor,$CLKPRE.FIR1.first,FIR1.first,$CLKPRE.FIR2.first,FIR2.first,$CLKPRE.upSample.b_super,upSample.b_super,$CLKPRE.superSampleIpo.first,superSampleIpo.first,$CLKPRE.upSample.b,upSample.b) * Number of discrete states: 0 () * Number of clocked states: 13 (superSampleIpo.ticks,FIR1.first,FIR1.u_buffer[2],FIR1.u_buffer[1],FIR2.first,FIR2.u_buffer[4],FIR2.u_buffer[3],FIR2.u_buffer[2],FIR2.u_buffer[1],upSample.b_super,superSampleIpo.first,superSampleIpo.uu,upSample.b) * Top-level inputs: 0 Notification: Strong component statistics for initialization (52): * Single equations (assignments): 52 * 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.0002232/0.2812, allocations: 186.5 kB / 440.6 MB, free: 13.68 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005394/0.2818, allocations: 294.4 kB / 440.9 MB, free: 13.38 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.827e-05/0.2819, allocations: 42.64 kB / 440.9 MB, free: 13.34 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.062e-06/0.2819, allocations: 4 kB / 441 MB, free: 13.33 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.849e-06/0.2819, allocations: 0 / 441 MB, free: 13.33 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.204e-06/0.2819, allocations: 3.984 kB / 441 MB, free: 13.33 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002627/0.2821, allocations: 216.4 kB / 441.2 MB, free: 13.07 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.599e-06/0.2821, allocations: 7.938 kB / 441.2 MB, free: 13.07 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002571/0.2824, allocations: 63.89 kB / 441.2 MB, free: 13 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.42e-06/0.2824, allocations: 8 kB / 441.2 MB, free: 13 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.358e-05/0.2824, allocations: 8 kB / 441.3 MB, free: 12.99 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.796e-06/0.2824, allocations: 0 / 441.3 MB, free: 12.99 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.888e-06/0.2824, allocations: 4 kB / 441.3 MB, free: 12.98 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006418/0.2831, allocations: 439.7 kB / 441.7 MB, free: 12.54 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001162/0.2832, allocations: 59.75 kB / 441.7 MB, free: 12.48 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.301e-05/0.2833, allocations: 20 kB / 441.8 MB, free: 12.46 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001334/0.2834, allocations: 11.98 kB / 441.8 MB, free: 12.45 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.938e-05/0.2834, allocations: 8 kB / 441.8 MB, free: 12.44 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.385e-05/0.2835, allocations: 11.98 kB / 441.8 MB, free: 12.43 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001087/0.2836, allocations: 127.2 kB / 441.9 MB, free: 12.3 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2836, allocations: 0 / 441.9 MB, free: 12.3 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003865/0.284, allocations: 44 kB / 442 MB, free: 12.26 MB / 350.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 (upSample.b_super,FIR2.first,FIR1.first,superSampleIpo.usedFactor,superSampleIpo.ticks,upSample.b,superSampleIpo.first) * Number of discrete states: 0 () * Number of clocked states: 13 (upSample.b_super,FIR2.u_buffer[1],FIR2.u_buffer[2],FIR2.u_buffer[3],FIR2.u_buffer[4],FIR2.first,FIR1.u_buffer[1],FIR1.u_buffer[2],FIR1.first,superSampleIpo.ticks,upSample.b,superSampleIpo.uu,superSampleIpo.first) * Top-level inputs: 0 Notification: Strong component statistics for simulation (39): * Single equations (assignments): 39 * 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 Backend phase and start with SimCode phase: time 0.001353/0.2853, allocations: 1.19 MB / 443.2 MB, free: 11.03 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0005423/0.2859, allocations: 282.3 kB / 443.4 MB, free: 10.76 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.827e-06/0.2859, allocations: 7.938 kB / 443.4 MB, free: 10.75 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 3.431e-05/0.2859, allocations: 4 kB / 443.4 MB, free: 10.75 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007056/0.2866, allocations: 208 kB / 443.6 MB, free: 10.54 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003793/0.2904, allocations: 2.961 MB / 446.6 MB, free: 7.25 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004024/0.2908, allocations: 0.7799 MB / 447.4 MB, free: 6.445 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 7.442e-05/0.2909, allocations: 26.28 kB / 447.4 MB, free: 6.422 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00014/0.291, allocations: 67.41 kB / 447.5 MB, free: 6.355 MB / 350.1 MB Notification: Performance of SimCode: time 7.92e-07/0.291, allocations: 0 / 447.5 MB, free: 6.355 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03043/0.3214, allocations: 5.487 MB / 453 MB, free: 0.9883 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.853/8.175, allocations: 7.609 kB / 453 MB, free: 0.9844 MB / 350.1 MB " [Timeout remaining time 652] (rm -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2_res.csv --start-time 0 --stop-time 0.06 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 1.1957e-05 Modelica_4_1_0-beta_om_Modelica_Clocked_Examples_Elementary_RealSignals_UpSample2.fmu > Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 10.646775721106678] Failed to read output from testmodel.py, exit status != 0: ['time', 'sample1.y', 'upSample.y', 'superSampleIpo.y', 'FIR1.y', 'FIR2.y'] 8.249597784131765 8.27413922 7.996564371 Calling exit ...