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.0008997/0.0008997, allocations: 80.34 kB / 20.67 MB, free: 3.891 MB / 18.57 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.0008547/0.0008547, allocations: 156.9 kB / 23.94 MB, free: 0.6172 MB / 18.57 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 0.9095/0.9095, allocations: 177 MB / 204.1 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] 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 1.963e-06/1.963e-06, allocations: 0 / 324.5 MB, free: 15.89 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.437e-05/2.633e-05, allocations: 6.984 kB / 324.5 MB, free: 15.89 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2): time 0.002385/0.002412, allocations: 1.764 MB / 326.3 MB, free: 14.11 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001088/0.003499, allocations: 0.6426 MB / 326.9 MB, free: 13.46 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000102/0.003601, allocations: 11.88 kB / 326.9 MB, free: 13.45 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001579/0.003759, allocations: 19.8 kB / 327 MB, free: 13.43 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001986/0.003958, allocations: 43.59 kB / 327 MB, free: 13.39 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003553/0.004313, allocations: 127.6 kB / 327.1 MB, free: 13.26 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001589/0.004472, allocations: 163.5 kB / 327.3 MB, free: 13.1 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001095/0.004582, allocations: 17.8 kB / 327.3 MB, free: 13.08 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002136/0.004795, allocations: 95.77 kB / 327.4 MB, free: 12.99 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001651/0.00496, allocations: 83.83 kB / 327.5 MB, free: 12.91 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.81e-05/0.004988, allocations: 16 kB / 327.5 MB, free: 12.89 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.599e-05/0.005034, allocations: 19.98 kB / 327.5 MB, free: 12.87 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 6.832e-05/0.005103, allocations: 71.73 kB / 327.6 MB, free: 12.8 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 5.167e-05/0.005154, allocations: 51.83 kB / 327.6 MB, free: 12.75 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002334/0.005388, allocations: 231.2 kB / 327.9 MB, free: 12.52 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.926e-06/0.005391, allocations: 0 / 327.9 MB, free: 12.52 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.212e-06/0.005392, allocations: 4 kB / 327.9 MB, free: 12.52 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.578e-06/0.005397, allocations: 0 / 327.9 MB, free: 12.52 MB / 298.7 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.0005972/0.005994, allocations: 441.3 kB / 328.3 MB, free: 12.06 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.656e-05/0.00603, allocations: 15.98 kB / 328.3 MB, free: 12.04 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.584e-05/0.006076, allocations: 54.73 kB / 328.4 MB, free: 11.98 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001169/0.006193, allocations: 40.67 kB / 328.4 MB, free: 11.94 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000255/0.006448, allocations: 193.4 kB / 328.6 MB, free: 11.73 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.318e-05/0.006481, allocations: 12.38 kB / 328.6 MB, free: 11.71 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.85e-05/0.00651, allocations: 16.38 kB / 328.6 MB, free: 11.7 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007918/0.007302, allocations: 0.6354 MB / 329.3 MB, free: 11.04 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.147e-06/0.007311, allocations: 192 / 329.3 MB, free: 11.04 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.61e-05/0.007327, allocations: 8.125 kB / 329.3 MB, free: 11.04 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.491e-05/0.007352, allocations: 19.98 kB / 329.3 MB, free: 11.02 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002933/0.007645, allocations: 179.8 kB / 329.5 MB, free: 10.84 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003375/0.007983, allocations: 309.5 kB / 329.8 MB, free: 10.49 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003372/0.00832, allocations: 231.6 kB / 330 MB, free: 10.23 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000163/0.008483, allocations: 146.5 kB / 330.1 MB, free: 10.08 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.782e-05/0.008511, allocations: 8 kB / 330.1 MB, free: 10.07 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.455e-05/0.008535, allocations: 42.5 kB / 330.2 MB, free: 10.02 MB / 298.7 MB Notification: Performance of pre-optimization done (n=39): time 1.473e-06/0.008537, allocations: 3.938 kB / 330.2 MB, free: 10.02 MB / 298.7 MB Notification: Performance of matching and sorting (n=39): time 0.0005539/0.00909, allocations: 418 kB / 330.6 MB, free: 9.605 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.961e-05/0.00918, allocations: 142.6 kB / 330.7 MB, free: 9.441 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001148/0.009295, allocations: 178.4 kB / 330.9 MB, free: 9.258 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.619e-05/0.009311, allocations: 29.7 kB / 330.9 MB, free: 9.223 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.809e-05/0.009359, allocations: 101.1 kB / 331 MB, free: 9.121 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.086e-05/0.00939, allocations: 39.94 kB / 331.1 MB, free: 9.082 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.671e-05/0.009437, allocations: 46.02 kB / 331.1 MB, free: 9.027 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.386e-05/0.009521, allocations: 330.8 kB / 331.4 MB, free: 8.695 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.987e-05/0.00958, allocations: 48.44 kB / 331.5 MB, free: 8.648 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.044e-05/0.009671, allocations: 144.9 kB / 331.6 MB, free: 8.465 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001401/0.009811, allocations: 179.8 kB / 331.8 MB, free: 8.246 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.345e-06/0.009813, allocations: 0 / 331.8 MB, free: 8.246 MB / 298.7 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0002103/0.01002, allocations: 233.2 kB / 332 MB, free: 8.012 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.486e-05/0.01004, allocations: 7.281 kB / 332 MB, free: 8.008 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.431e-06/0.01004, allocations: 4.078 kB / 332 MB, free: 8.004 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.296e-05/0.01006, allocations: 4 kB / 332.1 MB, free: 8 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.935e-05/0.01016, allocations: 39.91 kB / 332.1 MB, free: 7.961 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.985e-06/0.01016, allocations: 7.984 kB / 332.1 MB, free: 7.953 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.062e-05/0.01021, allocations: 16.38 kB / 332.1 MB, free: 7.938 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.068e-05/0.01023, allocations: 16 kB / 332.1 MB, free: 7.922 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 12 ($CLKPRE.superSampleIpo.ticks,superSampleIpo.ticks,$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 (27): * Single equations (assignments): 27 * 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.0001126/0.01034, allocations: 158.2 kB / 332.3 MB, free: 7.758 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003078/0.01065, allocations: 302.3 kB / 332.6 MB, free: 7.457 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.705e-05/0.01069, allocations: 34.66 kB / 332.6 MB, free: 7.418 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.839e-06/0.0107, allocations: 4 kB / 332.6 MB, free: 7.414 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.528e-06/0.0107, allocations: 0 / 332.6 MB, free: 7.414 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.993e-06/0.01071, allocations: 7.984 kB / 332.6 MB, free: 7.406 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000149/0.01086, allocations: 180.6 kB / 332.8 MB, free: 7.188 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.896e-06/0.01086, allocations: 7.938 kB / 332.8 MB, free: 7.18 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001408/0.011, allocations: 63.91 kB / 332.9 MB, free: 7.117 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.256e-06/0.01101, allocations: 3.938 kB / 332.9 MB, free: 7.113 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.552e-05/0.01102, allocations: 11.98 kB / 332.9 MB, free: 7.102 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.677e-06/0.01102, allocations: 4 kB / 332.9 MB, free: 7.098 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.974e-06/0.01103, allocations: 3.984 kB / 332.9 MB, free: 7.094 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003789/0.01141, allocations: 448.7 kB / 333.3 MB, free: 6.633 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.761e-05/0.01148, allocations: 59.64 kB / 333.4 MB, free: 6.574 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.366e-05/0.01152, allocations: 23.98 kB / 333.4 MB, free: 6.551 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.737e-05/0.01158, allocations: 11.98 kB / 333.4 MB, free: 6.539 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.36e-05/0.01161, allocations: 4 kB / 333.4 MB, free: 6.535 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.425e-05/0.01162, allocations: 12 kB / 333.4 MB, free: 6.523 MB / 298.7 MB Notification: Performance of sorting global known variables: time 6.308e-05/0.01168, allocations: 127.2 kB / 333.6 MB, free: 6.398 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01168, allocations: 0 / 333.6 MB, free: 6.398 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.000208/0.01189, allocations: 40 kB / 333.6 MB, free: 6.359 MB / 298.7 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.0007751/0.01267, allocations: 1.173 MB / 334.8 MB, free: 5.156 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0002623/0.01293, allocations: 212.4 kB / 335 MB, free: 4.949 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.01293, allocations: 0 / 335 MB, free: 4.949 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 1.915e-05/0.01295, allocations: 12 kB / 335 MB, free: 4.938 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004559/0.01341, allocations: 191.8 kB / 335.2 MB, free: 4.75 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001924/0.01533, allocations: 2.374 MB / 337.6 MB, free: 2.211 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001105/0.01544, allocations: 169.9 kB / 337.7 MB, free: 2.023 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 3.939e-05/0.01548, allocations: 17.95 kB / 337.7 MB, free: 2.004 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.268e-05/0.01556, allocations: 68.47 kB / 337.8 MB, free: 1.938 MB / 298.7 MB Notification: Performance of SimCode: time 8.62e-07/0.01557, allocations: 0 / 337.8 MB, free: 1.938 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01927/0.03484, allocations: 5.637 MB / 343.4 MB, free: 12.44 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.701/6.736, allocations: 3.938 kB / 343.5 MB, free: 12.43 MB / 314.7 MB " [Timeout remaining time 653] (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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/UpSample2/UpSample2.csv","/var/lib/jenkins/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: 8.56616711243987]