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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) 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: translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y|upSample.y|superSampleIpo.y|FIR1.y|FIR2.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y|upSample.y|superSampleIpo.y|FIR1.y|FIR2.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001956/0.001956, allocations: 109.7 kB / 17.16 MB, free: 6.328 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002014/0.002014, allocations: 198.9 kB / 18.08 MB, free: 5.422 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.614/2.614, allocations: 222.9 MB / 241.7 MB, free: 15.52 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002091/0.002091, allocations: 46.95 kB / 300.6 MB, free: 6.34 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1857/0.1879, allocations: 49.44 MB / 350.1 MB, free: 4.891 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2): time 0.006629/0.1946, allocations: 1.803 MB / 351.9 MB, free: 3.07 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001809/0.1964, allocations: 0.5961 MB / 352.5 MB, free: 2.469 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000293/0.1968, allocations: 7.938 kB / 352.5 MB, free: 2.461 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002812/0.1971, allocations: 15.86 kB / 352.5 MB, free: 2.445 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004306/0.1976, allocations: 35.84 kB / 352.5 MB, free: 2.41 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007546/0.1984, allocations: 111.7 kB / 352.6 MB, free: 2.301 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003918/0.1988, allocations: 143.7 kB / 352.8 MB, free: 2.16 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001973/0.199, allocations: 33.47 kB / 352.8 MB, free: 2.125 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001896/0.1992, allocations: 67.75 kB / 352.9 MB, free: 2.059 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003367/0.1996, allocations: 103.6 kB / 353 MB, free: 1.957 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 4.66e-05/0.1996, allocations: 8 kB / 353 MB, free: 1.949 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.668e-05/0.1997, allocations: 8 kB / 353 MB, free: 1.941 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002005/0.1999, allocations: 59.81 kB / 353 MB, free: 1.883 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001522/0.2001, allocations: 87.45 kB / 353.1 MB, free: 1.797 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003368/0.2004, allocations: 148 kB / 353.3 MB, free: 1.652 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.626e-06/0.2004, allocations: 4 kB / 353.3 MB, free: 1.648 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.934e-06/0.2004, allocations: 0 / 353.3 MB, free: 1.648 MB / 286.1 MB Notification: Performance of Transformations before backend: time 6.462e-06/0.2005, allocations: 4 kB / 353.3 MB, free: 1.645 MB / 286.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.001325/0.2018, allocations: 0.4947 MB / 353.8 MB, free: 1.102 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.227e-05/0.2019, allocations: 16.02 kB / 353.8 MB, free: 1.086 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.547e-05/0.202, allocations: 24.66 kB / 353.8 MB, free: 1.062 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005352/0.2025, allocations: 243.8 kB / 354.1 MB, free: 0.7852 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.228e-05/0.2026, allocations: 24.25 kB / 354.1 MB, free: 0.7617 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.946e-05/0.2027, allocations: 20.38 kB / 354.1 MB, free: 0.7422 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001656/0.2043, allocations: 0.6304 MB / 354.7 MB, free: 92 kB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.585e-05/0.2044, allocations: 0 / 354.7 MB, free: 92 kB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.421e-05/0.2045, allocations: 8 kB / 354.7 MB, free: 84 kB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.271e-05/0.2045, allocations: 12 kB / 354.7 MB, free: 72 kB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006513/0.2052, allocations: 187.8 kB / 354.9 MB, free: 15.89 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008408/0.206, allocations: 370.2 kB / 355.3 MB, free: 15.47 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007979/0.2069, allocations: 251.7 kB / 355.5 MB, free: 15.2 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004427/0.2073, allocations: 154.6 kB / 355.7 MB, free: 15.04 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.636e-05/0.2074, allocations: 16.08 kB / 355.7 MB, free: 15.02 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.783e-05/0.2074, allocations: 38.56 kB / 355.7 MB, free: 14.97 MB / 302.1 MB Notification: Performance of pre-optimization done (n=39): time 2.164e-06/0.2075, allocations: 0 / 355.7 MB, free: 14.97 MB / 302.1 MB Notification: Performance of matching and sorting (n=39): time 0.001437/0.2089, allocations: 422.4 kB / 356.2 MB, free: 14.55 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003102/0.2092, allocations: 138.9 kB / 356.3 MB, free: 14.39 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002561/0.2095, allocations: 170.4 kB / 356.5 MB, free: 14.22 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 4.594e-05/0.2096, allocations: 33.7 kB / 356.5 MB, free: 14.18 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001056/0.2097, allocations: 101.3 kB / 356.6 MB, free: 14.08 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.902e-05/0.2098, allocations: 47.52 kB / 356.6 MB, free: 14.03 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000171/0.21, allocations: 74.12 kB / 356.7 MB, free: 13.95 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0002804/0.2103, allocations: 338.8 kB / 357 MB, free: 13.61 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000253/0.2105, allocations: 68.83 kB / 357.1 MB, free: 13.55 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005118/0.2111, allocations: 322.7 kB / 357.4 MB, free: 13.11 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008899/0.212, allocations: 420.9 kB / 357.8 MB, free: 12.58 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-05/0.212, allocations: 4 kB / 357.8 MB, free: 12.58 MB / 302.1 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.001096/0.2131, allocations: 401.2 kB / 358.2 MB, free: 12.18 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.611e-05/0.2131, allocations: 11.98 kB / 358.2 MB, free: 12.17 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.062e-05/0.2132, allocations: 12 kB / 358.2 MB, free: 12.16 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.491e-05/0.2132, allocations: 8 kB / 358.3 MB, free: 12.15 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004241/0.2137, allocations: 87.78 kB / 358.3 MB, free: 12.06 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.71e-05/0.2137, allocations: 15.98 kB / 358.4 MB, free: 12.05 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003638/0.2141, allocations: 32.16 kB / 358.4 MB, free: 12.02 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.631e-05/0.2142, allocations: 28 kB / 358.4 MB, free: 11.99 MB / 302.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.0003673/0.2145, allocations: 190.3 kB / 358.6 MB, free: 11.79 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009299/0.2155, allocations: 297.2 kB / 358.9 MB, free: 11.5 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001219/0.2156, allocations: 34.64 kB / 358.9 MB, free: 11.46 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.305e-05/0.2157, allocations: 8 kB / 358.9 MB, free: 11.45 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.089e-05/0.2157, allocations: 0 / 358.9 MB, free: 11.45 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.715e-06/0.2157, allocations: 3.938 kB / 358.9 MB, free: 11.45 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004317/0.2161, allocations: 249.3 kB / 359.2 MB, free: 11.16 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.795e-06/0.2162, allocations: 4 kB / 359.2 MB, free: 11.15 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004272/0.2166, allocations: 59.91 kB / 359.2 MB, free: 11.09 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.288e-05/0.2166, allocations: 7.938 kB / 359.3 MB, free: 11.09 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.007e-05/0.2167, allocations: 11.98 kB / 359.3 MB, free: 11.07 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.205e-05/0.2167, allocations: 8 kB / 359.3 MB, free: 11.07 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.895e-06/0.2167, allocations: 0 / 359.3 MB, free: 11.07 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001182/0.2179, allocations: 440.6 kB / 359.7 MB, free: 10.62 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002268/0.2181, allocations: 124.8 kB / 359.8 MB, free: 10.48 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.492e-05/0.2182, allocations: 16 kB / 359.8 MB, free: 10.46 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002324/0.2185, allocations: 15.98 kB / 359.9 MB, free: 10.45 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.005e-05/0.2186, allocations: 0 / 359.9 MB, free: 10.45 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.193e-05/0.2186, allocations: 19.92 kB / 359.9 MB, free: 10.43 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001777/0.2188, allocations: 127.2 kB / 360 MB, free: 10.3 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.91e-07/0.2188, allocations: 0 / 360 MB, free: 10.3 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0007532/0.2196, allocations: 52 kB / 360 MB, free: 10.25 MB / 302.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.0002426/0.2198, allocations: 122.7 kB / 360.2 MB, free: 10.12 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0009271/0.2208, allocations: 289.2 kB / 360.5 MB, free: 9.84 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 4.037e-06/0.2208, allocations: 0 / 360.5 MB, free: 9.84 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 6.137e-05/0.2209, allocations: 8 kB / 360.5 MB, free: 9.832 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001284/0.2222, allocations: 219.7 kB / 360.7 MB, free: 9.617 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002418/0.2246, allocations: 0.6595 MB / 361.3 MB, free: 8.918 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006866/0.2253, allocations: 0.7764 MB / 362.1 MB, free: 8.117 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001452/0.2255, allocations: 23.44 kB / 362.1 MB, free: 8.094 MB / 302.1 MB Notification: Performance of SimCode: time 1.112e-06/0.2255, allocations: 0 / 362.1 MB, free: 8.094 MB / 302.1 MB Notification: Performance of Templates: time 0.01038/0.2359, allocations: 2.933 MB / 365.1 MB, free: 5.184 MB / 302.1 MB make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2.makefile (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 & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2.pipe 2>&1) 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) Reference file matches