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.0008159/0.0008159, allocations: 87.62 kB / 21.44 MB, free: 3.129 MB / 18.57 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.003168/0.003168, allocations: 160.3 kB / 24.7 MB, free: 9.426 MB / 18.57 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 0.8295/0.8295, allocations: 177.1 MB / 205 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] 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: 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.1.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.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.734e-06/1.734e-06, allocations: 0 / 325.8 MB, free: 15.44 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.057e-05/2.23e-05, allocations: 6.219 kB / 325.8 MB, free: 15.43 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2): time 0.001997/0.002019, allocations: 1.754 MB / 327.6 MB, free: 13.66 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008959/0.002915, allocations: 0.6503 MB / 328.3 MB, free: 13.01 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.871e-05/0.003014, allocations: 11.88 kB / 328.3 MB, free: 13 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001717/0.003186, allocations: 19.8 kB / 328.3 MB, free: 12.98 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002146/0.0034, allocations: 39.66 kB / 328.3 MB, free: 12.94 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003743/0.003775, allocations: 151.4 kB / 328.5 MB, free: 12.79 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001902/0.003965, allocations: 147.6 kB / 328.6 MB, free: 12.64 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001372/0.004102, allocations: 21.8 kB / 328.6 MB, free: 12.62 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001893/0.004291, allocations: 99.7 kB / 328.7 MB, free: 12.52 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001899/0.004481, allocations: 83.83 kB / 328.8 MB, free: 12.44 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.5e-05/0.004506, allocations: 16 kB / 328.8 MB, free: 12.43 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.435e-05/0.00455, allocations: 19.98 kB / 328.8 MB, free: 12.41 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 6.689e-05/0.004617, allocations: 63.8 kB / 328.9 MB, free: 12.34 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 5.151e-05/0.004669, allocations: 55.77 kB / 329 MB, free: 12.29 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002239/0.004893, allocations: 231.2 kB / 329.2 MB, free: 12.06 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.215e-06/0.004895, allocations: 4 kB / 329.2 MB, free: 12.06 MB / 298.7 MB Notification: Performance of FrontEnd: time 8.51e-07/0.004896, allocations: 0 / 329.2 MB, free: 12.06 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.599e-06/0.0049, allocations: 0 / 329.2 MB, free: 12.06 MB / 298.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.0005694/0.00547, allocations: 441.3 kB / 329.6 MB, free: 11.6 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.498e-05/0.005505, allocations: 8.031 kB / 329.6 MB, free: 11.59 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000115/0.00562, allocations: 44.73 kB / 329.7 MB, free: 11.55 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002161/0.005836, allocations: 185.3 kB / 329.9 MB, free: 11.34 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.908e-05/0.005865, allocations: 24.36 kB / 329.9 MB, free: 11.32 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.923e-05/0.005884, allocations: 16.31 kB / 329.9 MB, free: 11.3 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006981/0.006582, allocations: 0.6321 MB / 330.5 MB, free: 10.65 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.027e-05/0.006593, allocations: 4.172 kB / 330.5 MB, free: 10.64 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.613e-05/0.006609, allocations: 8.375 kB / 330.5 MB, free: 10.64 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.24e-05/0.006631, allocations: 15.92 kB / 330.6 MB, free: 10.62 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002296/0.006861, allocations: 183.8 kB / 330.7 MB, free: 10.44 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002845/0.007145, allocations: 270.1 kB / 331 MB, free: 10.14 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004637/0.007609, allocations: 231.6 kB / 331.2 MB, free: 9.887 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001472/0.007756, allocations: 146.6 kB / 331.4 MB, free: 9.734 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.462e-05/0.007781, allocations: 4 kB / 331.4 MB, free: 9.73 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.192e-05/0.007803, allocations: 50.44 kB / 331.4 MB, free: 9.672 MB / 298.7 MB Notification: Performance of pre-optimization done (n=39): time 1.282e-06/0.007804, allocations: 0 / 331.4 MB, free: 9.672 MB / 298.7 MB Notification: Performance of matching and sorting (n=39): time 0.0005101/0.008314, allocations: 417.8 kB / 331.8 MB, free: 9.258 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.733e-05/0.008391, allocations: 134.8 kB / 332 MB, free: 9.102 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001029/0.008494, allocations: 175 kB / 332.1 MB, free: 8.922 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.756e-05/0.008512, allocations: 33.7 kB / 332.2 MB, free: 8.883 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.873e-05/0.008561, allocations: 97.14 kB / 332.3 MB, free: 8.785 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.431e-05/0.008595, allocations: 43.66 kB / 332.3 MB, free: 8.742 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.453e-05/0.008639, allocations: 45.94 kB / 332.4 MB, free: 8.688 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.757e-05/0.008717, allocations: 327 kB / 332.7 MB, free: 8.359 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.756e-05/0.008775, allocations: 52.38 kB / 332.7 MB, free: 8.309 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.75e-05/0.008862, allocations: 136.9 kB / 332.9 MB, free: 8.133 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001404/0.009002, allocations: 187.8 kB / 333 MB, free: 7.906 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/0.009005, allocations: 0 / 333 MB, free: 7.906 MB / 298.7 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0002015/0.009206, allocations: 233.2 kB / 333.3 MB, free: 7.672 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.238e-05/0.009219, allocations: 7.938 kB / 333.3 MB, free: 7.664 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.374e-06/0.009226, allocations: 4 kB / 333.3 MB, free: 7.66 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.403e-05/0.00924, allocations: 4 kB / 333.3 MB, free: 7.656 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.92e-05/0.009329, allocations: 43.91 kB / 333.3 MB, free: 7.613 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.523e-06/0.009336, allocations: 4 kB / 333.3 MB, free: 7.609 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.462e-05/0.009381, allocations: 12.44 kB / 333.3 MB, free: 7.598 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.866e-06/0.009389, allocations: 12 kB / 333.4 MB, free: 7.586 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.847e-05/0.009488, allocations: 158.6 kB / 333.5 MB, free: 7.422 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002832/0.009771, allocations: 302.5 kB / 333.8 MB, free: 7.121 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.348e-05/0.009815, allocations: 38.64 kB / 333.8 MB, free: 7.078 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.835e-06/0.009817, allocations: 4 kB / 333.8 MB, free: 7.074 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.009822, allocations: 0 / 333.8 MB, free: 7.074 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.96e-06/0.009827, allocations: 7.984 kB / 333.9 MB, free: 7.066 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001142/0.009941, allocations: 149.1 kB / 334 MB, free: 6.891 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.009942, allocations: 0 / 334 MB, free: 6.891 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000126/0.01007, allocations: 67.91 kB / 334.1 MB, free: 6.824 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.693e-06/0.01007, allocations: 0 / 334.1 MB, free: 6.824 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.378e-05/0.01008, allocations: 15.92 kB / 334.1 MB, free: 6.809 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.284e-06/0.01009, allocations: 4 kB / 334.1 MB, free: 6.805 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.01009, allocations: 0 / 334.1 MB, free: 6.805 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003472/0.01043, allocations: 453 kB / 334.5 MB, free: 6.34 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.694e-05/0.0105, allocations: 55.75 kB / 334.6 MB, free: 6.285 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.235e-05/0.01053, allocations: 23.92 kB / 334.6 MB, free: 6.262 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.325e-05/0.0106, allocations: 15.92 kB / 334.6 MB, free: 6.246 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.553e-05/0.01062, allocations: 4 kB / 334.6 MB, free: 6.242 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.272e-05/0.01063, allocations: 19.94 kB / 334.6 MB, free: 6.223 MB / 298.7 MB Notification: Performance of sorting global known variables: time 5.868e-05/0.01069, allocations: 127.2 kB / 334.8 MB, free: 6.098 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01069, allocations: 0 / 334.8 MB, free: 6.098 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001896/0.01088, allocations: 40 kB / 334.8 MB, free: 6.059 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 8.547e-05/0.01097, allocations: 118.2 kB / 334.9 MB, free: 5.938 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0002454/0.01121, allocations: 208.3 kB / 335.1 MB, free: 5.734 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.893e-06/0.01122, allocations: 4 kB / 335.1 MB, free: 5.73 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 1.804e-05/0.01123, allocations: 7.984 kB / 335.1 MB, free: 5.723 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004209/0.01165, allocations: 195.8 kB / 335.3 MB, free: 5.531 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00074/0.01239, allocations: 0.5761 MB / 335.9 MB, free: 4.922 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001131/0.01251, allocations: 174.2 kB / 336.1 MB, free: 4.73 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.903e-05/0.01256, allocations: 20.5 kB / 336.1 MB, free: 4.711 MB / 298.7 MB Notification: Performance of SimCode: time 6.81e-07/0.01256, allocations: 4 kB / 336.1 MB, free: 4.707 MB / 298.7 MB Notification: Performance of Templates: time 0.003031/0.01559, allocations: 2.792 MB / 338.9 MB, free: 1.934 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2.makefile [Timeout 660] (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 & ./Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/UpSample2/UpSample2.csv","/var/lib/jenkins/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: 4.531722252257168]