Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1.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.001825/0.001825, allocations: 107.2 kB / 20.44 MB, free: 1.207 MB / 14.72 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.00222/0.00222, allocations: 215.5 kB / 23.73 MB, free: 4.406 MB / 14.72 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.564/1.564, allocations: 230.5 MB / 257.4 MB, free: 7.777 MB / 206.1 MB " [Timeout remaining time 178] 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.UpSample1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5028,variableFilter="time|upSample1.y|upSample2.y|add.y",fileNamePrefix="Modelica_trunk_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_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001981/0.001981, allocations: 63.89 kB / 378.2 MB, free: 2.262 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2979/0.2998, allocations: 53.4 MB / 431.6 MB, free: 6.48 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1): time 0.003139/0.303, allocations: 1.754 MB / 433.4 MB, free: 4.727 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001063/0.304, allocations: 0.5649 MB / 434 MB, free: 4.156 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.269e-05/0.3041, allocations: 11.88 kB / 434 MB, free: 4.145 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 4.29e-05/0.3042, allocations: 11.86 kB / 434 MB, free: 4.133 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 8.234e-05/0.3042, allocations: 7.875 kB / 434 MB, free: 4.125 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003667/0.3046, allocations: 115.6 kB / 434.1 MB, free: 4.012 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001428/0.3047, allocations: 91.75 kB / 434.2 MB, free: 3.922 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.718e-05/0.3048, allocations: 17.62 kB / 434.2 MB, free: 3.898 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001126/0.3049, allocations: 59.78 kB / 434.3 MB, free: 3.84 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.977e-05/0.305, allocations: 39.77 kB / 434.3 MB, free: 3.801 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.921e-05/0.305, allocations: 8 kB / 434.3 MB, free: 3.793 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.371e-05/0.305, allocations: 12 kB / 434.3 MB, free: 3.781 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 4.067e-05/0.3051, allocations: 27.86 kB / 434.4 MB, free: 3.754 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.149e-05/0.3051, allocations: 35.78 kB / 434.4 MB, free: 3.719 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001743/0.3053, allocations: 125.6 kB / 434.5 MB, free: 3.602 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.254e-06/0.3053, allocations: 0 / 434.5 MB, free: 3.602 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.182e-06/0.3053, allocations: 0 / 434.5 MB, free: 3.602 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.544e-06/0.3053, allocations: 3.938 kB / 434.5 MB, free: 3.598 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.0004593/0.3058, allocations: 353.8 kB / 434.9 MB, free: 3.223 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.043e-05/0.3058, allocations: 15.98 kB / 434.9 MB, free: 3.207 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000129/0.3059, allocations: 24.83 kB / 434.9 MB, free: 3.184 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002478/0.3062, allocations: 170.8 kB / 435.1 MB, free: 2.992 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.547e-05/0.3062, allocations: 8.375 kB / 435.1 MB, free: 2.984 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.846e-05/0.3062, allocations: 8.375 kB / 435.1 MB, free: 2.977 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004737/0.3067, allocations: 273 kB / 435.3 MB, free: 2.691 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.045e-05/0.3067, allocations: 0 / 435.3 MB, free: 2.691 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.053e-05/0.3067, allocations: 4 kB / 435.4 MB, free: 2.688 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.382e-06/0.3067, allocations: 4 kB / 435.4 MB, free: 2.684 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001343/0.3068, allocations: 47.97 kB / 435.4 MB, free: 2.637 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003245/0.3072, allocations: 242.1 kB / 435.6 MB, free: 2.363 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002418/0.3074, allocations: 127.9 kB / 435.8 MB, free: 2.211 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001234/0.3075, allocations: 66.59 kB / 435.8 MB, free: 2.137 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.685e-05/0.3076, allocations: 4 kB / 435.8 MB, free: 2.133 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.407e-05/0.3076, allocations: 42.48 kB / 435.9 MB, free: 2.082 MB / 334.1 MB Notification: Performance of pre-optimization done (n=17): time 1.222e-06/0.3076, allocations: 0 / 435.9 MB, free: 2.082 MB / 334.1 MB Notification: Performance of matching and sorting (n=17): time 0.0004083/0.308, allocations: 181.6 kB / 436.1 MB, free: 1.898 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.652e-05/0.3081, allocations: 118.8 kB / 436.2 MB, free: 1.758 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001497/0.3083, allocations: 154.2 kB / 436.3 MB, free: 1.598 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.945e-05/0.3083, allocations: 25.7 kB / 436.3 MB, free: 1.566 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.949e-05/0.3083, allocations: 96.09 kB / 436.4 MB, free: 1.469 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.596e-05/0.3084, allocations: 19.89 kB / 436.5 MB, free: 1.449 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.303e-05/0.3084, allocations: 37.7 kB / 436.5 MB, free: 1.406 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001767/0.3086, allocations: 326.8 kB / 436.8 MB, free: 1.078 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.992e-05/0.3087, allocations: 32.05 kB / 436.8 MB, free: 1.047 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001526/0.3088, allocations: 142.3 kB / 437 MB, free: 0.8594 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002241/0.309, allocations: 162.4 kB / 437.1 MB, free: 0.6484 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.415e-06/0.309, allocations: 0 / 437.1 MB, free: 0.6484 MB / 334.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0002948/0.3093, allocations: 185.2 kB / 437.3 MB, free: 472 kB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.947e-05/0.3094, allocations: 15.88 kB / 437.3 MB, free: 456 kB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.404e-06/0.3094, allocations: 4 kB / 437.3 MB, free: 452 kB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.702e-05/0.3094, allocations: 4 kB / 437.3 MB, free: 448 kB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001196/0.3095, allocations: 36.44 kB / 437.4 MB, free: 412 kB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.206e-05/0.3095, allocations: 11.94 kB / 437.4 MB, free: 400 kB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.239e-05/0.3096, allocations: 15.95 kB / 437.4 MB, free: 384 kB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.544e-05/0.3096, allocations: 11.94 kB / 437.4 MB, free: 372 kB / 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.000129/0.3097, allocations: 144.5 kB / 437.6 MB, free: 220 kB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001805/0.3099, allocations: 105.6 kB / 437.7 MB, free: 108 kB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.57e-05/0.31, allocations: 24.7 kB / 437.7 MB, free: 84 kB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.498e-06/0.31, allocations: 4 kB / 437.7 MB, free: 80 kB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.068e-06/0.31, allocations: 0 / 437.7 MB, free: 80 kB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.036e-06/0.31, allocations: 0 / 437.7 MB, free: 80 kB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001768/0.3102, allocations: 137.2 kB / 437.8 MB, free: 15.91 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.337e-06/0.3102, allocations: 8 kB / 437.8 MB, free: 15.91 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001071/0.3103, allocations: 23.98 kB / 437.9 MB, free: 15.88 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.154e-06/0.3103, allocations: 0 / 437.9 MB, free: 15.88 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.616e-05/0.3103, allocations: 11.98 kB / 437.9 MB, free: 15.87 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.3103, allocations: 0 / 437.9 MB, free: 15.87 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.916e-06/0.3103, allocations: 3.938 kB / 437.9 MB, free: 15.87 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003105/0.3106, allocations: 257 kB / 438.1 MB, free: 15.59 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.747e-05/0.3107, allocations: 27.83 kB / 438.2 MB, free: 15.57 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.046e-05/0.3107, allocations: 11.98 kB / 438.2 MB, free: 15.55 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.317e-05/0.3108, allocations: 4 kB / 438.2 MB, free: 15.55 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.122e-05/0.3108, allocations: 4 kB / 438.2 MB, free: 15.55 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.209e-05/0.3108, allocations: 8 kB / 438.2 MB, free: 15.54 MB / 350.1 MB Notification: Performance of sorting global known variables: time 9.32e-05/0.3109, allocations: 116.1 kB / 438.3 MB, free: 15.43 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3109, allocations: 0 / 438.3 MB, free: 15.43 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000277/0.3112, allocations: 20 kB / 438.3 MB, free: 15.41 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: 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.0001184/0.3113, allocations: 111.1 kB / 438.4 MB, free: 15.29 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002517/0.3115, allocations: 110.9 kB / 438.5 MB, free: 15.18 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.3116, allocations: 0 / 438.5 MB, free: 15.18 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 3.767e-05/0.3116, allocations: 8 kB / 438.5 MB, free: 15.18 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004342/0.312, allocations: 80.48 kB / 438.6 MB, free: 15.1 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005073/0.3125, allocations: 269.8 kB / 438.9 MB, free: 14.8 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001099/0.3126, allocations: 107 kB / 439 MB, free: 14.68 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 4.714e-05/0.3127, allocations: 13.36 kB / 439 MB, free: 14.66 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.838e-05/0.3127, allocations: 15.44 kB / 439 MB, free: 14.65 MB / 350.1 MB Notification: Performance of SimCode: time 2.91e-07/0.3127, allocations: 0 / 439 MB, free: 14.65 MB / 350.1 MB Notification: Performance of Templates: time 0.0044/0.3171, allocations: 1.397 MB / 440.4 MB, free: 13.27 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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.640125688165426]