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.0007758/0.0007758, allocations: 80 kB / 21.43 MB, free: 3.133 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.004996/0.004996, allocations: 139.5 kB / 24.68 MB, free: 8.883 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.8314/0.8314, allocations: 173.4 MB / 201.2 MB, free: 9.434 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: translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5018,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=5018,variableFilter="time|sample1.y|upSample.y|superSampleIpo.y|FIR1.y|FIR2.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.144e-06/2.144e-06, allocations: 7.938 kB / 319.7 MB, free: 5.875 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.522e-05/1.736e-05, allocations: 6.219 kB / 319.7 MB, free: 5.867 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2): time 0.002178/0.002195, allocations: 1.726 MB / 321.4 MB, free: 4.125 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009055/0.003101, allocations: 0.5881 MB / 322 MB, free: 3.531 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.621e-05/0.003197, allocations: 7.875 kB / 322 MB, free: 3.523 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001524/0.003349, allocations: 23.8 kB / 322 MB, free: 3.5 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001775/0.003527, allocations: 35.72 kB / 322.1 MB, free: 3.465 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002667/0.003794, allocations: 146.5 kB / 322.2 MB, free: 3.324 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001472/0.003941, allocations: 143.6 kB / 322.4 MB, free: 3.184 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001068/0.004048, allocations: 25.72 kB / 322.4 MB, free: 3.156 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000112/0.00416, allocations: 95.83 kB / 322.5 MB, free: 3.062 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001611/0.004321, allocations: 87.75 kB / 322.6 MB, free: 2.977 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 3.253e-05/0.004353, allocations: 16 kB / 322.6 MB, free: 2.961 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.767e-05/0.004371, allocations: 16 kB / 322.6 MB, free: 2.945 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 6.054e-05/0.004431, allocations: 67.8 kB / 322.7 MB, free: 2.879 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 4.858e-05/0.00448, allocations: 51.83 kB / 322.7 MB, free: 2.828 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001938/0.004674, allocations: 223.2 kB / 322.9 MB, free: 2.609 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.543e-06/0.004675, allocations: 0 / 322.9 MB, free: 2.609 MB / 282.7 MB Notification: Performance of FrontEnd: time 8.91e-07/0.004676, allocations: 0 / 322.9 MB, free: 2.609 MB / 282.7 MB Notification: Performance of Transformations before backend: time 3.627e-06/0.00468, allocations: 4 kB / 322.9 MB, free: 2.605 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.0005614/0.005241, allocations: 449.2 kB / 323.4 MB, free: 2.137 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.339e-05/0.005275, allocations: 8.031 kB / 323.4 MB, free: 2.129 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.411e-05/0.005319, allocations: 24.8 kB / 323.4 MB, free: 2.105 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001999/0.005519, allocations: 189.4 kB / 323.6 MB, free: 1.895 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.458e-05/0.005543, allocations: 20.31 kB / 323.6 MB, free: 1.875 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.993e-05/0.005563, allocations: 16.38 kB / 323.6 MB, free: 1.859 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006607/0.006224, allocations: 0.628 MB / 324.3 MB, free: 1.211 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.176e-05/0.006236, allocations: 4.188 kB / 324.3 MB, free: 1.207 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.458e-05/0.00625, allocations: 4.375 kB / 324.3 MB, free: 1.203 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.976e-05/0.00627, allocations: 11.94 kB / 324.3 MB, free: 1.191 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002223/0.006492, allocations: 191.7 kB / 324.5 MB, free: 1.004 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002654/0.006758, allocations: 266.2 kB / 324.7 MB, free: 0.707 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002603/0.007018, allocations: 227.6 kB / 324.9 MB, free: 468 kB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001495/0.007168, allocations: 142.6 kB / 325.1 MB, free: 316 kB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.565e-05/0.007193, allocations: 4 kB / 325.1 MB, free: 312 kB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.248e-05/0.007216, allocations: 46.44 kB / 325.1 MB, free: 256 kB / 282.7 MB Notification: Performance of pre-optimization done (n=39): time 1.333e-06/0.007217, allocations: 0 / 325.1 MB, free: 256 kB / 282.7 MB Notification: Performance of matching and sorting (n=39): time 0.0005028/0.00772, allocations: 418.4 kB / 325.5 MB, free: 15.83 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.021e-05/0.00779, allocations: 143.8 kB / 325.7 MB, free: 15.67 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.367e-05/0.007884, allocations: 166.3 kB / 325.8 MB, free: 15.5 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.613e-05/0.0079, allocations: 37.83 kB / 325.9 MB, free: 15.45 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.418e-05/0.007944, allocations: 101.1 kB / 326 MB, free: 15.35 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.616e-05/0.00797, allocations: 35.78 kB / 326 MB, free: 15.32 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.181e-05/0.008012, allocations: 45.89 kB / 326.1 MB, free: 15.26 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 6.959e-05/0.008082, allocations: 330.8 kB / 326.4 MB, free: 14.93 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.557e-05/0.008137, allocations: 52.38 kB / 326.4 MB, free: 14.88 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.394e-05/0.008221, allocations: 136.9 kB / 326.6 MB, free: 14.7 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001315/0.008353, allocations: 183.8 kB / 326.8 MB, free: 14.48 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/0.008355, allocations: 7.938 kB / 326.8 MB, free: 14.47 MB / 298.7 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0001919/0.008547, allocations: 221.2 kB / 327 MB, free: 14.25 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.152e-05/0.008558, allocations: 11.75 kB / 327 MB, free: 14.24 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.04e-06/0.008563, allocations: 4.438 kB / 327 MB, free: 14.24 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.243e-05/0.008576, allocations: 8 kB / 327 MB, free: 14.23 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.124e-05/0.008657, allocations: 35.92 kB / 327 MB, free: 14.2 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.52e-06/0.008663, allocations: 4 kB / 327 MB, free: 14.19 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.775e-05/0.00871, allocations: 23.88 kB / 327.1 MB, free: 14.17 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.049e-05/0.008721, allocations: 19.94 kB / 327.1 MB, free: 14.15 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.007e-05/0.008811, allocations: 149.8 kB / 327.2 MB, free: 13.99 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002834/0.009094, allocations: 306.3 kB / 327.5 MB, free: 13.69 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.126e-05/0.009136, allocations: 42.64 kB / 327.6 MB, free: 13.64 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.877e-06/0.00914, allocations: 7.984 kB / 327.6 MB, free: 13.64 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.657e-06/0.009143, allocations: 4 kB / 327.6 MB, free: 13.63 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.256e-06/0.009146, allocations: 0 / 327.6 MB, free: 13.63 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001115/0.009258, allocations: 149.2 kB / 327.7 MB, free: 13.46 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.352e-06/0.009259, allocations: 0 / 327.7 MB, free: 13.46 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001271/0.009386, allocations: 67.89 kB / 327.8 MB, free: 13.39 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.184e-06/0.009389, allocations: 0 / 327.8 MB, free: 13.39 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.378e-05/0.009402, allocations: 11.94 kB / 327.8 MB, free: 13.38 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.392e-06/0.009404, allocations: 0 / 327.8 MB, free: 13.38 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.009405, allocations: 4 kB / 327.8 MB, free: 13.38 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000334/0.009739, allocations: 440.7 kB / 328.2 MB, free: 12.92 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.741e-05/0.009807, allocations: 59.69 kB / 328.3 MB, free: 12.86 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.198e-05/0.009839, allocations: 19.94 kB / 328.3 MB, free: 12.84 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.6e-05/0.009905, allocations: 15.98 kB / 328.3 MB, free: 12.83 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.222e-05/0.009927, allocations: 0 / 328.3 MB, free: 12.83 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.315e-05/0.00994, allocations: 15.98 kB / 328.3 MB, free: 12.81 MB / 298.7 MB Notification: Performance of sorting global known variables: time 5.755e-05/0.009998, allocations: 131.5 kB / 328.5 MB, free: 12.68 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.009998, allocations: 0 / 328.5 MB, free: 12.68 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001849/0.01018, allocations: 40 kB / 328.5 MB, free: 12.64 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 7.576e-05/0.01026, allocations: 115.6 kB / 328.6 MB, free: 12.52 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0002387/0.0105, allocations: 203.7 kB / 328.8 MB, free: 12.32 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.322e-06/0.0105, allocations: 0 / 328.8 MB, free: 12.32 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 1.763e-05/0.01052, allocations: 8 kB / 328.8 MB, free: 12.31 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004007/0.01092, allocations: 200.7 kB / 329 MB, free: 12.12 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006991/0.01162, allocations: 0.5804 MB / 329.6 MB, free: 11.5 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.656e-05/0.01171, allocations: 165.9 kB / 329.8 MB, free: 11.31 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.341e-05/0.01176, allocations: 28.48 kB / 329.8 MB, free: 11.29 MB / 298.7 MB Notification: Performance of SimCode: time 4.11e-07/0.01176, allocations: 4 kB / 329.8 MB, free: 11.28 MB / 298.7 MB Notification: Performance of Templates: time 0.002672/0.01443, allocations: 2.775 MB / 332.6 MB, free: 8.527 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2.makefile [Timeout 660] (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) [Timeout 480] 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: 4.1981470780447125]