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.00157/0.00157, allocations: 96.03 kB / 21.18 MB, free: 0.5312 MB / 14.72 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.002077/0.002077, allocations: 185 kB / 24.45 MB, free: 3.867 MB / 14.72 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 1.602/1.602, allocations: 225.7 MB / 253.3 MB, free: 12.86 MB / 206.1 MB " [Timeout remaining time 178] 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 0.001636/0.001636, allocations: 47.92 kB / 371.6 MB, free: 9.195 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2638/0.2654, allocations: 52.17 MB / 423.8 MB, free: 14.5 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2): time 0.003198/0.2686, allocations: 1.752 MB / 425.6 MB, free: 12.74 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001276/0.2699, allocations: 0.5689 MB / 426.1 MB, free: 12.17 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001186/0.27, allocations: 11.88 kB / 426.2 MB, free: 12.16 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001776/0.2702, allocations: 23.78 kB / 426.2 MB, free: 12.13 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002335/0.2704, allocations: 35.72 kB / 426.2 MB, free: 12.1 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000442/0.2709, allocations: 123.7 kB / 426.3 MB, free: 11.98 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002778/0.2711, allocations: 159.6 kB / 426.5 MB, free: 11.82 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000126/0.2713, allocations: 21.39 kB / 426.5 MB, free: 11.8 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001429/0.2714, allocations: 75.75 kB / 426.6 MB, free: 11.73 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002238/0.2716, allocations: 107.6 kB / 426.7 MB, free: 11.62 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.384e-05/0.2717, allocations: 12 kB / 426.7 MB, free: 11.61 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.875e-05/0.2717, allocations: 19.94 kB / 426.7 MB, free: 11.59 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001004/0.2718, allocations: 67.81 kB / 426.8 MB, free: 11.52 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 8.972e-05/0.2719, allocations: 67.53 kB / 426.9 MB, free: 11.46 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002976/0.2722, allocations: 214.1 kB / 427.1 MB, free: 11.25 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.988e-06/0.2722, allocations: 4 kB / 427.1 MB, free: 11.25 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.2722, allocations: 0 / 427.1 MB, free: 11.25 MB / 334.1 MB Notification: Performance of Transformations before backend: time 9.648e-06/0.2722, allocations: 0 / 427.1 MB, free: 11.25 MB / 334.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.0009449/0.2731, allocations: 453.2 kB / 427.5 MB, free: 10.77 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.677e-05/0.2732, allocations: 8.031 kB / 427.5 MB, free: 10.77 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.289e-05/0.2733, allocations: 24.8 kB / 427.5 MB, free: 10.74 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003162/0.2736, allocations: 186.1 kB / 427.7 MB, free: 10.54 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.53e-05/0.2736, allocations: 24.38 kB / 427.7 MB, free: 10.51 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.427e-05/0.2737, allocations: 16.36 kB / 427.8 MB, free: 10.5 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001264/0.2749, allocations: 0.6304 MB / 428.4 MB, free: 9.84 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.261e-05/0.2749, allocations: 0 / 428.4 MB, free: 9.84 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.324e-05/0.275, allocations: 8 kB / 428.4 MB, free: 9.832 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.073e-05/0.275, allocations: 8 kB / 428.4 MB, free: 9.824 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004095/0.2754, allocations: 191.8 kB / 428.6 MB, free: 9.637 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004458/0.2758, allocations: 262.2 kB / 428.8 MB, free: 9.344 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004915/0.2763, allocations: 231.6 kB / 429.1 MB, free: 9.09 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002794/0.2766, allocations: 146.7 kB / 429.2 MB, free: 8.938 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.778e-05/0.2767, allocations: 24.34 kB / 429.2 MB, free: 8.914 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.05e-05/0.2767, allocations: 34.56 kB / 429.3 MB, free: 8.871 MB / 334.1 MB Notification: Performance of pre-optimization done (n=39): time 1.693e-06/0.2767, allocations: 0 / 429.3 MB, free: 8.871 MB / 334.1 MB Notification: Performance of matching and sorting (n=39): time 0.0009145/0.2776, allocations: 422.3 kB / 429.7 MB, free: 8.453 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001397/0.2777, allocations: 146.7 kB / 429.8 MB, free: 8.285 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000182/0.2779, allocations: 170.5 kB / 430 MB, free: 8.109 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.419e-05/0.278, allocations: 33.7 kB / 430 MB, free: 8.07 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.106e-05/0.278, allocations: 105.1 kB / 430.1 MB, free: 7.965 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.188e-05/0.2781, allocations: 39.78 kB / 430.2 MB, free: 7.926 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001774/0.2783, allocations: 74.08 kB / 430.2 MB, free: 7.848 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001946/0.2785, allocations: 338.8 kB / 430.6 MB, free: 7.508 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001382/0.2786, allocations: 68.83 kB / 430.6 MB, free: 7.441 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003556/0.2789, allocations: 326.8 kB / 431 MB, free: 7 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005163/0.2795, allocations: 413 kB / 431.4 MB, free: 6.477 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.624e-06/0.2795, allocations: 4 kB / 431.4 MB, free: 6.473 MB / 334.1 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0006306/0.2801, allocations: 409.7 kB / 431.8 MB, free: 6.066 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.207e-05/0.2801, allocations: 12.03 kB / 431.8 MB, free: 6.055 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.165e-05/0.2801, allocations: 8 kB / 431.8 MB, free: 6.047 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.852e-05/0.2802, allocations: 12 kB / 431.8 MB, free: 6.035 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002516/0.2804, allocations: 83.84 kB / 431.9 MB, free: 5.953 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.153e-05/0.2804, allocations: 19.92 kB / 431.9 MB, free: 5.934 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001666/0.2806, allocations: 35.81 kB / 431.9 MB, free: 5.898 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.786e-05/0.2806, allocations: 20 kB / 432 MB, free: 5.879 MB / 334.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.0002587/0.2809, allocations: 190.3 kB / 432.1 MB, free: 5.684 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005348/0.2814, allocations: 293.4 kB / 432.4 MB, free: 5.391 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.069e-05/0.2815, allocations: 34.64 kB / 432.5 MB, free: 5.355 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.107e-06/0.2815, allocations: 8 kB / 432.5 MB, free: 5.348 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.582e-06/0.2815, allocations: 0 / 432.5 MB, free: 5.348 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.923e-06/0.2815, allocations: 3.984 kB / 432.5 MB, free: 5.344 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002089/0.2817, allocations: 153.1 kB / 432.6 MB, free: 5.164 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.246e-05/0.2818, allocations: 11.88 kB / 432.6 MB, free: 5.152 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002572/0.282, allocations: 59.84 kB / 432.7 MB, free: 5.094 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.841e-06/0.282, allocations: 4 kB / 432.7 MB, free: 5.09 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.674e-05/0.2821, allocations: 15.98 kB / 432.7 MB, free: 5.074 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.585e-06/0.2821, allocations: 0 / 432.7 MB, free: 5.074 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.44e-06/0.2821, allocations: 8 kB / 432.7 MB, free: 5.066 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006483/0.2827, allocations: 433.1 kB / 433.1 MB, free: 4.625 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001347/0.2828, allocations: 55.7 kB / 433.2 MB, free: 4.57 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.497e-05/0.2829, allocations: 19.98 kB / 433.2 MB, free: 4.551 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000142/0.283, allocations: 15.98 kB / 433.2 MB, free: 4.535 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.437e-05/0.2831, allocations: 0 / 433.2 MB, free: 4.535 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.487e-05/0.2831, allocations: 16 kB / 433.2 MB, free: 4.52 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001257/0.2832, allocations: 135.2 kB / 433.4 MB, free: 4.387 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.2832, allocations: 3.938 kB / 433.4 MB, free: 4.383 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003948/0.2836, allocations: 48 kB / 433.4 MB, free: 4.336 MB / 334.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.0001553/0.2838, allocations: 119.7 kB / 433.5 MB, free: 4.211 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0005523/0.2843, allocations: 285.5 kB / 433.8 MB, free: 3.934 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.2843, allocations: 4 kB / 433.8 MB, free: 3.93 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 3.831e-05/0.2844, allocations: 7.984 kB / 433.8 MB, free: 3.922 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007097/0.2851, allocations: 209.2 kB / 434 MB, free: 3.723 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001563/0.2866, allocations: 0.573 MB / 434.6 MB, free: 3.109 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002204/0.2869, allocations: 174.4 kB / 434.8 MB, free: 2.922 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.78e-05/0.287, allocations: 31.42 kB / 434.8 MB, free: 2.891 MB / 334.1 MB Notification: Performance of SimCode: time 4.91e-07/0.287, allocations: 0 / 434.8 MB, free: 2.891 MB / 334.1 MB Notification: Performance of Templates: time 0.007135/0.2941, allocations: 3.026 MB / 437.8 MB, free: 15.89 MB / 350.1 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/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) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 7.31129575194791]