Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001108/0.001108, allocations: 84.34 kB / 22.21 MB, free: 2.285 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001515/0.001515, allocations: 166.1 kB / 25.61 MB, free: 8.578 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.034/1.034, allocations: 177 MB / 205.9 MB, free: 4.445 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.593e-06/1.593e-06, allocations: 0 / 274.1 MB, free: 4.258 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.056e-05/2.215e-05, allocations: 3.562 kB / 274.1 MB, free: 4.254 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2): time 0.002546/0.002568, allocations: 1.799 MB / 275.9 MB, free: 2.453 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009157/0.003484, allocations: 0.6526 MB / 276.6 MB, free: 1.797 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001113/0.003595, allocations: 11.88 kB / 276.6 MB, free: 1.785 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001526/0.003748, allocations: 25.56 kB / 276.6 MB, free: 1.762 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001815/0.00393, allocations: 39.66 kB / 276.7 MB, free: 1.723 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003462/0.004276, allocations: 140.2 kB / 276.8 MB, free: 1.586 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.00016/0.004436, allocations: 152.1 kB / 276.9 MB, free: 1.438 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000104/0.00454, allocations: 24.27 kB / 277 MB, free: 1.414 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001692/0.004709, allocations: 99.7 kB / 277.1 MB, free: 1.316 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001656/0.004874, allocations: 87.83 kB / 277.1 MB, free: 1.23 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.585e-05/0.0049, allocations: 12 kB / 277.2 MB, free: 1.219 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.554e-05/0.004946, allocations: 16 kB / 277.2 MB, free: 1.203 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 6.677e-05/0.005013, allocations: 71.78 kB / 277.2 MB, free: 1.133 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 4.607e-05/0.005059, allocations: 57.58 kB / 277.3 MB, free: 1.078 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001932/0.005252, allocations: 167.4 kB / 277.5 MB, free: 0.9141 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.974e-06/0.005254, allocations: 0 / 277.5 MB, free: 0.9141 MB / 250.7 MB Notification: Performance of FrontEnd: time 7.82e-07/0.005255, allocations: 0 / 277.5 MB, free: 0.9141 MB / 250.7 MB Notification: Performance of Transformations before backend: time 4.017e-06/0.005259, allocations: 3.938 kB / 277.5 MB, free: 0.9102 MB / 250.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.0005353/0.005794, allocations: 0.5282 MB / 278 MB, free: 356 kB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.23e-05/0.005826, allocations: 8.031 kB / 278 MB, free: 348 kB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001293/0.005956, allocations: 48.73 kB / 278 MB, free: 300 kB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002108/0.006166, allocations: 204.1 kB / 278.2 MB, free: 68 kB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.279e-05/0.006189, allocations: 12.38 kB / 278.3 MB, free: 56 kB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.876e-05/0.006208, allocations: 20.38 kB / 278.3 MB, free: 36 kB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005019/0.00671, allocations: 453.9 kB / 278.7 MB, free: 15.56 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.295e-06/0.006718, allocations: 4.125 kB / 278.7 MB, free: 15.56 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.301e-05/0.006731, allocations: 4.375 kB / 278.7 MB, free: 15.55 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.781e-05/0.006759, allocations: 19.94 kB / 278.8 MB, free: 15.54 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.516e-05/0.006854, allocations: 67.91 kB / 278.8 MB, free: 15.47 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002539/0.007108, allocations: 307.5 kB / 279.1 MB, free: 15.13 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001775/0.007286, allocations: 165.1 kB / 279.3 MB, free: 14.93 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.825e-05/0.007364, allocations: 83.89 kB / 279.4 MB, free: 14.84 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.582e-05/0.00739, allocations: 11.98 kB / 279.4 MB, free: 14.83 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.5e-05/0.007435, allocations: 41.89 kB / 279.4 MB, free: 14.78 MB / 266.7 MB Notification: Performance of pre-optimization done (n=39): time 1.553e-06/0.007436, allocations: 0 / 279.4 MB, free: 14.78 MB / 266.7 MB Notification: Performance of matching and sorting (n=39): time 0.0003243/0.00776, allocations: 257.4 kB / 279.7 MB, free: 14.52 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.881e-05/0.007839, allocations: 138.8 kB / 279.8 MB, free: 14.36 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001015/0.007941, allocations: 213.8 kB / 280 MB, free: 14.13 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.869e-05/0.007959, allocations: 37.7 kB / 280 MB, free: 14.09 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.906e-05/0.008008, allocations: 148 kB / 280.2 MB, free: 13.94 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.151e-05/0.00804, allocations: 39.66 kB / 280.2 MB, free: 13.9 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.769e-05/0.008088, allocations: 51.58 kB / 280.3 MB, free: 13.84 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001224/0.00821, allocations: 0.5079 MB / 280.8 MB, free: 13.32 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.38e-05/0.008234, allocations: 20.45 kB / 280.8 MB, free: 13.3 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.734e-05/0.008311, allocations: 148.5 kB / 281 MB, free: 13.1 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001671/0.008478, allocations: 187.4 kB / 281.1 MB, free: 12.86 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.344e-06/0.008481, allocations: 0 / 281.1 MB, free: 12.86 MB / 266.7 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0001603/0.008641, allocations: 177.2 kB / 281.3 MB, free: 12.68 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.373e-05/0.008655, allocations: 8 kB / 281.3 MB, free: 12.67 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.663e-06/0.008661, allocations: 7.938 kB / 281.3 MB, free: 12.66 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.15e-05/0.008673, allocations: 4 kB / 281.3 MB, free: 12.66 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.335e-05/0.008756, allocations: 31.92 kB / 281.4 MB, free: 12.62 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.549e-06/0.008761, allocations: 4 kB / 281.4 MB, free: 12.62 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.459e-05/0.008805, allocations: 12.44 kB / 281.4 MB, free: 12.61 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.668e-06/0.008815, allocations: 12 kB / 281.4 MB, free: 12.6 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 0.0001072/0.008922, allocations: 189.8 kB / 281.6 MB, free: 12.4 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001987/0.009121, allocations: 190.4 kB / 281.8 MB, free: 12.21 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.249e-05/0.009163, allocations: 46.58 kB / 281.8 MB, free: 12.16 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.809e-06/0.009168, allocations: 4 kB / 281.8 MB, free: 12.16 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.743e-06/0.00917, allocations: 0 / 281.8 MB, free: 12.16 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.288e-06/0.009174, allocations: 0 / 281.8 MB, free: 12.16 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001229/0.009297, allocations: 141 kB / 281.9 MB, free: 12 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/0.009299, allocations: 0 / 281.9 MB, free: 12 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001336/0.009432, allocations: 63.91 kB / 282 MB, free: 11.93 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.316e-06/0.009436, allocations: 4 kB / 282 MB, free: 11.93 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.3e-05/0.009449, allocations: 11.98 kB / 282 MB, free: 11.92 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.00945, allocations: 0 / 282 MB, free: 11.92 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.216e-06/0.009453, allocations: 7.938 kB / 282 MB, free: 11.91 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.67e-05/0.00955, allocations: 211.5 kB / 282.2 MB, free: 11.68 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.281e-05/0.009613, allocations: 43.77 kB / 282.3 MB, free: 11.63 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.486e-05/0.009648, allocations: 19.98 kB / 282.3 MB, free: 11.61 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.079e-05/0.009709, allocations: 11.94 kB / 282.3 MB, free: 11.6 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.241e-05/0.009731, allocations: 3.938 kB / 282.3 MB, free: 11.6 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.44e-05/0.009745, allocations: 20.02 kB / 282.3 MB, free: 11.58 MB / 266.7 MB Notification: Performance of sorting global known variables: time 5.318e-05/0.009799, allocations: 156.2 kB / 282.5 MB, free: 11.43 MB / 266.7 MB Notification: Performance of sort global known variables: time 8e-08/0.009799, allocations: 0 / 282.5 MB, free: 11.43 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002065/0.01001, allocations: 40 kB / 282.5 MB, free: 11.39 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 0.0001005/0.01011, allocations: 113.5 kB / 282.6 MB, free: 11.27 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001619/0.01027, allocations: 149.8 kB / 282.8 MB, free: 11.12 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.01027, allocations: 0 / 282.8 MB, free: 11.12 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 1.076e-05/0.01028, allocations: 7.688 kB / 282.8 MB, free: 11.11 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003614/0.01064, allocations: 155.7 kB / 282.9 MB, free: 10.96 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007622/0.0114, allocations: 474.5 kB / 283.4 MB, free: 10.45 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.555e-05/0.01147, allocations: 116.8 kB / 283.5 MB, free: 10.32 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 3.531e-05/0.0115, allocations: 18.06 kB / 283.5 MB, free: 10.3 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.985e-05/0.01159, allocations: 102.2 kB / 283.6 MB, free: 10.2 MB / 266.7 MB Notification: Performance of SimCode: time 8.41e-07/0.01159, allocations: 0 / 283.6 MB, free: 10.2 MB / 266.7 MB Notification: Performance of Templates: time 0.004747/0.01634, allocations: 2.75 MB / 286.4 MB, free: 7.496 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_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.856999554671347]