Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001365/0.001365, allocations: 127.4 kB / 17.79 MB, free: 5.246 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001776/0.001776, allocations: 208.3 kB / 20.75 MB, free: 2.297 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.457/1.457, allocations: 230.6 MB / 254.1 MB, free: 15.07 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+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2,fileNamePrefix="Modelica_4_1_0_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_Modelica_Clocked_Examples_Elementary_RealSignals_UpSample2",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001473/0.001473, allocations: 48.06 kB / 373 MB, free: 10.17 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1069/0.1084, allocations: 53.33 MB / 426.3 MB, free: 4.75 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2): time 0.004023/0.1124, allocations: 1.777 MB / 428.1 MB, free: 2.965 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00168/0.1141, allocations: 0.6856 MB / 428.8 MB, free: 2.273 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001869/0.1142, allocations: 11.88 kB / 428.8 MB, free: 2.262 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002023/0.1144, allocations: 15.8 kB / 428.8 MB, free: 2.246 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002989/0.1147, allocations: 43.72 kB / 428.9 MB, free: 2.203 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005979/0.1153, allocations: 143.6 kB / 429 MB, free: 2.062 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003132/0.1157, allocations: 151.7 kB / 429.1 MB, free: 1.914 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001536/0.1158, allocations: 29.47 kB / 429.2 MB, free: 1.883 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002463/0.1161, allocations: 79.75 kB / 429.3 MB, free: 1.805 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002768/0.1163, allocations: 115.6 kB / 429.4 MB, free: 1.691 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.275e-05/0.1164, allocations: 12 kB / 429.4 MB, free: 1.68 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.943e-05/0.1165, allocations: 16 kB / 429.4 MB, free: 1.664 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001134/0.1166, allocations: 63.81 kB / 429.5 MB, free: 1.602 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001084/0.1167, allocations: 87.45 kB / 429.5 MB, free: 1.516 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004042/0.1171, allocations: 223 kB / 429.8 MB, free: 1.297 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.472e-06/0.1171, allocations: 0 / 429.8 MB, free: 1.297 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.713e-06/0.1171, allocations: 0 / 429.8 MB, free: 1.297 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.203e-05/0.1171, allocations: 0 / 429.8 MB, free: 1.297 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.001097/0.1182, allocations: 0.5204 MB / 430.3 MB, free: 0.7305 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.696e-05/0.1182, allocations: 8.031 kB / 430.3 MB, free: 0.7227 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.555e-05/0.1183, allocations: 54.73 kB / 430.3 MB, free: 0.6602 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002175/0.1185, allocations: 36.73 kB / 430.4 MB, free: 0.625 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003856/0.1189, allocations: 248.5 kB / 430.6 MB, free: 352 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.701e-05/0.119, allocations: 20.31 kB / 430.6 MB, free: 332 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.634e-05/0.119, allocations: 20.36 kB / 430.7 MB, free: 312 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2126/0.3316, allocations: 0.6218 MB / 431.3 MB, free: 11.11 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.477e-05/0.3316, allocations: 0 / 431.3 MB, free: 11.11 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.175e-05/0.3316, allocations: 5.906 kB / 431.3 MB, free: 11.11 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.221e-05/0.3316, allocations: 21.12 kB / 431.3 MB, free: 11.11 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003828/0.332, allocations: 180.7 kB / 431.5 MB, free: 11.11 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003873/0.3324, allocations: 373.9 kB / 431.8 MB, free: 10.83 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003912/0.3328, allocations: 223.3 kB / 432.1 MB, free: 10.76 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002374/0.333, allocations: 143.3 kB / 432.2 MB, free: 10.73 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.321e-05/0.3331, allocations: 10.36 kB / 432.2 MB, free: 10.73 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.784e-05/0.3331, allocations: 40.94 kB / 432.3 MB, free: 10.7 MB / 350.1 MB Notification: Performance of pre-optimization done (n=39): time 1.593e-06/0.3331, allocations: 0.5312 kB / 432.3 MB, free: 10.7 MB / 350.1 MB Notification: Performance of matching and sorting (n=39): time 0.0007869/0.3339, allocations: 422.9 kB / 432.7 MB, free: 10.65 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.179e-05/0.3339, allocations: 136.4 kB / 432.8 MB, free: 10.52 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001139/0.3341, allocations: 176.5 kB / 433 MB, free: 10.42 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.812e-05/0.3341, allocations: 30.33 kB / 433 MB, free: 10.39 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.61e-05/0.3341, allocations: 113.4 kB / 433.1 MB, free: 10.3 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.67e-05/0.3342, allocations: 43.25 kB / 433.2 MB, free: 10.29 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.78e-05/0.3342, allocations: 68.59 kB / 433.2 MB, free: 10.27 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 5.531e-05/0.3343, allocations: 338.9 kB / 433.6 MB, free: 9.957 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00012/0.3344, allocations: 76.11 kB / 433.6 MB, free: 9.957 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001843/0.3346, allocations: 318.5 kB / 433.9 MB, free: 9.641 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003129/0.3349, allocations: 423.2 kB / 434.4 MB, free: 9.336 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.159e-06/0.3349, allocations: 4.312 kB / 434.4 MB, free: 9.336 MB / 350.1 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0004954/0.3354, allocations: 408.4 kB / 434.8 MB, free: 9.234 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.787e-05/0.3354, allocations: 8.562 kB / 434.8 MB, free: 9.234 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.103e-05/0.3354, allocations: 12.59 kB / 434.8 MB, free: 9.23 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.403e-05/0.3355, allocations: 12.06 kB / 434.8 MB, free: 9.23 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002235/0.3357, allocations: 84.89 kB / 434.9 MB, free: 9.223 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.669e-05/0.3357, allocations: 15.09 kB / 434.9 MB, free: 9.219 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001477/0.3358, allocations: 38.05 kB / 434.9 MB, free: 9.211 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.756e-05/0.3359, allocations: 26.34 kB / 435 MB, free: 9.211 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.0001216/0.336, allocations: 177.7 kB / 435.1 MB, free: 9.082 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000448/0.3364, allocations: 305.4 kB / 435.4 MB, free: 9.02 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.857e-05/0.3365, allocations: 36.03 kB / 435.5 MB, free: 8.988 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.93e-06/0.3365, allocations: 4.938 kB / 435.5 MB, free: 8.988 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.929e-06/0.3365, allocations: 1.25 kB / 435.5 MB, free: 8.988 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.731e-06/0.3365, allocations: 3.641 kB / 435.5 MB, free: 8.988 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001691/0.3367, allocations: 244.8 kB / 435.7 MB, free: 8.766 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.164e-06/0.3367, allocations: 1.125 kB / 435.7 MB, free: 8.766 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002457/0.3369, allocations: 64.94 kB / 435.8 MB, free: 8.758 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.587e-06/0.3369, allocations: 4.156 kB / 435.8 MB, free: 8.758 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.046e-05/0.337, allocations: 10.25 kB / 435.8 MB, free: 8.754 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.785e-06/0.337, allocations: 6.062 kB / 435.8 MB, free: 8.75 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.337, allocations: 1.188 kB / 435.8 MB, free: 8.75 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000497/0.3375, allocations: 439.4 kB / 436.2 MB, free: 8.5 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.521e-05/0.3376, allocations: 129.9 kB / 436.3 MB, free: 8.383 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.336e-05/0.3376, allocations: 17.25 kB / 436.4 MB, free: 8.375 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001373/0.3377, allocations: 21.83 kB / 436.4 MB, free: 8.363 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.07e-05/0.3378, allocations: 3 kB / 436.4 MB, free: 8.363 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.117e-05/0.3378, allocations: 9.156 kB / 436.4 MB, free: 8.363 MB / 350.1 MB Notification: Performance of sorting global known variables: time 7.126e-05/0.3379, allocations: 131 kB / 436.5 MB, free: 8.273 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3379, allocations: 0 / 436.5 MB, free: 8.273 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003618/0.3382, allocations: 54.91 kB / 436.6 MB, free: 8.258 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.0009606/0.3392, allocations: 1.181 MB / 437.8 MB, free: 7.391 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004636/0.3396, allocations: 279 kB / 438 MB, free: 7.309 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.3396, allocations: 0 / 438 MB, free: 7.309 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 3.682e-05/0.3397, allocations: 8.188 kB / 438 MB, free: 7.309 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006332/0.3403, allocations: 212.5 kB / 438.3 MB, free: 7.23 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002825/0.3431, allocations: 2.96 MB / 441.2 MB, free: 4.898 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000203/0.3433, allocations: 0.7854 MB / 442 MB, free: 4.188 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.998e-05/0.3434, allocations: 20.31 kB / 442 MB, free: 4.188 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001027/0.3435, allocations: 71.95 kB / 442.1 MB, free: 4.141 MB / 350.1 MB Notification: Performance of SimCode: time 2.61e-07/0.3435, allocations: 4 kB / 442.1 MB, free: 4.137 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0269/0.3704, allocations: 5.175 MB / 447.3 MB, free: 3.559 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.89/8.261, allocations: 5.984 kB / 447.3 MB, free: 3.555 MB / 350.1 MB " [Timeout remaining time 652] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_RealSignals_UpSample2_fmu --startTime=0 --stopTime=0.06 --stepSize=1.1957e-05 --timeout=50 --tolerance=1e-06 Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_RealSignals_UpSample2.fmu > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2_res.mat","/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_4.1.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: 10.66144528798759]