Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1.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.001699/0.001699, allocations: 114.9 kB / 19.04 MB, free: 3.281 MB / 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.001653/0.001653, allocations: 186 kB / 22.21 MB, free: 116 kB / 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.548/1.548, allocations: 225.6 MB / 250.8 MB, free: 13.38 MB / 206.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.UpSample1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5028,variableFilter="time|upSample1.y|upSample2.y|add.y",fileNamePrefix="Modelica_4.0.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.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001541/0.001541, allocations: 51.92 kB / 368.7 MB, free: 10.16 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3235/0.3251, allocations: 52.15 MB / 420.9 MB, free: 15.12 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1): time 0.003204/0.3283, allocations: 1.765 MB / 422.6 MB, free: 13.34 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001002/0.3293, allocations: 0.5453 MB / 423.2 MB, free: 12.79 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.469e-05/0.3294, allocations: 3.938 kB / 423.2 MB, free: 12.79 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 4.6e-05/0.3294, allocations: 11.88 kB / 423.2 MB, free: 12.77 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001301/0.3295, allocations: 15.84 kB / 423.2 MB, free: 12.76 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003686/0.3299, allocations: 91.72 kB / 423.3 MB, free: 12.67 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001622/0.3301, allocations: 91.75 kB / 423.4 MB, free: 12.58 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001192/0.3302, allocations: 21.11 kB / 423.4 MB, free: 12.56 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001062/0.3303, allocations: 47.78 kB / 423.5 MB, free: 12.51 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.152e-05/0.3304, allocations: 47.77 kB / 423.5 MB, free: 12.46 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.996e-05/0.3304, allocations: 11.94 kB / 423.5 MB, free: 12.45 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.727e-05/0.3304, allocations: 8 kB / 423.5 MB, free: 12.45 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.127e-05/0.3305, allocations: 19.92 kB / 423.5 MB, free: 12.43 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 6.827e-05/0.3306, allocations: 59.59 kB / 423.6 MB, free: 12.37 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001983/0.3308, allocations: 104.8 kB / 423.7 MB, free: 12.27 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.366e-06/0.3308, allocations: 0 / 423.7 MB, free: 12.27 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.113e-06/0.3308, allocations: 0 / 423.7 MB, free: 12.27 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.95e-06/0.3308, allocations: 0 / 423.7 MB, free: 12.27 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: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.0006145/0.3314, allocations: 434.8 kB / 424.1 MB, free: 11.8 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.82e-05/0.3314, allocations: 11.89 kB / 424.1 MB, free: 11.79 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.87e-05/0.3315, allocations: 20.84 kB / 424.2 MB, free: 11.77 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003008/0.3318, allocations: 216.1 kB / 424.4 MB, free: 11.52 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.71e-05/0.3318, allocations: 8.375 kB / 424.4 MB, free: 11.51 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.769e-05/0.3318, allocations: 16.36 kB / 424.4 MB, free: 11.49 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005275/0.3324, allocations: 273.4 kB / 424.7 MB, free: 11.21 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.788e-06/0.3324, allocations: 0 / 424.7 MB, free: 11.21 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.526e-05/0.3324, allocations: 4 kB / 424.7 MB, free: 11.2 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.794e-06/0.3324, allocations: 4 kB / 424.7 MB, free: 11.2 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001443/0.3325, allocations: 47.91 kB / 424.7 MB, free: 11.15 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004148/0.3329, allocations: 314.4 kB / 425 MB, free: 10.79 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002634/0.3332, allocations: 127.9 kB / 425.2 MB, free: 10.64 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001244/0.3333, allocations: 66.62 kB / 425.2 MB, free: 10.56 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.975e-05/0.3334, allocations: 3.984 kB / 425.2 MB, free: 10.56 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.13e-05/0.3334, allocations: 38.56 kB / 425.3 MB, free: 10.51 MB / 334.1 MB Notification: Performance of pre-optimization done (n=17): time 1.232e-06/0.3334, allocations: 0 / 425.3 MB, free: 10.51 MB / 334.1 MB Notification: Performance of matching and sorting (n=17): time 0.0004354/0.3338, allocations: 177.6 kB / 425.4 MB, free: 10.33 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001075/0.3339, allocations: 114.8 kB / 425.5 MB, free: 10.2 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001522/0.3341, allocations: 153.1 kB / 425.7 MB, free: 10.04 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.158e-05/0.3341, allocations: 37.77 kB / 425.7 MB, free: 9.996 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.973e-05/0.3342, allocations: 92.12 kB / 425.8 MB, free: 9.902 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.707e-05/0.3342, allocations: 16.28 kB / 425.8 MB, free: 9.887 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.688e-05/0.3343, allocations: 37.7 kB / 425.9 MB, free: 9.844 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001823/0.3345, allocations: 330.8 kB / 426.2 MB, free: 9.512 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.722e-05/0.3345, allocations: 23.98 kB / 426.2 MB, free: 9.488 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001521/0.3347, allocations: 137.9 kB / 426.4 MB, free: 9.305 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000233/0.3349, allocations: 174.3 kB / 426.5 MB, free: 9.082 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.458e-06/0.3349, allocations: 8 kB / 426.5 MB, free: 9.074 MB / 334.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003015/0.3352, allocations: 177.2 kB / 426.7 MB, free: 8.895 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.601e-05/0.3352, allocations: 8.531 kB / 426.7 MB, free: 8.887 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.384e-06/0.3352, allocations: 8 kB / 426.7 MB, free: 8.879 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.709e-05/0.3353, allocations: 4 kB / 426.7 MB, free: 8.875 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001315/0.3354, allocations: 31.92 kB / 426.8 MB, free: 8.844 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.668e-06/0.3354, allocations: 4 kB / 426.8 MB, free: 8.84 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.963e-05/0.3355, allocations: 23.83 kB / 426.8 MB, free: 8.816 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.525e-05/0.3355, allocations: 8 kB / 426.8 MB, free: 8.809 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * 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 (21): * Single equations (assignments): 21 * 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.0001247/0.3356, allocations: 145.6 kB / 426.9 MB, free: 8.656 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001994/0.3358, allocations: 109.9 kB / 427 MB, free: 8.543 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.924e-05/0.3359, allocations: 24.72 kB / 427.1 MB, free: 8.516 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.498e-06/0.3359, allocations: 4 kB / 427.1 MB, free: 8.512 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.917e-06/0.3359, allocations: 0 / 427.1 MB, free: 8.512 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.634e-06/0.3359, allocations: 7.922 kB / 427.1 MB, free: 8.504 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002251/0.3361, allocations: 193.5 kB / 427.3 MB, free: 8.266 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.3361, allocations: 4 kB / 427.3 MB, free: 8.262 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001122/0.3362, allocations: 31.92 kB / 427.3 MB, free: 8.23 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.334e-06/0.3362, allocations: 0 / 427.3 MB, free: 8.23 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.266e-05/0.3362, allocations: 3.984 kB / 427.3 MB, free: 8.227 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.27e-06/0.3362, allocations: 4 kB / 427.3 MB, free: 8.223 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.876e-06/0.3363, allocations: 8.062 kB / 427.3 MB, free: 8.215 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003128/0.3366, allocations: 256.9 kB / 427.6 MB, free: 7.941 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.471e-05/0.3367, allocations: 105 kB / 427.7 MB, free: 7.82 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.629e-05/0.3367, allocations: 8 kB / 427.7 MB, free: 7.812 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.996e-05/0.3368, allocations: 4 kB / 427.7 MB, free: 7.809 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.599e-05/0.3368, allocations: 11.94 kB / 427.7 MB, free: 7.797 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.513e-05/0.3368, allocations: 11.98 kB / 427.7 MB, free: 7.785 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001006/0.3369, allocations: 119 kB / 427.8 MB, free: 7.668 MB / 334.1 MB Notification: Performance of sort global known variables: time 6e-08/0.3369, allocations: 0 / 427.8 MB, free: 7.668 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002738/0.3372, allocations: 20 kB / 427.8 MB, free: 7.648 MB / 334.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: 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 0.0001268/0.3373, allocations: 102.8 kB / 427.9 MB, free: 7.543 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002651/0.3376, allocations: 112.2 kB / 428.1 MB, free: 7.434 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.913e-06/0.3376, allocations: 3.938 kB / 428.1 MB, free: 7.43 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 3.364e-05/0.3376, allocations: 8 kB / 428.1 MB, free: 7.422 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004527/0.3381, allocations: 83.84 kB / 428.1 MB, free: 7.34 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005192/0.3386, allocations: 277.3 kB / 428.4 MB, free: 7.039 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004044/0.339, allocations: 0.7278 MB / 429.1 MB, free: 6.285 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 4.705e-05/0.339, allocations: 9.422 kB / 429.2 MB, free: 6.273 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.709e-05/0.3391, allocations: 15.44 kB / 429.2 MB, free: 6.262 MB / 334.1 MB Notification: Performance of SimCode: time 6.11e-07/0.3391, allocations: 3.938 kB / 429.2 MB, free: 6.258 MB / 334.1 MB Notification: Performance of Templates: time 0.004525/0.3436, allocations: 1.275 MB / 430.4 MB, free: 4.988 MB / 334.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/UpSample1/UpSample1.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1.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.801827633753419]