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.001011/0.001011, allocations: 81.86 kB / 21.42 MB, free: 3.078 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.001264/0.001264, allocations: 169.1 kB / 24.82 MB, free: 8.867 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 1.015/1.015, allocations: 177.1 MB / 205.3 MB, free: 5.477 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.182e-06/1.182e-06, allocations: 0 / 273.4 MB, free: 1.258 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.145e-05/1.263e-05, allocations: 2.312 kB / 273.4 MB, free: 1.254 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2): time 0.001929/0.001942, allocations: 1.793 MB / 275.2 MB, free: 15.45 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008172/0.002759, allocations: 0.6698 MB / 275.9 MB, free: 14.78 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.019e-05/0.002829, allocations: 3.938 kB / 275.9 MB, free: 14.77 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 9.589e-05/0.002925, allocations: 19.8 kB / 275.9 MB, free: 14.75 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001246/0.00305, allocations: 43.59 kB / 275.9 MB, free: 14.71 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002946/0.003345, allocations: 135.6 kB / 276.1 MB, free: 14.58 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001404/0.003485, allocations: 147.6 kB / 276.2 MB, free: 14.43 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.931e-05/0.003554, allocations: 17.8 kB / 276.2 MB, free: 14.41 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001427/0.003697, allocations: 103.7 kB / 276.3 MB, free: 14.31 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001355/0.003832, allocations: 95.8 kB / 276.4 MB, free: 14.22 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.362e-05/0.003856, allocations: 15.94 kB / 276.4 MB, free: 14.2 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.566e-05/0.003892, allocations: 19.94 kB / 276.5 MB, free: 14.18 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 5.823e-05/0.00395, allocations: 67.81 kB / 276.5 MB, free: 14.12 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 4.074e-05/0.003991, allocations: 51.83 kB / 276.6 MB, free: 14.07 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001608/0.004151, allocations: 171.3 kB / 276.7 MB, free: 13.9 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.483e-06/0.004153, allocations: 0 / 276.7 MB, free: 13.9 MB / 266.7 MB Notification: Performance of FrontEnd: time 4.2e-07/0.004153, allocations: 0 / 276.7 MB, free: 13.9 MB / 266.7 MB Notification: Performance of Transformations before backend: time 2.945e-06/0.004156, allocations: 0 / 276.7 MB, free: 13.9 MB / 266.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.0006136/0.00477, allocations: 0.5308 MB / 277.3 MB, free: 13.33 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.999e-05/0.0048, allocations: 12.03 kB / 277.3 MB, free: 13.32 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001028/0.004903, allocations: 44.75 kB / 277.3 MB, free: 13.28 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000166/0.005069, allocations: 204.1 kB / 277.5 MB, free: 13.05 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.905e-05/0.005088, allocations: 16.38 kB / 277.5 MB, free: 13.04 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.875e-05/0.005106, allocations: 20.38 kB / 277.6 MB, free: 13.02 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004273/0.005534, allocations: 445.9 kB / 278 MB, free: 12.55 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.134e-06/0.005541, allocations: 192 / 278 MB, free: 12.55 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.153e-05/0.005552, allocations: 8.375 kB / 278 MB, free: 12.55 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.414e-05/0.005577, allocations: 19.92 kB / 278 MB, free: 12.53 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.054e-05/0.005667, allocations: 75.84 kB / 278.1 MB, free: 12.45 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002187/0.005886, allocations: 307.6 kB / 278.4 MB, free: 12.12 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001595/0.006045, allocations: 165 kB / 278.6 MB, free: 11.92 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.958e-05/0.006125, allocations: 91.81 kB / 278.7 MB, free: 11.82 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.096e-05/0.006146, allocations: 8 kB / 278.7 MB, free: 11.81 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.069e-05/0.006166, allocations: 45.33 kB / 278.7 MB, free: 11.75 MB / 266.7 MB Notification: Performance of pre-optimization done (n=39): time 9.42e-07/0.006167, allocations: 0 / 278.7 MB, free: 11.75 MB / 266.7 MB Notification: Performance of matching and sorting (n=39): time 0.0002838/0.006451, allocations: 249.5 kB / 279 MB, free: 11.5 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.655e-05/0.006518, allocations: 138.8 kB / 279.1 MB, free: 11.34 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001024/0.00662, allocations: 221.8 kB / 279.3 MB, free: 11.11 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.673e-05/0.006637, allocations: 33.7 kB / 279.3 MB, free: 11.07 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.115e-05/0.006688, allocations: 147.8 kB / 279.5 MB, free: 10.92 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.36e-05/0.006722, allocations: 43.7 kB / 279.5 MB, free: 10.88 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.008e-05/0.006772, allocations: 51.53 kB / 279.6 MB, free: 10.82 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001287/0.006901, allocations: 0.504 MB / 280.1 MB, free: 10.3 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.133e-05/0.006922, allocations: 16.45 kB / 280.1 MB, free: 10.29 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.365e-05/0.007005, allocations: 148.5 kB / 280.2 MB, free: 10.08 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001224/0.007128, allocations: 183.4 kB / 280.4 MB, free: 9.844 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.567e-06/0.007131, allocations: 4 kB / 280.4 MB, free: 9.84 MB / 266.7 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0001462/0.007278, allocations: 169.2 kB / 280.6 MB, free: 9.668 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.168e-05/0.007289, allocations: 4 kB / 280.6 MB, free: 9.664 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.159e-05/0.007301, allocations: 8.375 kB / 280.6 MB, free: 9.656 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.197e-06/0.00731, allocations: 8 kB / 280.6 MB, free: 9.648 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.436e-05/0.007384, allocations: 35.92 kB / 280.6 MB, free: 9.613 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.933e-06/0.007391, allocations: 11.92 kB / 280.7 MB, free: 9.602 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.38e-05/0.007435, allocations: 11.95 kB / 280.7 MB, free: 9.59 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.216e-06/0.007443, allocations: 12 kB / 280.7 MB, free: 9.578 MB / 266.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.502e-05/0.007538, allocations: 180.5 kB / 280.9 MB, free: 9.391 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001808/0.007719, allocations: 194.5 kB / 281 MB, free: 9.195 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.273e-05/0.007762, allocations: 42.58 kB / 281.1 MB, free: 9.148 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.896e-06/0.007765, allocations: 4 kB / 281.1 MB, free: 9.145 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.433e-06/0.007766, allocations: 4 kB / 281.1 MB, free: 9.141 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.52e-06/0.007772, allocations: 4 kB / 281.1 MB, free: 9.137 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001116/0.007883, allocations: 141 kB / 281.2 MB, free: 8.973 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.435e-06/0.007886, allocations: 4 kB / 281.2 MB, free: 8.969 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001165/0.008002, allocations: 59.91 kB / 281.3 MB, free: 8.91 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.432e-06/0.008004, allocations: 0 / 281.3 MB, free: 8.91 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.377e-05/0.008018, allocations: 11.98 kB / 281.3 MB, free: 8.898 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.984e-06/0.008019, allocations: 4 kB / 281.3 MB, free: 8.895 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.073e-06/0.008022, allocations: 3.938 kB / 281.3 MB, free: 8.891 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.412e-05/0.008106, allocations: 211.5 kB / 281.5 MB, free: 8.656 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.706e-05/0.008163, allocations: 51.8 kB / 281.6 MB, free: 8.605 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.05e-05/0.008193, allocations: 23.98 kB / 281.6 MB, free: 8.582 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.978e-05/0.008253, allocations: 4 kB / 281.6 MB, free: 8.578 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.859e-05/0.008272, allocations: 7.938 kB / 281.6 MB, free: 8.57 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.235e-05/0.008284, allocations: 11.98 kB / 281.6 MB, free: 8.559 MB / 266.7 MB Notification: Performance of sorting global known variables: time 5.236e-05/0.008336, allocations: 164.1 kB / 281.8 MB, free: 8.398 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.008336, allocations: 0 / 281.8 MB, free: 8.398 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001862/0.008523, allocations: 43.95 kB / 281.8 MB, free: 8.355 MB / 266.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.649e-05/0.008599, allocations: 123.6 kB / 281.9 MB, free: 8.227 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001371/0.008736, allocations: 129.1 kB / 282.1 MB, free: 8.094 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.102e-06/0.008737, allocations: 0 / 282.1 MB, free: 8.094 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 1.046e-05/0.008748, allocations: 11.69 kB / 282.1 MB, free: 8.078 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003117/0.009059, allocations: 148.6 kB / 282.2 MB, free: 7.938 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007109/0.00977, allocations: 479.6 kB / 282.7 MB, free: 7.43 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.562e-05/0.009836, allocations: 112.8 kB / 282.8 MB, free: 7.297 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 2.759e-05/0.009864, allocations: 13.95 kB / 282.8 MB, free: 7.285 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.337e-05/0.009947, allocations: 102.2 kB / 282.9 MB, free: 7.184 MB / 266.7 MB Notification: Performance of SimCode: time 5.61e-07/0.009947, allocations: 0 / 282.9 MB, free: 7.184 MB / 266.7 MB Notification: Performance of Templates: time 0.00438/0.01433, allocations: 2.697 MB / 285.6 MB, free: 4.523 MB / 266.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=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.7876863977871835]