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.0008279/0.0008279, allocations: 76.08 kB / 20.67 MB, free: 3.895 MB / 18.57 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.0008375/0.0008375, allocations: 153.1 kB / 23.93 MB, free: 0.6328 MB / 18.57 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 0.8936/0.8936, allocations: 173.4 MB / 200.4 MB, free: 9.449 MB / 186.7 MB " [Timeout remaining time 179] 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 2.334e-06/2.334e-06, allocations: 0 / 318.4 MB, free: 6.379 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.807e-05/3.041e-05, allocations: 6.219 kB / 318.5 MB, free: 6.371 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2): time 0.003707/0.003738, allocations: 1.714 MB / 320.2 MB, free: 4.641 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001188/0.004926, allocations: 0.5881 MB / 320.8 MB, free: 4.047 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001435/0.00507, allocations: 7.875 kB / 320.8 MB, free: 4.039 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001898/0.005259, allocations: 19.8 kB / 320.8 MB, free: 4.02 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002842/0.005544, allocations: 43.66 kB / 320.8 MB, free: 3.977 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004764/0.00602, allocations: 142.6 kB / 321 MB, free: 3.84 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002624/0.006282, allocations: 143.6 kB / 321.1 MB, free: 3.699 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001284/0.006411, allocations: 29.77 kB / 321.1 MB, free: 3.668 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001906/0.006601, allocations: 95.72 kB / 321.2 MB, free: 3.574 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002227/0.006824, allocations: 87.8 kB / 321.3 MB, free: 3.488 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 4.688e-05/0.006871, allocations: 12 kB / 321.3 MB, free: 3.477 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.786e-05/0.006899, allocations: 16 kB / 321.3 MB, free: 3.461 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 9.008e-05/0.006989, allocations: 63.81 kB / 321.4 MB, free: 3.398 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 7.4e-05/0.007063, allocations: 51.83 kB / 321.5 MB, free: 3.348 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002889/0.007352, allocations: 223.3 kB / 321.7 MB, free: 3.129 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.596e-06/0.007355, allocations: 4 kB / 321.7 MB, free: 3.125 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.613e-06/0.007357, allocations: 0 / 321.7 MB, free: 3.125 MB / 282.7 MB Notification: Performance of Transformations before backend: time 6.512e-06/0.007363, allocations: 0 / 321.7 MB, free: 3.125 MB / 282.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.0007973/0.008161, allocations: 445.2 kB / 322.1 MB, free: 2.66 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.359e-05/0.008204, allocations: 8.922 kB / 322.1 MB, free: 2.652 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.205e-05/0.008266, allocations: 58.72 kB / 322.2 MB, free: 2.586 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.787e-05/0.008324, allocations: 24.8 kB / 322.2 MB, free: 2.562 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002984/0.008623, allocations: 201.3 kB / 322.4 MB, free: 2.34 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.458e-05/0.008657, allocations: 16.38 kB / 322.4 MB, free: 2.324 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.773e-05/0.008685, allocations: 12.38 kB / 322.4 MB, free: 2.312 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001043/0.009728, allocations: 0.6319 MB / 323.1 MB, free: 1.66 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.117e-05/0.009739, allocations: 192 / 323.1 MB, free: 1.66 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.318e-05/0.009762, allocations: 12.12 kB / 323.1 MB, free: 1.648 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.981e-05/0.009792, allocations: 15.92 kB / 323.1 MB, free: 1.633 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004023/0.01019, allocations: 183.8 kB / 323.3 MB, free: 1.453 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003362/0.01053, allocations: 301.5 kB / 323.6 MB, free: 1.109 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002813/0.01081, allocations: 223.6 kB / 323.8 MB, free: 0.8633 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001504/0.01096, allocations: 142.6 kB / 323.9 MB, free: 0.7148 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.753e-05/0.01099, allocations: 16 kB / 323.9 MB, free: 0.6992 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.985e-05/0.01101, allocations: 34.56 kB / 324 MB, free: 0.6562 MB / 282.7 MB Notification: Performance of pre-optimization done (n=39): time 1.513e-06/0.01101, allocations: 0 / 324 MB, free: 0.6562 MB / 282.7 MB Notification: Performance of matching and sorting (n=39): time 0.0007284/0.01174, allocations: 417.7 kB / 324.4 MB, free: 248 kB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001018/0.01184, allocations: 147.8 kB / 324.5 MB, free: 76 kB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001521/0.01199, allocations: 170.3 kB / 324.7 MB, free: 15.9 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 3.134e-05/0.01202, allocations: 33.7 kB / 324.7 MB, free: 15.86 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.282e-05/0.01208, allocations: 97.14 kB / 324.8 MB, free: 15.76 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.001e-05/0.01212, allocations: 35.72 kB / 324.8 MB, free: 15.73 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.263e-05/0.01218, allocations: 46.08 kB / 324.9 MB, free: 15.67 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 9.248e-05/0.01227, allocations: 326.8 kB / 325.2 MB, free: 15.34 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.532e-05/0.01234, allocations: 56.38 kB / 325.3 MB, free: 15.29 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.187e-05/0.01243, allocations: 140.9 kB / 325.4 MB, free: 15.11 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001423/0.01257, allocations: 183.8 kB / 325.6 MB, free: 14.89 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.225e-06/0.01257, allocations: 0 / 325.6 MB, free: 14.89 MB / 298.7 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0002028/0.01278, allocations: 225.2 kB / 325.8 MB, free: 14.66 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.249e-05/0.01279, allocations: 11.94 kB / 325.8 MB, free: 14.65 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.242e-06/0.0128, allocations: 4 kB / 325.8 MB, free: 14.64 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.283e-05/0.01281, allocations: 4 kB / 325.8 MB, free: 14.64 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.811e-05/0.0129, allocations: 35.92 kB / 325.9 MB, free: 14.61 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.444e-06/0.0129, allocations: 12.36 kB / 325.9 MB, free: 14.59 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.844e-05/0.01295, allocations: 19.95 kB / 325.9 MB, free: 14.57 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.226e-05/0.01296, allocations: 12 kB / 325.9 MB, free: 14.56 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 9.954e-05/0.01306, allocations: 162.2 kB / 326.1 MB, free: 14.39 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002914/0.01336, allocations: 302.7 kB / 326.4 MB, free: 14.09 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.108e-05/0.0134, allocations: 38.64 kB / 326.4 MB, free: 14.05 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.328e-06/0.0134, allocations: 7.938 kB / 326.4 MB, free: 14.05 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.288e-06/0.01341, allocations: 4 kB / 326.4 MB, free: 14.04 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.626e-06/0.01341, allocations: 0 / 326.4 MB, free: 14.04 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001368/0.01355, allocations: 184.6 kB / 326.6 MB, free: 13.82 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.377e-06/0.01355, allocations: 11.92 kB / 326.6 MB, free: 13.81 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001299/0.01368, allocations: 59.91 kB / 326.7 MB, free: 13.75 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.555e-06/0.01368, allocations: 0 / 326.7 MB, free: 13.75 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.241e-05/0.01369, allocations: 8 kB / 326.7 MB, free: 13.74 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.017e-06/0.0137, allocations: 7.984 kB / 326.7 MB, free: 13.73 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.313e-06/0.0137, allocations: 0 / 326.7 MB, free: 13.73 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003577/0.01406, allocations: 436.8 kB / 327.1 MB, free: 13.29 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.298e-05/0.01413, allocations: 55.7 kB / 327.1 MB, free: 13.23 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.263e-05/0.01416, allocations: 19.98 kB / 327.2 MB, free: 13.21 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.547e-05/0.01423, allocations: 12 kB / 327.2 MB, free: 13.2 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.316e-05/0.01425, allocations: 11.92 kB / 327.2 MB, free: 13.19 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.248e-05/0.01426, allocations: 8 kB / 327.2 MB, free: 13.18 MB / 298.7 MB Notification: Performance of sorting global known variables: time 6.282e-05/0.01433, allocations: 135.5 kB / 327.3 MB, free: 13.05 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01433, allocations: 0 / 327.3 MB, free: 13.05 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001973/0.01452, allocations: 40 kB / 327.4 MB, free: 13.01 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.0007568/0.01528, allocations: 1.161 MB / 328.5 MB, free: 11.81 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0002529/0.01553, allocations: 211.7 kB / 328.7 MB, free: 11.6 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.402e-06/0.01554, allocations: 0 / 328.7 MB, free: 11.6 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 1.935e-05/0.01555, allocations: 15.92 kB / 328.8 MB, free: 11.59 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004266/0.01598, allocations: 203.7 kB / 329 MB, free: 11.39 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001826/0.01781, allocations: 2.358 MB / 331.3 MB, free: 8.859 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001184/0.01793, allocations: 177.7 kB / 331.5 MB, free: 8.664 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 3.592e-05/0.01796, allocations: 13.97 kB / 331.5 MB, free: 8.652 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.076e-05/0.01804, allocations: 64.47 kB / 331.6 MB, free: 8.59 MB / 298.7 MB Notification: Performance of SimCode: time 5.11e-07/0.01804, allocations: 0 / 331.6 MB, free: 8.59 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02004/0.03808, allocations: 5.617 MB / 337.2 MB, free: 3.141 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.869/6.907, allocations: 8 kB / 337.2 MB, free: 3.133 MB / 298.7 MB " [Timeout remaining time 653] (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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/UpSample2/UpSample2.csv","/var/lib/jenkins/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: 8.621705212630332]