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.001777/0.001777, allocations: 103.6 kB / 21.18 MB, free: 0.6445 MB / 14.72 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.002209/0.002209, allocations: 210 kB / 24.48 MB, free: 3.938 MB / 14.72 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 1.551/1.551, allocations: 230.6 MB / 258.2 MB, free: 7.793 MB / 206.1 MB " [Timeout remaining time 178] 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 0.001605/0.001605, allocations: 43.92 kB / 379 MB, free: 2.473 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2376/0.2392, allocations: 53.37 MB / 432.3 MB, free: 6.723 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2): time 0.003193/0.2424, allocations: 1.753 MB / 434.1 MB, free: 4.965 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001413/0.2438, allocations: 0.6349 MB / 434.7 MB, free: 4.324 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001244/0.2439, allocations: 11.88 kB / 434.7 MB, free: 4.312 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001675/0.2441, allocations: 19.78 kB / 434.8 MB, free: 4.293 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002276/0.2443, allocations: 47.72 kB / 434.8 MB, free: 4.246 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004665/0.2448, allocations: 135.7 kB / 434.9 MB, free: 4.113 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002458/0.2451, allocations: 159.6 kB / 435.1 MB, free: 3.957 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001187/0.2452, allocations: 25.39 kB / 435.1 MB, free: 3.934 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001822/0.2454, allocations: 79.73 kB / 435.2 MB, free: 3.855 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002197/0.2456, allocations: 107.6 kB / 435.3 MB, free: 3.75 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.508e-05/0.2456, allocations: 12 kB / 435.3 MB, free: 3.738 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.169e-05/0.2457, allocations: 27.98 kB / 435.3 MB, free: 3.711 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 9.308e-05/0.2458, allocations: 67.77 kB / 435.4 MB, free: 3.645 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 8.335e-05/0.2459, allocations: 67.58 kB / 435.5 MB, free: 3.578 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002955/0.2461, allocations: 218.1 kB / 435.7 MB, free: 3.367 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.776e-06/0.2461, allocations: 0 / 435.7 MB, free: 3.367 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.833e-06/0.2462, allocations: 0 / 435.7 MB, free: 3.367 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.189e-06/0.2462, allocations: 0 / 435.7 MB, free: 3.367 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.000898/0.2471, allocations: 453.2 kB / 436.1 MB, free: 2.895 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.501e-05/0.2471, allocations: 8.031 kB / 436.1 MB, free: 2.887 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001756/0.2473, allocations: 40.73 kB / 436.2 MB, free: 2.848 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003283/0.2476, allocations: 190 kB / 436.4 MB, free: 2.637 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.973e-05/0.2476, allocations: 16.38 kB / 436.4 MB, free: 2.621 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.569e-05/0.2477, allocations: 16.38 kB / 436.4 MB, free: 2.605 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001123/0.2488, allocations: 0.6381 MB / 437 MB, free: 1.945 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.243e-05/0.2488, allocations: 0 / 437 MB, free: 1.945 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.085e-05/0.2488, allocations: 8 kB / 437 MB, free: 1.938 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.672e-05/0.2489, allocations: 8 kB / 437 MB, free: 1.93 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003967/0.2493, allocations: 192.5 kB / 437.2 MB, free: 1.742 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004252/0.2497, allocations: 274.1 kB / 437.5 MB, free: 1.438 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004557/0.2501, allocations: 227.5 kB / 437.7 MB, free: 1.188 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002668/0.2504, allocations: 150.5 kB / 437.9 MB, free: 1.031 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.385e-05/0.2504, allocations: 7.984 kB / 437.9 MB, free: 1.023 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.184e-05/0.2505, allocations: 38.56 kB / 437.9 MB, free: 0.9766 MB / 334.1 MB Notification: Performance of pre-optimization done (n=39): time 1.543e-06/0.2505, allocations: 0 / 437.9 MB, free: 0.9766 MB / 334.1 MB Notification: Performance of matching and sorting (n=39): time 0.0009018/0.2514, allocations: 421.9 kB / 438.3 MB, free: 0.5586 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001299/0.2515, allocations: 138.7 kB / 438.5 MB, free: 408 kB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001945/0.2517, allocations: 175.1 kB / 438.6 MB, free: 224 kB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.286e-05/0.2517, allocations: 33.7 kB / 438.7 MB, free: 184 kB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.607e-05/0.2518, allocations: 101.1 kB / 438.8 MB, free: 80 kB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.573e-05/0.2519, allocations: 55.67 kB / 438.8 MB, free: 24 kB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001058/0.252, allocations: 66.14 kB / 438.9 MB, free: 15.95 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001636/0.2521, allocations: 334.8 kB / 439.2 MB, free: 15.62 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001366/0.2523, allocations: 80.81 kB / 439.3 MB, free: 15.54 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003314/0.2526, allocations: 326.7 kB / 439.6 MB, free: 15.1 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004842/0.2531, allocations: 409 kB / 440 MB, free: 14.58 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.797e-06/0.2531, allocations: 0 / 440 MB, free: 14.58 MB / 350.1 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0006209/0.2537, allocations: 412.8 kB / 440.4 MB, free: 14.17 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.886e-05/0.2537, allocations: 8 kB / 440.4 MB, free: 14.16 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.45e-05/0.2538, allocations: 8.906 kB / 440.4 MB, free: 14.16 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.383e-05/0.2538, allocations: 12 kB / 440.4 MB, free: 14.14 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002572/0.254, allocations: 95.77 kB / 440.5 MB, free: 14.05 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.652e-05/0.2541, allocations: 11.94 kB / 440.5 MB, free: 14.04 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001741/0.2542, allocations: 35.84 kB / 440.6 MB, free: 14 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.915e-05/0.2543, allocations: 24 kB / 440.6 MB, free: 13.98 MB / 350.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.000209/0.2545, allocations: 182.3 kB / 440.8 MB, free: 13.79 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005368/0.255, allocations: 298.4 kB / 441.1 MB, free: 13.5 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.01e-05/0.2551, allocations: 34.66 kB / 441.1 MB, free: 13.46 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.402e-06/0.2551, allocations: 7.938 kB / 441.1 MB, free: 13.45 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.799e-06/0.2551, allocations: 4 kB / 441.1 MB, free: 13.45 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.372e-06/0.2551, allocations: 7.984 kB / 441.1 MB, free: 13.44 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002139/0.2553, allocations: 149.1 kB / 441.3 MB, free: 13.26 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.757e-06/0.2553, allocations: 3.938 kB / 441.3 MB, free: 13.26 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002652/0.2556, allocations: 63.91 kB / 441.3 MB, free: 13.2 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.955e-06/0.2556, allocations: 7.984 kB / 441.4 MB, free: 13.19 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.064e-05/0.2556, allocations: 4 kB / 441.4 MB, free: 13.18 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.675e-06/0.2556, allocations: 4 kB / 441.4 MB, free: 13.18 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/0.2556, allocations: 0 / 441.4 MB, free: 13.18 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006434/0.2563, allocations: 439.8 kB / 441.8 MB, free: 12.73 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001364/0.2564, allocations: 67.69 kB / 441.9 MB, free: 12.66 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.748e-05/0.2565, allocations: 16 kB / 441.9 MB, free: 12.65 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001414/0.2566, allocations: 19.92 kB / 441.9 MB, free: 12.63 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.332e-05/0.2566, allocations: 4 kB / 441.9 MB, free: 12.62 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.385e-05/0.2567, allocations: 15.98 kB / 441.9 MB, free: 12.61 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001095/0.2568, allocations: 127.2 kB / 442 MB, free: 12.48 MB / 350.1 MB Notification: Performance of sort global known variables: time 6e-08/0.2568, allocations: 0 / 442 MB, free: 12.48 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003883/0.2572, allocations: 44 kB / 442.1 MB, free: 12.44 MB / 350.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.0001463/0.2573, allocations: 127.2 kB / 442.2 MB, free: 12.3 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0005167/0.2578, allocations: 277.8 kB / 442.5 MB, free: 12.04 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.2578, allocations: 4 kB / 442.5 MB, free: 12.03 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 3.635e-05/0.2579, allocations: 8.062 kB / 442.5 MB, free: 12.02 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007022/0.2586, allocations: 221.5 kB / 442.7 MB, free: 11.81 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001299/0.2599, allocations: 0.5709 MB / 443.3 MB, free: 11.2 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001801/0.26, allocations: 166.6 kB / 443.4 MB, free: 11.02 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.065e-05/0.2601, allocations: 31.48 kB / 443.5 MB, free: 10.99 MB / 350.1 MB Notification: Performance of SimCode: time 2.8e-07/0.2601, allocations: 0 / 443.5 MB, free: 10.99 MB / 350.1 MB Notification: Performance of Templates: time 0.005362/0.2655, allocations: 3.052 MB / 446.5 MB, free: 7.965 MB / 350.1 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/UpSample2/UpSample2.csv","/var/lib/jenkins1/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: 7.289982522837818]