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.001392/0.001392, allocations: 100.7 kB / 20.96 MB, free: 480 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.001445/0.001445, allocations: 149.3 kB / 24.25 MB, free: 3.527 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.453/1.453, allocations: 173.3 MB / 200.8 MB, free: 12.75 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 1.993e-06/1.993e-06, allocations: 0 / 267.3 MB, free: 10.2 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.033e-05/3.232e-05, allocations: 5.125 kB / 267.3 MB, free: 10.2 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2): time 0.003589/0.003621, allocations: 1.74 MB / 269.1 MB, free: 8.449 MB / 254.1 MB Notification: Performance of NFInst.instExpressions: time 0.001344/0.004965, allocations: 0.5881 MB / 269.6 MB, free: 7.855 MB / 254.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001251/0.00509, allocations: 11.88 kB / 269.6 MB, free: 7.844 MB / 254.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001813/0.005272, allocations: 27.72 kB / 269.7 MB, free: 7.816 MB / 254.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002604/0.005532, allocations: 31.78 kB / 269.7 MB, free: 7.785 MB / 254.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004998/0.006032, allocations: 123.6 kB / 269.8 MB, free: 7.664 MB / 254.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002772/0.006309, allocations: 147.6 kB / 270 MB, free: 7.52 MB / 254.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001507/0.00646, allocations: 29.64 kB / 270 MB, free: 7.488 MB / 254.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001865/0.006646, allocations: 91.77 kB / 270.1 MB, free: 7.398 MB / 254.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002639/0.00691, allocations: 95.75 kB / 270.2 MB, free: 7.305 MB / 254.1 MB Notification: Performance of NFPackage.collectConstants: time 4.184e-05/0.006952, allocations: 12 kB / 270.2 MB, free: 7.293 MB / 254.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.351e-05/0.006986, allocations: 12 kB / 270.2 MB, free: 7.281 MB / 254.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001134/0.007099, allocations: 67.8 kB / 270.3 MB, free: 7.215 MB / 254.1 MB Notification: Performance of NFVerifyModel.verify: time 8.976e-05/0.007189, allocations: 51.83 kB / 270.3 MB, free: 7.164 MB / 254.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003664/0.007555, allocations: 219.2 kB / 270.5 MB, free: 6.949 MB / 254.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.118e-06/0.007559, allocations: 4 kB / 270.5 MB, free: 6.945 MB / 254.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.007561, allocations: 0 / 270.5 MB, free: 6.945 MB / 254.1 MB Notification: Performance of Transformations before backend: time 6.271e-06/0.007567, allocations: 0 / 270.5 MB, free: 6.945 MB / 254.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.001114/0.008681, allocations: 449.2 kB / 271 MB, free: 6.477 MB / 254.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.096e-05/0.008732, allocations: 12.03 kB / 271 MB, free: 6.465 MB / 254.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001177/0.00885, allocations: 44.8 kB / 271 MB, free: 6.422 MB / 254.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003592/0.009209, allocations: 201.8 kB / 271.2 MB, free: 6.199 MB / 254.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.061e-05/0.009269, allocations: 16.38 kB / 271.3 MB, free: 6.184 MB / 254.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.52e-05/0.009305, allocations: 12.38 kB / 271.3 MB, free: 6.172 MB / 254.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001299/0.0106, allocations: 0.6355 MB / 271.9 MB, free: 5.516 MB / 254.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.294e-05/0.01062, allocations: 8.125 kB / 271.9 MB, free: 5.508 MB / 254.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.849e-05/0.01064, allocations: 8.375 kB / 271.9 MB, free: 5.5 MB / 254.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.504e-05/0.01068, allocations: 11.94 kB / 271.9 MB, free: 5.488 MB / 254.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004321/0.01111, allocations: 179.8 kB / 272.1 MB, free: 5.312 MB / 254.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000495/0.01161, allocations: 274.1 kB / 272.4 MB, free: 5.008 MB / 254.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005027/0.01211, allocations: 223.6 kB / 272.6 MB, free: 4.762 MB / 254.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002854/0.0124, allocations: 142.6 kB / 272.7 MB, free: 4.613 MB / 254.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.737e-05/0.01244, allocations: 11.98 kB / 272.7 MB, free: 4.602 MB / 254.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.35e-05/0.01249, allocations: 42.5 kB / 272.8 MB, free: 4.551 MB / 254.1 MB Notification: Performance of pre-optimization done (n=39): time 1.773e-06/0.01249, allocations: 0 / 272.8 MB, free: 4.551 MB / 254.1 MB Notification: Performance of matching and sorting (n=39): time 0.0009972/0.01348, allocations: 433.7 kB / 273.2 MB, free: 4.121 MB / 254.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001413/0.01363, allocations: 138.9 kB / 273.3 MB, free: 3.961 MB / 254.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001837/0.01381, allocations: 175.2 kB / 273.5 MB, free: 3.781 MB / 254.1 MB Notification: Performance of collectPreVariables (initialization): time 3.275e-05/0.01384, allocations: 33.7 kB / 273.5 MB, free: 3.742 MB / 254.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.771e-05/0.01392, allocations: 97.12 kB / 273.6 MB, free: 3.645 MB / 254.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.469e-05/0.01397, allocations: 39.73 kB / 273.7 MB, free: 3.605 MB / 254.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.259e-05/0.01404, allocations: 41.94 kB / 273.7 MB, free: 3.555 MB / 254.1 MB Notification: Performance of setup shared object (initialization): time 0.0001831/0.01422, allocations: 331 kB / 274 MB, free: 3.223 MB / 254.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001116/0.01433, allocations: 52.42 kB / 274.1 MB, free: 3.172 MB / 254.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001992/0.01453, allocations: 144.9 kB / 274.2 MB, free: 2.988 MB / 254.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002939/0.01483, allocations: 179.8 kB / 274.4 MB, free: 2.77 MB / 254.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/0.01483, allocations: 0 / 274.4 MB, free: 2.77 MB / 254.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0004082/0.01524, allocations: 237.2 kB / 274.6 MB, free: 2.531 MB / 254.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.38e-05/0.01526, allocations: 11.94 kB / 274.7 MB, free: 2.52 MB / 254.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.969e-06/0.01527, allocations: 4 kB / 274.7 MB, free: 2.516 MB / 254.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.91e-05/0.0153, allocations: 4 kB / 274.7 MB, free: 2.512 MB / 254.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001628/0.01546, allocations: 35.92 kB / 274.7 MB, free: 2.477 MB / 254.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.311e-05/0.01548, allocations: 4 kB / 274.7 MB, free: 2.473 MB / 254.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.816e-05/0.01557, allocations: 20.31 kB / 274.7 MB, free: 2.453 MB / 254.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.076e-05/0.01559, allocations: 16 kB / 274.7 MB, free: 2.438 MB / 254.1 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.0002355/0.01583, allocations: 153.8 kB / 274.9 MB, free: 2.277 MB / 254.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005814/0.01641, allocations: 309.3 kB / 275.2 MB, free: 1.969 MB / 254.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.254e-05/0.0165, allocations: 34.66 kB / 275.2 MB, free: 1.934 MB / 254.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.977e-06/0.01651, allocations: 11.92 kB / 275.2 MB, free: 1.922 MB / 254.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.985e-06/0.01652, allocations: 4 kB / 275.2 MB, free: 1.918 MB / 254.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.04e-06/0.01653, allocations: 0 / 275.2 MB, free: 1.918 MB / 254.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000233/0.01676, allocations: 149.2 kB / 275.4 MB, free: 1.742 MB / 254.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.708e-06/0.01676, allocations: 4 kB / 275.4 MB, free: 1.738 MB / 254.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002669/0.01703, allocations: 71.89 kB / 275.5 MB, free: 1.668 MB / 254.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.045e-06/0.01704, allocations: 7.984 kB / 275.5 MB, free: 1.66 MB / 254.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.817e-05/0.01707, allocations: 11.94 kB / 275.5 MB, free: 1.648 MB / 254.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.175e-06/0.01707, allocations: 0 / 275.5 MB, free: 1.648 MB / 254.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.11e-07/0.01707, allocations: 0 / 275.5 MB, free: 1.648 MB / 254.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006887/0.01776, allocations: 454 kB / 275.9 MB, free: 1.184 MB / 254.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001249/0.01788, allocations: 55.75 kB / 276 MB, free: 1.129 MB / 254.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.091e-05/0.01797, allocations: 19.94 kB / 276 MB, free: 1.109 MB / 254.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001361/0.01811, allocations: 11.98 kB / 276 MB, free: 1.098 MB / 254.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.473e-05/0.01814, allocations: 4 kB / 276 MB, free: 1.094 MB / 254.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.002e-05/0.01817, allocations: 19.98 kB / 276 MB, free: 1.074 MB / 254.1 MB Notification: Performance of sorting global known variables: time 0.0001138/0.01829, allocations: 127.2 kB / 276.2 MB, free: 0.9492 MB / 254.1 MB Notification: Performance of sort global known variables: time 7e-08/0.01829, allocations: 0 / 276.2 MB, free: 0.9492 MB / 254.1 MB Notification: Performance of remove unused functions: time 0.0003188/0.01861, allocations: 40 kB / 276.2 MB, free: 0.9102 MB / 254.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.00016/0.01877, allocations: 119.1 kB / 276.3 MB, free: 0.7812 MB / 254.1 MB Notification: Performance of simCode: created initialization part: time 0.0004498/0.01922, allocations: 208.4 kB / 276.5 MB, free: 0.5781 MB / 254.1 MB Notification: Performance of simCode: created event and clocks part: time 1.503e-06/0.01922, allocations: 0 / 276.5 MB, free: 0.5781 MB / 254.1 MB Notification: Performance of simCode: created simulation system equations: time 3.53e-05/0.01925, allocations: 4 kB / 276.5 MB, free: 0.5742 MB / 254.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006981/0.01995, allocations: 209.9 kB / 276.7 MB, free: 380 kB / 254.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001352/0.0213, allocations: 0.5422 MB / 277.3 MB, free: 15.79 MB / 270.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000178/0.02148, allocations: 173.9 kB / 277.4 MB, free: 15.6 MB / 270.1 MB Notification: Performance of simCode: alias equations: time 4.532e-05/0.02153, allocations: 13.95 kB / 277.4 MB, free: 15.59 MB / 270.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.965e-05/0.0216, allocations: 24.48 kB / 277.5 MB, free: 15.57 MB / 270.1 MB Notification: Performance of SimCode: time 3.91e-07/0.0216, allocations: 0 / 277.5 MB, free: 15.57 MB / 270.1 MB Notification: Performance of Templates: time 0.009105/0.0307, allocations: 2.584 MB / 280.1 MB, free: 13.02 MB / 270.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 -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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/UpSample2/UpSample2.csv","/var/lib/jenkins/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.304754134267569]