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.001777/0.001777, allocations: 72.06 kB / 21.24 MB, free: 404 kB / 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.001308/0.001308, allocations: 157.4 kB / 24.48 MB, free: 3.465 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.444/1.444, allocations: 173.4 MB / 201.1 MB, free: 12.58 MB / 190.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.001589/0.001589, allocations: 43.59 kB / 319.4 MB, free: 3.27 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08868/0.09027, allocations: 52.17 MB / 371.6 MB, free: 7.367 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2): time 0.003149/0.09341, allocations: 1.739 MB / 373.3 MB, free: 5.617 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001121/0.09454, allocations: 0.5766 MB / 373.9 MB, free: 5.035 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.715e-05/0.09463, allocations: 11.88 kB / 373.9 MB, free: 5.023 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001396/0.09477, allocations: 15.8 kB / 373.9 MB, free: 5.008 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002005/0.09497, allocations: 43.72 kB / 374 MB, free: 4.965 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004057/0.09538, allocations: 111.7 kB / 374.1 MB, free: 4.855 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002675/0.09565, allocations: 167.5 kB / 374.2 MB, free: 4.691 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001349/0.09578, allocations: 25.73 kB / 374.3 MB, free: 4.664 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001491/0.09593, allocations: 71.81 kB / 374.3 MB, free: 4.594 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002411/0.09617, allocations: 103.6 kB / 374.4 MB, free: 4.492 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.688e-05/0.09622, allocations: 16 kB / 374.4 MB, free: 4.477 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.271e-05/0.09625, allocations: 12 kB / 374.5 MB, free: 4.465 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001079/0.09636, allocations: 71.81 kB / 374.5 MB, free: 4.395 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001119/0.09647, allocations: 67.59 kB / 374.6 MB, free: 4.328 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003172/0.09679, allocations: 219 kB / 374.8 MB, free: 4.113 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.017e-06/0.09679, allocations: 0 / 374.8 MB, free: 4.113 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.793e-06/0.09679, allocations: 0 / 374.8 MB, free: 4.113 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.921e-06/0.0968, allocations: 0 / 374.8 MB, free: 4.113 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.0009/0.0977, allocations: 449.2 kB / 375.2 MB, free: 3.645 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.581e-05/0.09773, allocations: 8.031 kB / 375.3 MB, free: 3.637 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.949e-05/0.09779, allocations: 32.78 kB / 375.3 MB, free: 3.605 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003081/0.0981, allocations: 198.1 kB / 375.5 MB, free: 3.387 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.063e-05/0.09813, allocations: 12.38 kB / 375.5 MB, free: 3.375 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.469e-05/0.09817, allocations: 20.38 kB / 375.5 MB, free: 3.355 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001095/0.09926, allocations: 0.6394 MB / 376.2 MB, free: 2.695 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.191e-05/0.09928, allocations: 0 / 376.2 MB, free: 2.695 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.941e-05/0.09929, allocations: 4 kB / 376.2 MB, free: 2.691 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.647e-05/0.09932, allocations: 12 kB / 376.2 MB, free: 2.68 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003937/0.09971, allocations: 179.8 kB / 376.3 MB, free: 2.504 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003907/0.1001, allocations: 278.1 kB / 376.6 MB, free: 2.195 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004508/0.1006, allocations: 223.5 kB / 376.8 MB, free: 1.949 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002678/0.1008, allocations: 147.1 kB / 377 MB, free: 1.797 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.594e-05/0.1009, allocations: 11.98 kB / 377 MB, free: 1.785 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.34e-05/0.1009, allocations: 42.5 kB / 377 MB, free: 1.734 MB / 334.1 MB Notification: Performance of pre-optimization done (n=39): time 1.593e-06/0.1009, allocations: 0 / 377 MB, free: 1.734 MB / 334.1 MB Notification: Performance of matching and sorting (n=39): time 0.00088/0.1018, allocations: 422 kB / 377.4 MB, free: 1.316 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001126/0.1019, allocations: 130.8 kB / 377.6 MB, free: 1.164 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001593/0.102, allocations: 170.5 kB / 377.7 MB, free: 0.9883 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.962e-05/0.1021, allocations: 33.7 kB / 377.8 MB, free: 0.9492 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.774e-05/0.1021, allocations: 101.1 kB / 377.9 MB, free: 0.8477 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.265e-05/0.1022, allocations: 63.92 kB / 377.9 MB, free: 0.7852 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.019e-05/0.1023, allocations: 70.2 kB / 378 MB, free: 0.707 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001488/0.1024, allocations: 334.8 kB / 378.3 MB, free: 380 kB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001414/0.1026, allocations: 80.94 kB / 378.4 MB, free: 300 kB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003338/0.1029, allocations: 319.4 kB / 378.7 MB, free: 15.86 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004771/0.1034, allocations: 413 kB / 379.1 MB, free: 15.33 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.037e-06/0.1034, allocations: 0 / 379.1 MB, free: 15.33 MB / 350.1 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0006301/0.104, allocations: 421.1 kB / 379.5 MB, free: 14.91 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.861e-05/0.104, allocations: 8 kB / 379.5 MB, free: 14.91 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.145e-05/0.1041, allocations: 8 kB / 379.5 MB, free: 14.9 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.473e-05/0.1041, allocations: 12 kB / 379.6 MB, free: 14.89 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002511/0.1043, allocations: 76.47 kB / 379.6 MB, free: 14.81 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.9e-05/0.1043, allocations: 19.92 kB / 379.7 MB, free: 14.79 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001667/0.1045, allocations: 35.89 kB / 379.7 MB, free: 14.76 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.932e-05/0.1045, allocations: 24 kB / 379.7 MB, free: 14.73 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.000186/0.1047, allocations: 190.3 kB / 379.9 MB, free: 14.54 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005361/0.1053, allocations: 289.4 kB / 380.2 MB, free: 14.25 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.721e-05/0.1053, allocations: 34.66 kB / 380.2 MB, free: 14.21 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.481e-06/0.1053, allocations: 7.938 kB / 380.2 MB, free: 14.21 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.438e-06/0.1054, allocations: 0 / 380.2 MB, free: 14.21 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.116e-06/0.1054, allocations: 7.984 kB / 380.2 MB, free: 14.2 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001898/0.1056, allocations: 149.1 kB / 380.4 MB, free: 14.02 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.547e-06/0.1056, allocations: 7.938 kB / 380.4 MB, free: 14.02 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002731/0.1058, allocations: 63.91 kB / 380.4 MB, free: 13.95 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.595e-06/0.1058, allocations: 0 / 380.4 MB, free: 13.95 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.212e-05/0.1059, allocations: 11.98 kB / 380.5 MB, free: 13.94 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.047e-05/0.1059, allocations: 11.94 kB / 380.5 MB, free: 13.93 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.1059, allocations: 0 / 380.5 MB, free: 13.93 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006294/0.1065, allocations: 441.1 kB / 380.9 MB, free: 13.48 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001182/0.1066, allocations: 55.7 kB / 381 MB, free: 13.43 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.911e-05/0.1067, allocations: 19.98 kB / 381 MB, free: 13.41 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001501/0.1068, allocations: 19.98 kB / 381 MB, free: 13.39 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.855e-05/0.1068, allocations: 0 / 381 MB, free: 13.39 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.152e-05/0.1069, allocations: 11.98 kB / 381 MB, free: 13.38 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001038/0.107, allocations: 131.2 kB / 381.1 MB, free: 13.25 MB / 350.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.107, allocations: 0 / 381.1 MB, free: 13.25 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003859/0.1074, allocations: 48 kB / 381.2 MB, free: 13.2 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.0001383/0.1075, allocations: 123 kB / 381.3 MB, free: 13.07 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0005302/0.108, allocations: 285.6 kB / 381.6 MB, free: 12.79 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.108, allocations: 0 / 381.6 MB, free: 12.79 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 3.93e-05/0.1081, allocations: 7.984 kB / 381.6 MB, free: 12.79 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006872/0.1087, allocations: 204 kB / 381.8 MB, free: 12.59 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001274/0.11, allocations: 0.5563 MB / 382.3 MB, free: 12 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001733/0.1102, allocations: 173.9 kB / 382.5 MB, free: 11.81 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.408e-05/0.1103, allocations: 26.28 kB / 382.5 MB, free: 11.79 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.66e-05/0.1103, allocations: 24.5 kB / 382.6 MB, free: 11.76 MB / 350.1 MB Notification: Performance of SimCode: time 3.41e-07/0.1103, allocations: 0 / 382.6 MB, free: 11.76 MB / 350.1 MB Notification: Performance of Templates: time 0.006728/0.1171, allocations: 2.829 MB / 385.4 MB, free: 8.961 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 -s ida -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: 4.436475996044464]