Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2.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.001592/0.001592, allocations: 109.5 kB / 20.43 MB, free: 1.457 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.001935/0.001935, allocations: 184.5 kB / 23.72 MB, free: 4.699 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.392/1.392, allocations: 225.6 MB / 252.5 MB, free: 13.01 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.RealSignals.UpSample2,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_UpSample2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_UpSample2",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001787/0.001787, allocations: 51.94 kB / 370.5 MB, free: 9.809 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2647/0.2665, allocations: 52.19 MB / 422.6 MB, free: 14.56 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2): time 0.002985/0.2695, allocations: 1.789 MB / 424.4 MB, free: 12.77 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001115/0.2706, allocations: 0.6116 MB / 425 MB, free: 12.15 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001063/0.2707, allocations: 7.938 kB / 425 MB, free: 12.14 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001611/0.2709, allocations: 23.8 kB / 425.1 MB, free: 12.12 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002165/0.2711, allocations: 35.7 kB / 425.1 MB, free: 12.08 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004318/0.2715, allocations: 122.9 kB / 425.2 MB, free: 11.96 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002531/0.2718, allocations: 163.6 kB / 425.4 MB, free: 11.8 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001123/0.2719, allocations: 21.73 kB / 425.4 MB, free: 11.78 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001382/0.272, allocations: 83.69 kB / 425.5 MB, free: 11.7 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002073/0.2722, allocations: 111.6 kB / 425.6 MB, free: 11.59 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.447e-05/0.2723, allocations: 12 kB / 425.6 MB, free: 11.58 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.477e-05/0.2723, allocations: 12 kB / 425.6 MB, free: 11.57 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 9.46e-05/0.2724, allocations: 75.8 kB / 425.7 MB, free: 11.49 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 9.484e-05/0.2725, allocations: 83.47 kB / 425.8 MB, free: 11.41 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002799/0.2728, allocations: 211.4 kB / 426 MB, free: 11.21 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.497e-06/0.2728, allocations: 4 kB / 426 MB, free: 11.2 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.212e-06/0.2728, allocations: 0 / 426 MB, free: 11.2 MB / 334.1 MB Notification: Performance of Transformations before backend: time 9.729e-06/0.2728, allocations: 0 / 426 MB, free: 11.2 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.0008314/0.2736, allocations: 445.2 kB / 426.4 MB, free: 10.74 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.07e-05/0.2737, allocations: 12.03 kB / 426.4 MB, free: 10.73 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.811e-05/0.2737, allocations: 50.73 kB / 426.5 MB, free: 10.67 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001002/0.2738, allocations: 24.8 kB / 426.5 MB, free: 10.64 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003162/0.2741, allocations: 198.1 kB / 426.7 MB, free: 10.43 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.359e-05/0.2742, allocations: 12.38 kB / 426.7 MB, free: 10.41 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.385e-05/0.2742, allocations: 20.38 kB / 426.7 MB, free: 10.39 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001166/0.2754, allocations: 0.6379 MB / 427.4 MB, free: 9.73 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.376e-05/0.2754, allocations: 4 kB / 427.4 MB, free: 9.727 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.256e-05/0.2754, allocations: 7.984 kB / 427.4 MB, free: 9.719 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.636e-05/0.2754, allocations: 11.98 kB / 427.4 MB, free: 9.707 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003859/0.2758, allocations: 183.8 kB / 427.6 MB, free: 9.527 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000462/0.2763, allocations: 341.3 kB / 427.9 MB, free: 9.145 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000455/0.2767, allocations: 227.6 kB / 428.1 MB, free: 8.895 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002746/0.277, allocations: 150.6 kB / 428.3 MB, free: 8.738 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.038e-05/0.2771, allocations: 8.484 kB / 428.3 MB, free: 8.73 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.769e-05/0.2771, allocations: 46.5 kB / 428.3 MB, free: 8.676 MB / 334.1 MB Notification: Performance of pre-optimization done (n=39): time 1.543e-06/0.2771, allocations: 0 / 428.3 MB, free: 8.676 MB / 334.1 MB Notification: Performance of matching and sorting (n=39): time 0.0008639/0.278, allocations: 426.1 kB / 428.7 MB, free: 8.254 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001313/0.2781, allocations: 130.8 kB / 428.9 MB, free: 8.102 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001677/0.2783, allocations: 174.7 kB / 429 MB, free: 7.922 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.902e-05/0.2783, allocations: 33.7 kB / 429.1 MB, free: 7.883 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.554e-05/0.2784, allocations: 101.1 kB / 429.2 MB, free: 7.781 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.943e-05/0.2784, allocations: 47.78 kB / 429.2 MB, free: 7.734 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.729e-05/0.2785, allocations: 70.14 kB / 429.3 MB, free: 7.66 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001665/0.2787, allocations: 334.8 kB / 429.6 MB, free: 7.324 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001376/0.2788, allocations: 80.81 kB / 429.7 MB, free: 7.246 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003233/0.2791, allocations: 322.7 kB / 430 MB, free: 6.809 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004665/0.2796, allocations: 408.9 kB / 430.4 MB, free: 6.289 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.497e-06/0.2796, allocations: 0 / 430.4 MB, free: 6.289 MB / 334.1 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0005999/0.2802, allocations: 417 kB / 430.8 MB, free: 5.875 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.998e-05/0.2802, allocations: 8 kB / 430.8 MB, free: 5.867 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.102e-05/0.2802, allocations: 8 kB / 430.8 MB, free: 5.859 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.24e-05/0.2803, allocations: 12.75 kB / 430.8 MB, free: 5.848 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002459/0.2805, allocations: 79.84 kB / 430.9 MB, free: 5.77 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.901e-05/0.2805, allocations: 23.92 kB / 430.9 MB, free: 5.746 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001584/0.2807, allocations: 35.77 kB / 431 MB, free: 5.711 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.574e-05/0.2807, allocations: 24 kB / 431 MB, free: 5.688 MB / 334.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.000178/0.2809, allocations: 184.3 kB / 431.2 MB, free: 5.5 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004977/0.2814, allocations: 293.4 kB / 431.5 MB, free: 5.207 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.854e-05/0.2815, allocations: 34.66 kB / 431.5 MB, free: 5.172 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.903e-06/0.2815, allocations: 4 kB / 431.5 MB, free: 5.168 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/0.2815, allocations: 4 kB / 431.5 MB, free: 5.164 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.126e-06/0.2815, allocations: 7.984 kB / 431.5 MB, free: 5.156 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000246/0.2817, allocations: 216.4 kB / 431.7 MB, free: 4.902 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.2817, allocations: 0 / 431.7 MB, free: 4.902 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002616/0.282, allocations: 67.89 kB / 431.8 MB, free: 4.836 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.855e-06/0.282, allocations: 0 / 431.8 MB, free: 4.836 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.532e-05/0.282, allocations: 8 kB / 431.8 MB, free: 4.828 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.288e-06/0.282, allocations: 4 kB / 431.8 MB, free: 4.824 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.767e-06/0.282, allocations: 4 kB / 431.8 MB, free: 4.82 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006249/0.2827, allocations: 444.9 kB / 432.2 MB, free: 4.367 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001268/0.2828, allocations: 63.67 kB / 432.3 MB, free: 4.305 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.368e-05/0.2828, allocations: 16 kB / 432.3 MB, free: 4.289 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001383/0.283, allocations: 15.98 kB / 432.3 MB, free: 4.273 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.902e-05/0.283, allocations: 4 kB / 432.3 MB, free: 4.27 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.361e-05/0.283, allocations: 11.98 kB / 432.4 MB, free: 4.258 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001215/0.2832, allocations: 139.2 kB / 432.5 MB, free: 4.121 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2832, allocations: 3.938 kB / 432.5 MB, free: 4.117 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003845/0.2835, allocations: 48 kB / 432.5 MB, free: 4.07 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 (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.001451/0.285, allocations: 1.18 MB / 433.7 MB, free: 2.852 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0005588/0.2855, allocations: 281.9 kB / 434 MB, free: 2.578 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.035e-06/0.2856, allocations: 0 / 434 MB, free: 2.578 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 4.079e-05/0.2856, allocations: 4 kB / 434 MB, free: 2.574 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007172/0.2863, allocations: 199.1 kB / 434.2 MB, free: 2.383 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003964/0.2903, allocations: 2.962 MB / 437.2 MB, free: 15.09 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004722/0.2907, allocations: 0.7722 MB / 437.9 MB, free: 14.29 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 7.395e-05/0.2908, allocations: 26.28 kB / 438 MB, free: 14.27 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001408/0.291, allocations: 71.41 kB / 438 MB, free: 14.2 MB / 350.1 MB Notification: Performance of SimCode: time 7.11e-07/0.291, allocations: 0 / 438 MB, free: 14.2 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03567/0.3266, allocations: 5.58 MB / 443.6 MB, free: 8.781 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.77/11.1, allocations: 11.53 kB / 443.6 MB, free: 8.777 MB / 350.1 MB " [Timeout remaining time 649] (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_UpSample2_fmu --startTime=0 --stopTime=0.06 --stepSize=1.1957e-05 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_UpSample2.fmu > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/UpSample2/UpSample2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_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: 13.508482404984534]