Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1.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.001007/0.001007, allocations: 80.31 kB / 22.21 MB, free: 2.285 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.001071/0.001071, allocations: 174.3 kB / 25.61 MB, free: 8.91 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 0.9406/0.9406, allocations: 177.1 MB / 206 MB, free: 4.504 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.UpSample1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5028,variableFilter="time|upSample1.y|upSample2.y|add.y",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5028,variableFilter="time|upSample1.y|upSample2.y|add.y",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.232e-06/1.232e-06, allocations: 0 / 274.2 MB, free: 4.41 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.272e-05/1.396e-05, allocations: 2.312 kB / 274.2 MB, free: 4.406 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1): time 0.001982/0.001995, allocations: 1.797 MB / 276 MB, free: 2.613 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.000812/0.002807, allocations: 0.5852 MB / 276.6 MB, free: 2.023 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.193e-05/0.002889, allocations: 5.531 kB / 276.6 MB, free: 2.02 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 4.456e-05/0.002934, allocations: 11.86 kB / 276.6 MB, free: 2.008 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001253/0.003059, allocations: 19.8 kB / 276.6 MB, free: 1.988 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000296/0.003355, allocations: 108.2 kB / 276.7 MB, free: 1.883 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001118/0.003467, allocations: 96.12 kB / 276.8 MB, free: 1.789 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.393e-05/0.003551, allocations: 21.62 kB / 276.8 MB, free: 1.762 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001171/0.003668, allocations: 64.31 kB / 276.9 MB, free: 1.699 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.928e-05/0.003717, allocations: 32.83 kB / 276.9 MB, free: 1.668 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 1.703e-05/0.003734, allocations: 8 kB / 276.9 MB, free: 1.66 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.894e-05/0.003773, allocations: 12.62 kB / 276.9 MB, free: 1.648 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 4.978e-05/0.003823, allocations: 35.83 kB / 277 MB, free: 1.613 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 2.869e-05/0.003852, allocations: 22.41 kB / 277 MB, free: 1.594 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001468/0.003999, allocations: 87.64 kB / 277.1 MB, free: 1.508 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.094e-06/0.004001, allocations: 0 / 277.1 MB, free: 1.508 MB / 250.7 MB Notification: Performance of FrontEnd: time 6.61e-07/0.004001, allocations: 0 / 277.1 MB, free: 1.508 MB / 250.7 MB Notification: Performance of Transformations before backend: time 3.807e-06/0.004005, allocations: 0 / 277.1 MB, free: 1.508 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: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.0003912/0.004396, allocations: 452 kB / 277.5 MB, free: 1.031 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.996e-05/0.004426, allocations: 17.88 kB / 277.6 MB, free: 1.016 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001052/0.004532, allocations: 32.84 kB / 277.6 MB, free: 0.9844 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001663/0.004698, allocations: 172.9 kB / 277.8 MB, free: 0.7891 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.897e-05/0.004717, allocations: 12.97 kB / 277.8 MB, free: 0.7773 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.829e-06/0.004727, allocations: 8.375 kB / 277.8 MB, free: 0.7695 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002766/0.005003, allocations: 244.5 kB / 278 MB, free: 0.5039 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.077e-06/0.005012, allocations: 4.188 kB / 278 MB, free: 0.5 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.346e-06/0.005021, allocations: 384 / 278 MB, free: 0.5 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.865e-06/0.005029, allocations: 7.938 kB / 278 MB, free: 0.4922 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.763e-05/0.005066, allocations: 19.97 kB / 278 MB, free: 484 kB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000245/0.005311, allocations: 279.6 kB / 278.3 MB, free: 168 kB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001386/0.00545, allocations: 125.2 kB / 278.4 MB, free: 4 kB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.888e-05/0.005509, allocations: 59.31 kB / 278.5 MB, free: 15.93 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.899e-05/0.005528, allocations: 4 kB / 278.5 MB, free: 15.93 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.248e-05/0.00555, allocations: 45.33 kB / 278.5 MB, free: 15.88 MB / 266.7 MB Notification: Performance of pre-optimization done (n=17): time 1.342e-06/0.005551, allocations: 4 kB / 278.5 MB, free: 15.87 MB / 266.7 MB Notification: Performance of matching and sorting (n=17): time 0.0001937/0.005745, allocations: 133.8 kB / 278.7 MB, free: 15.73 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.221e-05/0.005807, allocations: 118.8 kB / 278.8 MB, free: 15.59 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.833e-05/0.005906, allocations: 208 kB / 279 MB, free: 15.38 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.206e-05/0.005918, allocations: 29.7 kB / 279 MB, free: 15.34 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.819e-05/0.005966, allocations: 142.8 kB / 279.2 MB, free: 15.2 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.738e-05/0.005983, allocations: 15.89 kB / 279.2 MB, free: 15.18 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.297e-05/0.006016, allocations: 31.36 kB / 279.2 MB, free: 15.14 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001107/0.006127, allocations: 0.4884 MB / 279.7 MB, free: 14.64 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.172e-05/0.006139, allocations: 8 kB / 279.7 MB, free: 14.63 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.344e-05/0.006172, allocations: 62.47 kB / 279.8 MB, free: 14.55 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.981e-05/0.006222, allocations: 58.38 kB / 279.8 MB, free: 14.47 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.714e-06/0.006224, allocations: 0 / 279.8 MB, free: 14.47 MB / 266.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 8.025e-05/0.006304, allocations: 77.52 kB / 279.9 MB, free: 14.39 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.025e-05/0.006314, allocations: 4.156 kB / 279.9 MB, free: 14.39 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.51e-06/0.00632, allocations: 7.938 kB / 279.9 MB, free: 14.38 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.078e-05/0.00633, allocations: 7.984 kB / 279.9 MB, free: 14.37 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.716e-05/0.006378, allocations: 8 kB / 279.9 MB, free: 14.36 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.035e-06/0.006381, allocations: 0 / 279.9 MB, free: 14.36 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.462e-05/0.006405, allocations: 7.938 kB / 279.9 MB, free: 14.36 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.292e-06/0.006412, allocations: 4 kB / 279.9 MB, free: 14.35 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 8 ($CLKPRE.upSample2.b_super,upSample2.b_super,$CLKPRE.upSample1.b_super,upSample1.b_super,$CLKPRE.upSample2.b,upSample2.b,$CLKPRE.upSample1.b,upSample1.b) * Number of discrete states: 0 () * Number of clocked states: 4 (upSample2.b_super,upSample1.b_super,upSample2.b,upSample1.b) * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 9 * 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 7.572e-05/0.006487, allocations: 160.6 kB / 280.1 MB, free: 14.18 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.707e-05/0.006584, allocations: 109.4 kB / 280.2 MB, free: 14.07 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.202e-05/0.006616, allocations: 24.7 kB / 280.2 MB, free: 14.05 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.886e-06/0.006619, allocations: 8 kB / 280.2 MB, free: 14.04 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.066e-06/0.006622, allocations: 0 / 280.2 MB, free: 14.04 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.256e-06/0.006626, allocations: 0 / 280.2 MB, free: 14.04 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001056/0.006731, allocations: 121.1 kB / 280.4 MB, free: 13.89 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.006732, allocations: 0 / 280.4 MB, free: 13.89 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.351e-05/0.006786, allocations: 23.98 kB / 280.4 MB, free: 13.87 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.664e-06/0.006787, allocations: 0 / 280.4 MB, free: 13.87 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.055e-05/0.006798, allocations: 15.98 kB / 280.4 MB, free: 13.86 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.72e-07/0.006799, allocations: 0 / 280.4 MB, free: 13.86 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.465e-06/0.006801, allocations: 7.875 kB / 280.4 MB, free: 13.85 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.038e-05/0.006892, allocations: 199.3 kB / 280.6 MB, free: 13.62 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.985e-05/0.006932, allocations: 35.91 kB / 280.6 MB, free: 13.59 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.691e-05/0.006949, allocations: 4 kB / 280.6 MB, free: 13.59 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.092e-05/0.00699, allocations: 4 kB / 280.6 MB, free: 13.58 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.093e-05/0.00701, allocations: 3.938 kB / 280.6 MB, free: 13.58 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.063e-06/0.007018, allocations: 8 kB / 280.7 MB, free: 13.57 MB / 266.7 MB Notification: Performance of sorting global known variables: time 5.078e-05/0.007068, allocations: 149.3 kB / 280.8 MB, free: 13.43 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.007068, allocations: 0 / 280.8 MB, free: 13.43 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001558/0.007224, allocations: 16 kB / 280.8 MB, free: 13.41 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: 4 (upSample1.b_super,upSample2.b_super,upSample1.b,upSample2.b) * Number of discrete states: 0 () * Number of clocked states: 4 (upSample1.b_super,upSample2.b_super,upSample1.b,upSample2.b) * Top-level inputs: 0 Notification: Strong component statistics for simulation (17): * Single equations (assignments): 17 * 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 6.971e-05/0.007294, allocations: 107.2 kB / 280.9 MB, free: 13.3 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 8.937e-05/0.007383, allocations: 53.8 kB / 281 MB, free: 13.24 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.072e-06/0.007384, allocations: 0 / 281 MB, free: 13.24 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 1.213e-05/0.007396, allocations: 11.67 kB / 281 MB, free: 13.23 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002691/0.007665, allocations: 67.81 kB / 281 MB, free: 13.16 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004203/0.008086, allocations: 269.9 kB / 281.3 MB, free: 12.86 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.178e-05/0.008138, allocations: 83.52 kB / 281.4 MB, free: 12.76 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 2.557e-05/0.008163, allocations: 16.95 kB / 281.4 MB, free: 12.74 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.739e-05/0.00823, allocations: 86.19 kB / 281.5 MB, free: 12.66 MB / 266.7 MB Notification: Performance of SimCode: time 4.1e-07/0.008231, allocations: 0 / 281.5 MB, free: 12.66 MB / 266.7 MB Notification: Performance of Templates: time 0.002718/0.01095, allocations: 1.322 MB / 282.8 MB, free: 11.36 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1.sim & ./Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/UpSample1/UpSample1.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.4644394158385694]