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.002291/0.002291, allocations: 112 kB / 20.43 MB, free: 1.309 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.002309/0.002309, allocations: 187.8 kB / 23.72 MB, free: 4.555 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.519/1.519, allocations: 225.6 MB / 252.5 MB, free: 13.04 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.001604/0.001604, allocations: 47.92 kB / 370.9 MB, free: 9.355 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3322/0.3339, allocations: 52.19 MB / 423.1 MB, free: 14.68 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1): time 0.004192/0.338, allocations: 1.776 MB / 424.9 MB, free: 12.89 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001362/0.3394, allocations: 0.5493 MB / 425.5 MB, free: 12.34 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001164/0.3395, allocations: 3.938 kB / 425.5 MB, free: 12.33 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 7.635e-05/0.3396, allocations: 11.88 kB / 425.5 MB, free: 12.32 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001648/0.3398, allocations: 7.875 kB / 425.5 MB, free: 12.31 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004315/0.3402, allocations: 99.7 kB / 425.6 MB, free: 12.21 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.00018/0.3404, allocations: 87.77 kB / 425.7 MB, free: 12.13 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001281/0.3405, allocations: 21.3 kB / 425.7 MB, free: 12.11 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001091/0.3406, allocations: 43.83 kB / 425.7 MB, free: 12.06 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.088e-05/0.3407, allocations: 51.72 kB / 425.8 MB, free: 12.01 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.713e-05/0.3407, allocations: 8 kB / 425.8 MB, free: 12 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.036e-05/0.3407, allocations: 8 kB / 425.8 MB, free: 12 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.61e-05/0.3408, allocations: 31.84 kB / 425.8 MB, free: 11.96 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 7.691e-05/0.3409, allocations: 47.67 kB / 425.9 MB, free: 11.92 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002292/0.3411, allocations: 112.7 kB / 426 MB, free: 11.81 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.613e-06/0.3411, allocations: 0 / 426 MB, free: 11.81 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.733e-06/0.3411, allocations: 0 / 426 MB, free: 11.81 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.133e-06/0.3411, allocations: 0 / 426 MB, free: 11.81 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.0007261/0.3419, allocations: 353.7 kB / 426.3 MB, free: 11.44 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.707e-05/0.3419, allocations: 12.03 kB / 426.3 MB, free: 11.43 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.799e-05/0.342, allocations: 16.84 kB / 426.4 MB, free: 11.41 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000393/0.3424, allocations: 162.2 kB / 426.5 MB, free: 11.23 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.207e-05/0.3424, allocations: 8.375 kB / 426.5 MB, free: 11.22 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.121e-05/0.3424, allocations: 8.375 kB / 426.5 MB, free: 11.21 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005905/0.343, allocations: 269.4 kB / 426.8 MB, free: 10.93 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.133e-05/0.343, allocations: 0 / 426.8 MB, free: 10.93 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.513e-05/0.343, allocations: 4 kB / 426.8 MB, free: 10.93 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.983e-06/0.343, allocations: 4 kB / 426.8 MB, free: 10.92 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001573/0.3432, allocations: 51.91 kB / 426.9 MB, free: 10.87 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004524/0.3437, allocations: 277.5 kB / 427.1 MB, free: 10.55 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002677/0.3439, allocations: 127.9 kB / 427.2 MB, free: 10.4 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001406/0.3441, allocations: 70.55 kB / 427.3 MB, free: 10.32 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.403e-05/0.3441, allocations: 12.12 kB / 427.3 MB, free: 10.31 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.723e-05/0.3441, allocations: 38.56 kB / 427.4 MB, free: 10.26 MB / 334.1 MB Notification: Performance of pre-optimization done (n=17): time 1.353e-06/0.3441, allocations: 3.938 kB / 427.4 MB, free: 10.26 MB / 334.1 MB Notification: Performance of matching and sorting (n=17): time 0.0004897/0.3446, allocations: 169.4 kB / 427.5 MB, free: 10.09 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.913e-05/0.3447, allocations: 114.8 kB / 427.6 MB, free: 9.949 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001655/0.3449, allocations: 153.1 kB / 427.8 MB, free: 9.793 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.502e-05/0.3449, allocations: 33.83 kB / 427.8 MB, free: 9.754 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.386e-05/0.345, allocations: 96.06 kB / 427.9 MB, free: 9.656 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.887e-05/0.345, allocations: 19.89 kB / 427.9 MB, free: 9.637 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.874e-05/0.3451, allocations: 33.72 kB / 428 MB, free: 9.598 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001572/0.3452, allocations: 326.8 kB / 428.3 MB, free: 9.27 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.58e-05/0.3453, allocations: 27.97 kB / 428.3 MB, free: 9.242 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001663/0.3455, allocations: 126.6 kB / 428.4 MB, free: 9.066 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002543/0.3457, allocations: 178.3 kB / 428.6 MB, free: 8.84 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.765e-06/0.3457, allocations: 4 kB / 428.6 MB, free: 8.836 MB / 334.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003154/0.3461, allocations: 185.1 kB / 428.8 MB, free: 8.648 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.948e-05/0.3461, allocations: 8.531 kB / 428.8 MB, free: 8.641 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.237e-06/0.3461, allocations: 8 kB / 428.8 MB, free: 8.633 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.01e-05/0.3461, allocations: 4 kB / 428.8 MB, free: 8.629 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00013/0.3462, allocations: 27.92 kB / 428.9 MB, free: 8.602 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.417e-06/0.3462, allocations: 8 kB / 428.9 MB, free: 8.594 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.316e-05/0.3463, allocations: 23.81 kB / 428.9 MB, free: 8.57 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.562e-05/0.3463, allocations: 8 kB / 428.9 MB, free: 8.562 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.0001551/0.3465, allocations: 133.8 kB / 429 MB, free: 8.422 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000216/0.3467, allocations: 121.9 kB / 429.1 MB, free: 8.297 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.466e-05/0.3468, allocations: 24.7 kB / 429.2 MB, free: 8.273 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.464e-06/0.3468, allocations: 0 / 429.2 MB, free: 8.273 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.303e-06/0.3468, allocations: 4.469 kB / 429.2 MB, free: 8.27 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.276e-06/0.3468, allocations: 7.938 kB / 429.2 MB, free: 8.262 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002214/0.347, allocations: 172.6 kB / 429.3 MB, free: 8.051 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/0.347, allocations: 0 / 429.3 MB, free: 8.051 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001127/0.3471, allocations: 27.92 kB / 429.4 MB, free: 8.023 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.474e-06/0.3471, allocations: 3.938 kB / 429.4 MB, free: 8.02 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.106e-05/0.3471, allocations: 4 kB / 429.4 MB, free: 8.016 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.914e-06/0.3471, allocations: 0 / 429.4 MB, free: 8.016 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.488e-06/0.3471, allocations: 4 kB / 429.4 MB, free: 8.012 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003488/0.3475, allocations: 264.3 kB / 429.6 MB, free: 7.734 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.119e-05/0.3476, allocations: 31.88 kB / 429.7 MB, free: 7.703 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.365e-05/0.3476, allocations: 0 / 429.7 MB, free: 7.703 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.865e-05/0.3477, allocations: 8 kB / 429.7 MB, free: 7.695 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.942e-05/0.3477, allocations: 7.938 kB / 429.7 MB, free: 7.688 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.485e-05/0.3477, allocations: 7.984 kB / 429.7 MB, free: 7.68 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001133/0.3478, allocations: 123.1 kB / 429.8 MB, free: 7.559 MB / 334.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3478, allocations: 0 / 429.8 MB, free: 7.559 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002884/0.3481, allocations: 20 kB / 429.8 MB, free: 7.539 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.0001348/0.3483, allocations: 99.25 kB / 429.9 MB, free: 7.434 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002902/0.3486, allocations: 104.3 kB / 430 MB, free: 7.332 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.3486, allocations: 0 / 430 MB, free: 7.332 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 4.619e-05/0.3486, allocations: 11.94 kB / 430 MB, free: 7.32 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005133/0.3491, allocations: 71.92 kB / 430.1 MB, free: 7.25 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005639/0.3497, allocations: 270.5 kB / 430.4 MB, free: 6.957 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000416/0.3501, allocations: 0.7277 MB / 431.1 MB, free: 6.203 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 6.603e-05/0.3502, allocations: 13.42 kB / 431.1 MB, free: 6.184 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.17e-05/0.3502, allocations: 15.44 kB / 431.1 MB, free: 6.172 MB / 334.1 MB Notification: Performance of SimCode: time 4e-07/0.3502, allocations: 0 / 431.1 MB, free: 6.172 MB / 334.1 MB Notification: Performance of Templates: time 0.004923/0.3551, allocations: 1.33 MB / 432.5 MB, free: 4.848 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.785321365110576]