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.00098/0.00098, 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.0009001/0.0009001, allocations: 156.9 kB / 23.94 MB, free: 0.6133 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.9038/0.9038, allocations: 177 MB / 204.1 MB, free: 5.746 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 2.084e-06/2.084e-06, allocations: 0 / 324.5 MB, free: 15.89 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.761e-05/2.97e-05, allocations: 6.781 kB / 324.5 MB, free: 15.88 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2): time 0.002519/0.002548, allocations: 1.76 MB / 326.3 MB, free: 14.11 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001085/0.003633, allocations: 0.6426 MB / 326.9 MB, free: 13.46 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001462/0.003779, allocations: 11.88 kB / 326.9 MB, free: 13.45 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002117/0.003991, allocations: 19.8 kB / 327 MB, free: 13.43 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002768/0.004268, allocations: 51.58 kB / 327 MB, free: 13.38 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004869/0.004755, allocations: 134.8 kB / 327.1 MB, free: 13.25 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003367/0.005091, allocations: 155.5 kB / 327.3 MB, free: 13.09 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001316/0.005223, allocations: 17.8 kB / 327.3 MB, free: 13.07 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002127/0.005436, allocations: 95.77 kB / 327.4 MB, free: 12.98 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001925/0.005628, allocations: 87.81 kB / 327.5 MB, free: 12.89 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.736e-05/0.005655, allocations: 16 kB / 327.5 MB, free: 12.88 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.682e-05/0.005712, allocations: 19.98 kB / 327.5 MB, free: 12.86 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 7.934e-05/0.005792, allocations: 71.75 kB / 327.6 MB, free: 12.79 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 5.939e-05/0.005851, allocations: 51.83 kB / 327.7 MB, free: 12.74 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002678/0.006119, allocations: 231.2 kB / 327.9 MB, free: 12.51 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.516e-06/0.006122, allocations: 0 / 327.9 MB, free: 12.51 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.615e-06/0.006125, allocations: 3.984 kB / 327.9 MB, free: 12.51 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.729e-06/0.00613, allocations: 0 / 327.9 MB, free: 12.51 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.0006997/0.006829, allocations: 441.3 kB / 328.3 MB, free: 12.05 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.114e-05/0.006871, allocations: 15.98 kB / 328.3 MB, free: 12.03 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.495e-05/0.006915, allocations: 62.66 kB / 328.4 MB, free: 11.96 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001281/0.007044, allocations: 32.75 kB / 328.4 MB, free: 11.93 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002411/0.007285, allocations: 193.4 kB / 328.6 MB, free: 11.71 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.811e-05/0.007313, allocations: 12.38 kB / 328.6 MB, free: 11.7 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.024e-05/0.007333, allocations: 16.38 kB / 328.6 MB, free: 11.69 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008043/0.008137, allocations: 0.6276 MB / 329.3 MB, free: 11.04 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.282e-05/0.00815, allocations: 192 / 329.3 MB, free: 11.04 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.037e-05/0.008171, allocations: 8.125 kB / 329.3 MB, free: 11.03 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.267e-05/0.008203, allocations: 19.98 kB / 329.3 MB, free: 11.01 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002731/0.008476, allocations: 179.8 kB / 329.5 MB, free: 10.84 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004359/0.008912, allocations: 309.5 kB / 329.8 MB, free: 10.48 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003708/0.009283, allocations: 231.7 kB / 330 MB, free: 10.23 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001756/0.009459, allocations: 146.5 kB / 330.1 MB, free: 10.08 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.657e-05/0.009495, allocations: 4 kB / 330.1 MB, free: 10.07 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.005e-05/0.009525, allocations: 50.42 kB / 330.2 MB, free: 10.02 MB / 298.7 MB Notification: Performance of pre-optimization done (n=39): time 1.954e-06/0.009527, allocations: 0 / 330.2 MB, free: 10.02 MB / 298.7 MB Notification: Performance of matching and sorting (n=39): time 0.000576/0.0101, allocations: 418 kB / 330.6 MB, free: 9.602 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003474/0.01045, allocations: 134.8 kB / 330.7 MB, free: 9.445 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001177/0.01057, allocations: 182.5 kB / 330.9 MB, free: 9.258 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.931e-05/0.01059, allocations: 37.7 kB / 330.9 MB, free: 9.215 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.488e-05/0.01063, allocations: 97.12 kB / 331 MB, free: 9.117 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.747e-05/0.01067, allocations: 39.94 kB / 331.1 MB, free: 9.078 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.235e-05/0.01072, allocations: 45.89 kB / 331.1 MB, free: 9.023 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 9.067e-05/0.01081, allocations: 326.8 kB / 331.4 MB, free: 8.695 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.394e-05/0.01088, allocations: 48.44 kB / 331.5 MB, free: 8.648 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.822e-05/0.01098, allocations: 144.9 kB / 331.6 MB, free: 8.465 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001576/0.01113, allocations: 183.8 kB / 331.8 MB, free: 8.242 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.995e-06/0.01114, allocations: 4 kB / 331.8 MB, free: 8.238 MB / 298.7 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0002314/0.01137, allocations: 229.1 kB / 332 MB, free: 8.008 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.591e-05/0.01138, allocations: 8 kB / 332 MB, free: 8 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.283e-06/0.01139, allocations: 4.422 kB / 332.1 MB, free: 7.996 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.764e-05/0.01141, allocations: 12 kB / 332.1 MB, free: 7.984 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001012/0.01151, allocations: 31.92 kB / 332.1 MB, free: 7.953 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.943e-06/0.01152, allocations: 4 kB / 332.1 MB, free: 7.949 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.178e-05/0.01157, allocations: 15.94 kB / 332.1 MB, free: 7.934 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.235e-05/0.01158, allocations: 12 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.0001423/0.01172, allocations: 162.2 kB / 332.3 MB, free: 7.754 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003283/0.01205, allocations: 302.3 kB / 332.6 MB, free: 7.453 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.076e-05/0.0121, allocations: 34.66 kB / 332.6 MB, free: 7.414 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.528e-06/0.01211, allocations: 8 kB / 332.6 MB, free: 7.406 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.21e-06/0.01211, allocations: 0 / 332.6 MB, free: 7.406 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.5e-06/0.01212, allocations: 7.984 kB / 332.6 MB, free: 7.398 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001539/0.01227, allocations: 180.6 kB / 332.8 MB, free: 7.18 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.966e-06/0.01227, allocations: 3.938 kB / 332.8 MB, free: 7.176 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001487/0.01242, allocations: 67.84 kB / 332.9 MB, free: 7.109 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.499e-06/0.01243, allocations: 3.984 kB / 332.9 MB, free: 7.105 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.383e-05/0.01244, allocations: 8 kB / 332.9 MB, free: 7.098 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.206e-06/0.01244, allocations: 4 kB / 332.9 MB, free: 7.094 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.293e-06/0.01245, allocations: 0 / 332.9 MB, free: 7.094 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003837/0.01283, allocations: 452.7 kB / 333.3 MB, free: 6.629 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.189e-05/0.01291, allocations: 63.62 kB / 333.4 MB, free: 6.566 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.616e-05/0.01296, allocations: 20 kB / 333.4 MB, free: 6.547 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.558e-05/0.01303, allocations: 11.98 kB / 333.4 MB, free: 6.535 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.759e-05/0.01306, allocations: 0 / 333.4 MB, free: 6.535 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.493e-05/0.01307, allocations: 15.98 kB / 333.4 MB, free: 6.52 MB / 298.7 MB Notification: Performance of sorting global known variables: time 6.626e-05/0.01314, allocations: 123.2 kB / 333.6 MB, free: 6.398 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01314, allocations: 4 kB / 333.6 MB, free: 6.395 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002233/0.01336, allocations: 40 kB / 333.6 MB, free: 6.355 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.0008116/0.01418, allocations: 1.177 MB / 334.8 MB, free: 5.148 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0002976/0.01447, allocations: 200.4 kB / 335 MB, free: 4.953 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.01448, allocations: 3.938 kB / 335 MB, free: 4.949 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 2.284e-05/0.0145, allocations: 16.86 kB / 335 MB, free: 4.934 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004977/0.015, allocations: 195.8 kB / 335.2 MB, free: 4.742 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002068/0.01706, allocations: 2.366 MB / 337.6 MB, free: 2.207 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003798/0.01744, allocations: 173.9 kB / 337.7 MB, free: 2.016 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 5.586e-05/0.0175, allocations: 17.94 kB / 337.7 MB, free: 1.996 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.377e-05/0.01759, allocations: 64.48 kB / 337.8 MB, free: 1.934 MB / 298.7 MB Notification: Performance of SimCode: time 1.332e-06/0.0176, allocations: 0 / 337.8 MB, free: 1.934 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02286/0.04046, allocations: 5.633 MB / 343.4 MB, free: 12.44 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.756/6.797, allocations: 10.25 kB / 343.4 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2_res.mat --tempDir=temp_Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_UpSample2_fmu --startTime=0 --stopTime=0.06 --stepSize=1.1957e-05 --timeout=50 --tolerance=1e-06 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.mat","/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] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 8.515096764080226]