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.001465/0.001465, allocations: 115.6 kB / 20.43 MB, free: 1.449 MB / 14.72 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.001973/0.001973, allocations: 213.4 kB / 23.74 MB, free: 4.656 MB / 14.72 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 1.663/1.663, allocations: 230.6 MB / 257.5 MB, free: 8.016 MB / 206.1 MB " [Timeout remaining time 178] 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 0.001642/0.001642, allocations: 47.91 kB / 378.3 MB, free: 2.609 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4114/0.4131, allocations: 53.36 MB / 431.6 MB, free: 6.906 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1): time 0.007309/0.4204, allocations: 1.778 MB / 433.4 MB, free: 5.125 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002716/0.4231, allocations: 0.6193 MB / 434 MB, free: 4.5 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002255/0.4233, allocations: 7.938 kB / 434 MB, free: 4.492 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 9.56e-05/0.4234, allocations: 7.875 kB / 434 MB, free: 4.484 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002433/0.4237, allocations: 19.8 kB / 434.1 MB, free: 4.465 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000875/0.4246, allocations: 107.3 kB / 434.2 MB, free: 4.363 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003268/0.4249, allocations: 87.77 kB / 434.2 MB, free: 4.277 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001967/0.4251, allocations: 25.61 kB / 434.3 MB, free: 4.246 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002397/0.4253, allocations: 59.78 kB / 434.3 MB, free: 4.188 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001317/0.4254, allocations: 43.7 kB / 434.4 MB, free: 4.145 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.38e-05/0.4255, allocations: 11.94 kB / 434.4 MB, free: 4.133 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002259/0.4257, allocations: 16 kB / 434.4 MB, free: 4.117 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 9.034e-05/0.4258, allocations: 19.92 kB / 434.4 MB, free: 4.098 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001124/0.4259, allocations: 55.66 kB / 434.5 MB, free: 4.043 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003625/0.4263, allocations: 112.7 kB / 434.6 MB, free: 3.938 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.498e-06/0.4263, allocations: 3.984 kB / 434.6 MB, free: 3.934 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.565e-06/0.4263, allocations: 0 / 434.6 MB, free: 3.934 MB / 334.1 MB Notification: Performance of Transformations before backend: time 9.899e-06/0.4263, allocations: 0 / 434.6 MB, free: 3.934 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.000998/0.4273, allocations: 361.7 kB / 434.9 MB, free: 3.551 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.361e-05/0.4274, allocations: 8.031 kB / 435 MB, free: 3.543 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002653/0.4276, allocations: 24.84 kB / 435 MB, free: 3.52 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005909/0.4282, allocations: 158.2 kB / 435.1 MB, free: 3.34 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.749e-05/0.4283, allocations: 8.375 kB / 435.1 MB, free: 3.332 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.725e-05/0.4283, allocations: 12.38 kB / 435.2 MB, free: 3.32 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009559/0.4293, allocations: 271.5 kB / 435.4 MB, free: 3.035 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.651e-05/0.4293, allocations: 0 / 435.4 MB, free: 3.035 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.459e-05/0.4293, allocations: 11.94 kB / 435.4 MB, free: 3.023 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.403e-05/0.4293, allocations: 7.969 kB / 435.4 MB, free: 3.016 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000266/0.4296, allocations: 43.98 kB / 435.5 MB, free: 2.973 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006842/0.4303, allocations: 285.5 kB / 435.8 MB, free: 2.645 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004764/0.4307, allocations: 123.9 kB / 435.9 MB, free: 2.496 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002528/0.431, allocations: 66.66 kB / 435.9 MB, free: 2.422 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.11e-05/0.431, allocations: 8 kB / 436 MB, free: 2.414 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.756e-05/0.4311, allocations: 38.5 kB / 436 MB, free: 2.367 MB / 334.1 MB Notification: Performance of pre-optimization done (n=17): time 2.575e-06/0.4311, allocations: 4 kB / 436 MB, free: 2.363 MB / 334.1 MB Notification: Performance of matching and sorting (n=17): time 0.0007832/0.4319, allocations: 169.9 kB / 436.2 MB, free: 2.191 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001697/0.432, allocations: 126.8 kB / 436.3 MB, free: 2.043 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002507/0.4323, allocations: 158.7 kB / 436.4 MB, free: 1.879 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.108e-05/0.4323, allocations: 25.7 kB / 436.5 MB, free: 1.848 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.596e-05/0.4324, allocations: 96.09 kB / 436.6 MB, free: 1.75 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.448e-05/0.4325, allocations: 19.89 kB / 436.6 MB, free: 1.73 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.911e-05/0.4326, allocations: 41.64 kB / 436.6 MB, free: 1.684 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0002278/0.4328, allocations: 326.8 kB / 436.9 MB, free: 1.355 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001224/0.4329, allocations: 27.98 kB / 437 MB, free: 1.328 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002716/0.4332, allocations: 141.1 kB / 437.1 MB, free: 1.141 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004637/0.4337, allocations: 166.4 kB / 437.3 MB, free: 0.9258 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.04e-05/0.4337, allocations: 4 kB / 437.3 MB, free: 0.9219 MB / 334.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0005983/0.4343, allocations: 185.6 kB / 437.4 MB, free: 0.7344 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.229e-05/0.4343, allocations: 10.59 kB / 437.5 MB, free: 0.7266 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.595e-05/0.4343, allocations: 4 kB / 437.5 MB, free: 0.7227 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.126e-05/0.4344, allocations: 8 kB / 437.5 MB, free: 0.7148 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002316/0.4346, allocations: 31.91 kB / 437.5 MB, free: 0.6836 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.943e-05/0.4346, allocations: 4 kB / 437.5 MB, free: 0.6797 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001783/0.4348, allocations: 15.94 kB / 437.5 MB, free: 0.6641 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.023e-05/0.4348, allocations: 8 kB / 437.5 MB, free: 0.6562 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.000235/0.435, allocations: 145.7 kB / 437.7 MB, free: 0.5078 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003744/0.4354, allocations: 117.5 kB / 437.8 MB, free: 396 kB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.059e-05/0.4355, allocations: 20.7 kB / 437.8 MB, free: 376 kB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.551e-06/0.4355, allocations: 3.938 kB / 437.8 MB, free: 372 kB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.216e-06/0.4355, allocations: 0 / 437.8 MB, free: 372 kB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.783e-05/0.4355, allocations: 11.88 kB / 437.8 MB, free: 360 kB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003939/0.4359, allocations: 168.6 kB / 438 MB, free: 148 kB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.167e-06/0.4359, allocations: 0 / 438 MB, free: 148 kB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002165/0.4362, allocations: 27.98 kB / 438 MB, free: 120 kB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.18e-06/0.4362, allocations: 0 / 438 MB, free: 120 kB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.188e-05/0.4362, allocations: 4 kB / 438 MB, free: 116 kB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.268e-06/0.4362, allocations: 4 kB / 438 MB, free: 112 kB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.485e-06/0.4362, allocations: 0 / 438 MB, free: 112 kB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006681/0.4369, allocations: 269.1 kB / 438.3 MB, free: 15.82 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001095/0.437, allocations: 27.83 kB / 438.3 MB, free: 15.79 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.628e-05/0.437, allocations: 4 kB / 438.3 MB, free: 15.79 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001699/0.4372, allocations: 11.98 kB / 438.3 MB, free: 15.78 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.666e-05/0.4372, allocations: 0 / 438.3 MB, free: 15.78 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.893e-05/0.4373, allocations: 11.94 kB / 438.3 MB, free: 15.77 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001783/0.4374, allocations: 119.2 kB / 438.5 MB, free: 15.65 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.4374, allocations: 96 / 438.5 MB, free: 15.65 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000558/0.438, allocations: 27.94 kB / 438.5 MB, free: 15.62 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.0002034/0.4382, allocations: 103.2 kB / 438.6 MB, free: 15.51 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0005017/0.4387, allocations: 107.8 kB / 438.7 MB, free: 15.41 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.386e-06/0.4387, allocations: 0 / 438.7 MB, free: 15.41 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 6.979e-05/0.4388, allocations: 7.984 kB / 438.7 MB, free: 15.4 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007948/0.4396, allocations: 79.91 kB / 438.8 MB, free: 15.32 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009572/0.4405, allocations: 266.9 kB / 439 MB, free: 15.03 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006744/0.4412, allocations: 0.7202 MB / 439.8 MB, free: 14.29 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 8.431e-05/0.4413, allocations: 9.422 kB / 439.8 MB, free: 14.27 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.58e-05/0.4414, allocations: 19.44 kB / 439.8 MB, free: 14.25 MB / 350.1 MB Notification: Performance of SimCode: time 5.01e-07/0.4414, allocations: 4 kB / 439.8 MB, free: 14.25 MB / 350.1 MB Notification: Performance of Templates: time 0.005528/0.4469, allocations: 1.316 MB / 441.1 MB, free: 12.94 MB / 350.1 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=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.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: 5.354562753112987]