Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_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.001398/0.001398, allocations: 124.4 kB / 17.79 MB, free: 5.266 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.001493/0.001493, allocations: 206.6 kB / 20.75 MB, free: 2.312 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.425/1.425, allocations: 230.4 MB / 254 MB, free: 15.03 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/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_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_UpSample2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_UpSample2",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002092/0.002092, allocations: 72.08 kB / 373 MB, free: 10.09 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.106/0.1081, allocations: 53.37 MB / 426.4 MB, free: 4.625 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2): time 0.003538/0.1117, allocations: 1.78 MB / 428.1 MB, free: 2.84 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001553/0.1132, allocations: 0.6778 MB / 428.8 MB, free: 2.156 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001511/0.1134, allocations: 15.88 kB / 428.8 MB, free: 2.141 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001769/0.1136, allocations: 19.8 kB / 428.9 MB, free: 2.121 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002424/0.1138, allocations: 39.72 kB / 428.9 MB, free: 2.082 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004915/0.1143, allocations: 139.6 kB / 429 MB, free: 1.945 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002534/0.1145, allocations: 151.6 kB / 429.2 MB, free: 1.797 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001322/0.1147, allocations: 33.48 kB / 429.2 MB, free: 1.762 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002064/0.1149, allocations: 79.75 kB / 429.3 MB, free: 1.684 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002422/0.1151, allocations: 111.6 kB / 429.4 MB, free: 1.574 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.242e-05/0.1152, allocations: 12 kB / 429.4 MB, free: 1.562 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.937e-05/0.1152, allocations: 16 kB / 429.4 MB, free: 1.547 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000102/0.1153, allocations: 71.8 kB / 429.5 MB, free: 1.477 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001047/0.1154, allocations: 83.47 kB / 429.6 MB, free: 1.395 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003353/0.1158, allocations: 219 kB / 429.8 MB, free: 1.18 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.1158, allocations: 0 / 429.8 MB, free: 1.18 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.332e-06/0.1158, allocations: 0 / 429.8 MB, free: 1.18 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.372e-05/0.1158, allocations: 0 / 429.8 MB, free: 1.18 MB / 350.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.000951/0.1167, allocations: 0.5217 MB / 430.3 MB, free: 0.6094 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.508e-05/0.1168, allocations: 12.03 kB / 430.3 MB, free: 0.5977 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.741e-05/0.1169, allocations: 46.73 kB / 430.4 MB, free: 0.543 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001853/0.117, allocations: 44.73 kB / 430.4 MB, free: 0.5 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003328/0.1174, allocations: 252 kB / 430.7 MB, free: 220 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.524e-05/0.1174, allocations: 20.31 kB / 430.7 MB, free: 200 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.522e-05/0.1174, allocations: 16.38 kB / 430.7 MB, free: 184 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.204/0.3215, allocations: 0.6308 MB / 431.3 MB, free: 10.97 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.753e-05/0.3215, allocations: 3.344 kB / 431.3 MB, free: 10.97 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.837e-05/0.3215, allocations: 6.641 kB / 431.3 MB, free: 10.97 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.816e-05/0.3216, allocations: 12.11 kB / 431.4 MB, free: 10.97 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004797/0.3221, allocations: 189.7 kB / 431.5 MB, free: 10.97 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004764/0.3225, allocations: 369.4 kB / 431.9 MB, free: 10.69 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004418/0.323, allocations: 221.9 kB / 432.1 MB, free: 10.62 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002622/0.3232, allocations: 142.4 kB / 432.3 MB, free: 10.59 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.226e-05/0.3233, allocations: 8.281 kB / 432.3 MB, free: 10.59 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.824e-05/0.3233, allocations: 45.09 kB / 432.3 MB, free: 10.55 MB / 350.1 MB Notification: Performance of pre-optimization done (n=39): time 2.134e-06/0.3233, allocations: 0 / 432.3 MB, free: 10.55 MB / 350.1 MB Notification: Performance of matching and sorting (n=39): time 0.0008185/0.3241, allocations: 423.9 kB / 432.7 MB, free: 10.51 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.094e-05/0.3242, allocations: 131.6 kB / 432.8 MB, free: 10.38 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001368/0.3243, allocations: 180.2 kB / 433 MB, free: 10.28 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.249e-05/0.3244, allocations: 31.39 kB / 433.1 MB, free: 10.25 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.532e-05/0.3244, allocations: 101.5 kB / 433.2 MB, free: 10.16 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.774e-05/0.3245, allocations: 47.81 kB / 433.2 MB, free: 10.15 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001021/0.3246, allocations: 69.2 kB / 433.3 MB, free: 10.13 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 7.629e-05/0.3246, allocations: 342 kB / 433.6 MB, free: 9.816 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001421/0.3248, allocations: 76.98 kB / 433.7 MB, free: 9.816 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002228/0.325, allocations: 320.7 kB / 434 MB, free: 9.5 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003604/0.3254, allocations: 420.4 kB / 434.4 MB, free: 9.168 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.646e-06/0.3254, allocations: 3.875 kB / 434.4 MB, free: 9.168 MB / 350.1 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0005974/0.326, allocations: 409.3 kB / 434.8 MB, free: 9.062 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.489e-05/0.326, allocations: 9.719 kB / 434.8 MB, free: 9.062 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.757e-05/0.326, allocations: 10.19 kB / 434.8 MB, free: 9.062 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.577e-05/0.326, allocations: 11.91 kB / 434.8 MB, free: 9.062 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002423/0.3263, allocations: 83.41 kB / 434.9 MB, free: 9.055 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.077e-05/0.3263, allocations: 20.91 kB / 434.9 MB, free: 9.051 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000168/0.3265, allocations: 32.19 kB / 435 MB, free: 9.043 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.935e-05/0.3265, allocations: 24.84 kB / 435 MB, free: 9.043 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.000149/0.3266, allocations: 184.7 kB / 435.2 MB, free: 8.91 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004931/0.3271, allocations: 297.9 kB / 435.5 MB, free: 8.82 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.841e-05/0.3272, allocations: 32.64 kB / 435.5 MB, free: 8.793 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.744e-06/0.3272, allocations: 6.109 kB / 435.5 MB, free: 8.793 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.855e-06/0.3272, allocations: 2.547 kB / 435.5 MB, free: 8.793 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.542e-06/0.3272, allocations: 1.734 kB / 435.5 MB, free: 8.793 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001944/0.3274, allocations: 248.9 kB / 435.7 MB, free: 8.57 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.368e-06/0.3274, allocations: 7.062 kB / 435.8 MB, free: 8.566 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002591/0.3277, allocations: 64.89 kB / 435.8 MB, free: 8.559 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.802e-06/0.3277, allocations: 2.031 kB / 435.8 MB, free: 8.559 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.34e-05/0.3277, allocations: 11.05 kB / 435.8 MB, free: 8.555 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.607e-06/0.3277, allocations: 3.625 kB / 435.8 MB, free: 8.555 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.3277, allocations: 0.9688 kB / 435.8 MB, free: 8.555 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005468/0.3283, allocations: 441.4 kB / 436.3 MB, free: 8.301 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001049/0.3284, allocations: 132.2 kB / 436.4 MB, free: 8.188 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.262e-05/0.3284, allocations: 18.17 kB / 436.4 MB, free: 8.18 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001461/0.3286, allocations: 11.2 kB / 436.4 MB, free: 8.176 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.434e-05/0.3286, allocations: 4.953 kB / 436.4 MB, free: 8.176 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.394e-05/0.3287, allocations: 15.22 kB / 436.4 MB, free: 8.172 MB / 350.1 MB Notification: Performance of sorting global known variables: time 8.382e-05/0.3287, allocations: 126.5 kB / 436.6 MB, free: 8.086 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3287, allocations: 0 / 436.6 MB, free: 8.086 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004005/0.3291, allocations: 56.38 kB / 436.6 MB, free: 8.07 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.001064/0.3302, allocations: 1.184 MB / 437.8 MB, free: 7.203 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0005298/0.3307, allocations: 280.9 kB / 438.1 MB, free: 7.121 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.3307, allocations: 0.6875 kB / 438.1 MB, free: 7.121 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 4.074e-05/0.3308, allocations: 19.31 kB / 438.1 MB, free: 7.109 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006596/0.3314, allocations: 202.4 kB / 438.3 MB, free: 7.035 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003338/0.3348, allocations: 2.972 MB / 441.3 MB, free: 4.691 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002184/0.335, allocations: 0.7744 MB / 442 MB, free: 3.992 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 7.676e-05/0.3351, allocations: 24.5 kB / 442.1 MB, free: 3.988 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001221/0.3352, allocations: 71.47 kB / 442.1 MB, free: 3.941 MB / 350.1 MB Notification: Performance of SimCode: time 5.11e-07/0.3352, allocations: 0 / 442.1 MB, free: 3.941 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03365/0.3688, allocations: 5.16 MB / 447.3 MB, free: 3.367 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.914/8.283, allocations: 16.11 kB / 447.3 MB, free: 3.359 MB / 350.1 MB " [Timeout remaining time 652] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2.sim & python3 -m fmpy simulate --output-file Modelica_trunk_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_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_UpSample2.fmu > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/UpSample2/UpSample2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable sample1.y in file Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2_res.csv. Warning: Get data of variable sample1.y from file Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2_res.csv failed! Error: Could not read variable upSample.y in file Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2_res.csv. Warning: Get data of variable upSample.y from file Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2_res.csv failed! Error: Could not read variable superSampleIpo.y in file Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2_res.csv. Warning: Get data of variable superSampleIpo.y from file Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2_res.csv failed! Error: Could not read variable FIR1.y in file Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2_res.csv. Warning: Get data of variable FIR1.y from file Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2_res.csv failed! Error: Could not read variable FIR2.y in file Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2_res.csv. Warning: Get data of variable FIR2.y from file Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 10.737805093987845]