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.001501/0.001501, allocations: 112.2 kB / 21.19 MB, free: 0.7617 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.001708/0.001708, allocations: 209.9 kB / 24.49 MB, free: 4.145 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.394/1.394, allocations: 230.6 MB / 258.3 MB, free: 7.953 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.001608/0.001608, allocations: 47.92 kB / 379 MB, free: 2.578 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2327/0.2343, allocations: 53.36 MB / 432.4 MB, free: 6.859 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2): time 0.003393/0.2377, allocations: 1.796 MB / 434.2 MB, free: 5.062 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00141/0.2391, allocations: 0.6894 MB / 434.9 MB, free: 4.367 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001406/0.2392, allocations: 7.938 kB / 434.9 MB, free: 4.359 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000163/0.2394, allocations: 19.8 kB / 434.9 MB, free: 4.34 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002325/0.2396, allocations: 43.7 kB / 435 MB, free: 4.297 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004983/0.2401, allocations: 135 kB / 435.1 MB, free: 4.168 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002811/0.2404, allocations: 167.5 kB / 435.3 MB, free: 4.004 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001131/0.2405, allocations: 21.73 kB / 435.3 MB, free: 3.98 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002033/0.2407, allocations: 79.75 kB / 435.4 MB, free: 3.902 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002265/0.241, allocations: 115.6 kB / 435.5 MB, free: 3.789 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.648e-05/0.241, allocations: 16 kB / 435.5 MB, free: 3.773 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.886e-05/0.2411, allocations: 16 kB / 435.5 MB, free: 3.758 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 9.272e-05/0.2411, allocations: 67.8 kB / 435.6 MB, free: 3.691 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001101/0.2413, allocations: 91.41 kB / 435.7 MB, free: 3.602 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003399/0.2416, allocations: 216.3 kB / 435.9 MB, free: 3.395 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.57e-06/0.2416, allocations: 0 / 435.9 MB, free: 3.395 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.283e-06/0.2416, allocations: 3.938 kB / 435.9 MB, free: 3.391 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.185e-06/0.2416, allocations: 4 kB / 435.9 MB, free: 3.387 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.0008808/0.2425, allocations: 441.3 kB / 436.3 MB, free: 2.926 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.434e-05/0.2425, allocations: 12.03 kB / 436.3 MB, free: 2.914 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000175/0.2427, allocations: 32.75 kB / 436.3 MB, free: 2.883 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003359/0.243, allocations: 206 kB / 436.5 MB, free: 2.656 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.746e-05/0.2431, allocations: 20.36 kB / 436.6 MB, free: 2.637 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.61e-05/0.2431, allocations: 16.38 kB / 436.6 MB, free: 2.621 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001112/0.2442, allocations: 0.6303 MB / 437.2 MB, free: 1.969 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.134e-05/0.2442, allocations: 4 kB / 437.2 MB, free: 1.965 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.016e-05/0.2443, allocations: 4 kB / 437.2 MB, free: 1.961 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.726e-05/0.2443, allocations: 11.98 kB / 437.2 MB, free: 1.949 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004022/0.2447, allocations: 192.5 kB / 437.4 MB, free: 1.762 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004793/0.2452, allocations: 341.4 kB / 437.8 MB, free: 1.379 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004385/0.2456, allocations: 219.6 kB / 438 MB, free: 1.137 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002702/0.2459, allocations: 150.5 kB / 438.1 MB, free: 0.9805 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.315e-05/0.2459, allocations: 8 kB / 438.1 MB, free: 0.9727 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.422e-05/0.2459, allocations: 38.56 kB / 438.2 MB, free: 0.9258 MB / 334.1 MB Notification: Performance of pre-optimization done (n=39): time 1.503e-06/0.2459, allocations: 0 / 438.2 MB, free: 0.9258 MB / 334.1 MB Notification: Performance of matching and sorting (n=39): time 0.0008641/0.2468, allocations: 429.9 kB / 438.6 MB, free: 0.5 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001148/0.2469, allocations: 142.6 kB / 438.7 MB, free: 344 kB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000175/0.2471, allocations: 175.1 kB / 438.9 MB, free: 160 kB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.031e-05/0.2471, allocations: 33.7 kB / 438.9 MB, free: 120 kB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.252e-05/0.2472, allocations: 101.1 kB / 439 MB, free: 16 kB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.183e-05/0.2473, allocations: 51.67 kB / 439.1 MB, free: 15.96 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.238e-05/0.2474, allocations: 70.12 kB / 439.1 MB, free: 15.89 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001635/0.2475, allocations: 334.8 kB / 439.5 MB, free: 15.55 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001366/0.2477, allocations: 72.81 kB / 439.5 MB, free: 15.48 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003301/0.248, allocations: 322.7 kB / 439.9 MB, free: 15.05 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004934/0.2485, allocations: 416.9 kB / 440.3 MB, free: 14.52 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.424e-06/0.2485, allocations: 4 kB / 440.3 MB, free: 14.52 MB / 350.1 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0006363/0.2491, allocations: 405 kB / 440.7 MB, free: 14.12 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.968e-05/0.2492, allocations: 8 kB / 440.7 MB, free: 14.11 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.432e-05/0.2492, allocations: 12 kB / 440.7 MB, free: 14.1 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.448e-05/0.2492, allocations: 12.81 kB / 440.7 MB, free: 14.09 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002634/0.2495, allocations: 87.77 kB / 440.8 MB, free: 14 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.116e-05/0.2495, allocations: 19.94 kB / 440.8 MB, free: 13.98 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001668/0.2497, allocations: 31.84 kB / 440.8 MB, free: 13.95 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.21e-05/0.2497, allocations: 27.97 kB / 440.9 MB, free: 13.92 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.000191/0.2499, allocations: 182.4 kB / 441 MB, free: 13.73 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005156/0.2504, allocations: 294.4 kB / 441.3 MB, free: 13.44 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.633e-05/0.2505, allocations: 34.66 kB / 441.4 MB, free: 13.4 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.825e-06/0.2505, allocations: 11.92 kB / 441.4 MB, free: 13.39 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.801e-06/0.2505, allocations: 7.938 kB / 441.4 MB, free: 13.38 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.029e-06/0.2505, allocations: 0 / 441.4 MB, free: 13.38 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002733/0.2508, allocations: 224.4 kB / 441.6 MB, free: 13.12 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.911e-06/0.2508, allocations: 4 kB / 441.6 MB, free: 13.12 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002717/0.251, allocations: 59.91 kB / 441.7 MB, free: 13.06 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.006e-06/0.2511, allocations: 4 kB / 441.7 MB, free: 13.05 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.528e-05/0.2511, allocations: 11.98 kB / 441.7 MB, free: 13.04 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.996e-06/0.2511, allocations: 3.938 kB / 441.7 MB, free: 13.04 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.917e-06/0.2511, allocations: 4 kB / 441.7 MB, free: 13.04 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006531/0.2517, allocations: 443.8 kB / 442.1 MB, free: 12.58 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001188/0.2519, allocations: 51.77 kB / 442.2 MB, free: 12.53 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.514e-05/0.2519, allocations: 19.98 kB / 442.2 MB, free: 12.51 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001362/0.2521, allocations: 8 kB / 442.2 MB, free: 12.5 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.349e-05/0.2521, allocations: 11.92 kB / 442.2 MB, free: 12.49 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.276e-05/0.2521, allocations: 12 kB / 442.2 MB, free: 12.48 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001173/0.2522, allocations: 131.2 kB / 442.3 MB, free: 12.35 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2522, allocations: 4 kB / 442.3 MB, free: 12.35 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003848/0.2526, allocations: 44 kB / 442.4 MB, free: 12.3 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.0001501/0.2528, allocations: 117 kB / 442.5 MB, free: 12.18 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0005599/0.2533, allocations: 288.2 kB / 442.8 MB, free: 11.9 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.2533, allocations: 0 / 442.8 MB, free: 11.9 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 3.899e-05/0.2534, allocations: 13.67 kB / 442.8 MB, free: 11.89 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006883/0.254, allocations: 207.9 kB / 443 MB, free: 11.68 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001372/0.2554, allocations: 0.571 MB / 443.6 MB, free: 11.07 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004487/0.2559, allocations: 0.7837 MB / 444.4 MB, free: 10.26 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.653e-05/0.2559, allocations: 27.42 kB / 444.4 MB, free: 10.23 MB / 350.1 MB Notification: Performance of SimCode: time 6.41e-07/0.2559, allocations: 0 / 444.4 MB, free: 10.23 MB / 350.1 MB Notification: Performance of Templates: time 0.005867/0.2618, allocations: 2.997 MB / 447.4 MB, free: 7.262 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: 6.890280453022569]