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.0008037/0.0008037, allocations: 84 kB / 21.43 MB, free: 3.133 MB / 18.57 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.003975/0.003975, allocations: 146.9 kB / 24.68 MB, free: 9.418 MB / 18.57 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 0.8216/0.8216, allocations: 173.4 MB / 201.2 MB, free: 9.426 MB / 186.7 MB " [Timeout remaining time 179] 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 1.363e-06/1.363e-06, allocations: 0 / 319.7 MB, free: 5.844 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.613e-05/1.749e-05, allocations: 6.219 kB / 319.7 MB, free: 5.836 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1): time 0.001824/0.001841, allocations: 1.716 MB / 321.4 MB, free: 4.105 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006335/0.002475, allocations: 0.518 MB / 321.9 MB, free: 3.582 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.877e-05/0.002553, allocations: 7.938 kB / 321.9 MB, free: 3.574 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 4.153e-05/0.002595, allocations: 7.875 kB / 322 MB, free: 3.566 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001309/0.002726, allocations: 19.8 kB / 322 MB, free: 3.547 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002629/0.002989, allocations: 99.56 kB / 322.1 MB, free: 3.449 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001181/0.003107, allocations: 87.7 kB / 322.2 MB, free: 3.363 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.68e-05/0.003204, allocations: 25.28 kB / 322.2 MB, free: 3.336 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.426e-05/0.003288, allocations: 59.83 kB / 322.2 MB, free: 3.277 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.066e-05/0.003339, allocations: 35.88 kB / 322.3 MB, free: 3.242 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.58e-05/0.003364, allocations: 8 kB / 322.3 MB, free: 3.234 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.252e-05/0.003377, allocations: 8 kB / 322.3 MB, free: 3.227 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.882e-05/0.003426, allocations: 27.84 kB / 322.3 MB, free: 3.199 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.722e-05/0.003463, allocations: 31.91 kB / 322.4 MB, free: 3.168 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001296/0.003592, allocations: 111.6 kB / 322.5 MB, free: 3.059 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.713e-06/0.003594, allocations: 0 / 322.5 MB, free: 3.059 MB / 282.7 MB Notification: Performance of FrontEnd: time 5.81e-07/0.003595, allocations: 0 / 322.5 MB, free: 3.059 MB / 282.7 MB Notification: Performance of Transformations before backend: time 3.707e-06/0.003598, allocations: 0 / 322.5 MB, free: 3.059 MB / 282.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.0004014/0.004, allocations: 361 kB / 322.8 MB, free: 2.68 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.93e-05/0.004029, allocations: 8.031 kB / 322.8 MB, free: 2.672 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.3e-05/0.004062, allocations: 16.84 kB / 322.8 MB, free: 2.656 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001756/0.004238, allocations: 153.5 kB / 323 MB, free: 2.48 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.067e-05/0.004258, allocations: 8.375 kB / 323 MB, free: 2.473 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.476e-05/0.004273, allocations: 16.36 kB / 323 MB, free: 2.457 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000331/0.004604, allocations: 277.1 kB / 323.3 MB, free: 2.168 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.915e-06/0.004612, allocations: 192 / 323.3 MB, free: 2.168 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.158e-05/0.004624, allocations: 4.375 kB / 323.3 MB, free: 2.164 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.26e-06/0.004629, allocations: 7.938 kB / 323.3 MB, free: 2.156 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.077e-05/0.00471, allocations: 51.91 kB / 323.3 MB, free: 2.105 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002361/0.004946, allocations: 226.3 kB / 323.6 MB, free: 1.848 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001543/0.0051, allocations: 127.8 kB / 323.7 MB, free: 1.695 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.216e-05/0.005172, allocations: 66.66 kB / 323.8 MB, free: 1.621 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.165e-05/0.005194, allocations: 4 kB / 323.8 MB, free: 1.617 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.154e-05/0.005216, allocations: 42.48 kB / 323.8 MB, free: 1.566 MB / 282.7 MB Notification: Performance of pre-optimization done (n=17): time 9.42e-07/0.005216, allocations: 0 / 323.8 MB, free: 1.566 MB / 282.7 MB Notification: Performance of matching and sorting (n=17): time 0.0002627/0.005479, allocations: 182.1 kB / 324 MB, free: 1.383 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.974e-05/0.005539, allocations: 114.8 kB / 324.1 MB, free: 1.246 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.456e-05/0.005623, allocations: 154.2 kB / 324.2 MB, free: 1.086 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.151e-05/0.005635, allocations: 29.7 kB / 324.3 MB, free: 1.051 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.798e-05/0.005673, allocations: 92.09 kB / 324.4 MB, free: 0.957 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.534e-05/0.005688, allocations: 15.94 kB / 324.4 MB, free: 0.9414 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.674e-05/0.005715, allocations: 17.72 kB / 324.4 MB, free: 0.918 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 7.228e-05/0.005787, allocations: 322.8 kB / 324.7 MB, free: 0.5938 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.865e-05/0.005816, allocations: 19.98 kB / 324.7 MB, free: 0.5742 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.79e-05/0.005854, allocations: 48.41 kB / 324.8 MB, free: 0.5117 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.141e-05/0.005925, allocations: 68.22 kB / 324.8 MB, free: 440 kB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.026e-06/0.005928, allocations: 4 kB / 324.8 MB, free: 436 kB / 282.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 9.911e-05/0.006027, allocations: 101.5 kB / 324.9 MB, free: 328 kB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.159e-05/0.006039, allocations: 11.94 kB / 325 MB, free: 316 kB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.328e-06/0.006043, allocations: 80 / 325 MB, free: 316 kB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.859e-06/0.006053, allocations: 0 / 325 MB, free: 316 kB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.684e-05/0.0061, allocations: 11.98 kB / 325 MB, free: 304 kB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.89e-06/0.006105, allocations: 3.984 kB / 325 MB, free: 300 kB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.446e-05/0.006129, allocations: 7.938 kB / 325 MB, free: 292 kB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.616e-06/0.006138, allocations: 8 kB / 325 MB, free: 284 kB / 282.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 6.578e-05/0.006204, allocations: 133.7 kB / 325.1 MB, free: 140 kB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001039/0.006308, allocations: 117.5 kB / 325.2 MB, free: 16 kB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.185e-05/0.00635, allocations: 28.84 kB / 325.3 MB, free: 15.98 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.635e-06/0.006352, allocations: 4 kB / 325.3 MB, free: 15.98 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.09e-06/0.006357, allocations: 4 kB / 325.3 MB, free: 15.98 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.537e-06/0.006361, allocations: 4 kB / 325.3 MB, free: 15.97 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.453e-05/0.006455, allocations: 125.2 kB / 325.4 MB, free: 15.82 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.006456, allocations: 0 / 325.4 MB, free: 15.82 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.411e-05/0.00651, allocations: 27.92 kB / 325.4 MB, free: 15.79 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.774e-06/0.006512, allocations: 0 / 325.4 MB, free: 15.79 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.121e-05/0.006523, allocations: 20.19 kB / 325.4 MB, free: 15.77 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.042e-06/0.006524, allocations: 0 / 325.4 MB, free: 15.77 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.352e-06/0.006526, allocations: 8 kB / 325.5 MB, free: 15.77 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001664/0.006692, allocations: 245 kB / 325.7 MB, free: 15.5 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.602e-05/0.006728, allocations: 27.81 kB / 325.7 MB, free: 15.48 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.849e-05/0.006747, allocations: 15.92 kB / 325.7 MB, free: 15.46 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.158e-05/0.006788, allocations: 8 kB / 325.7 MB, free: 15.45 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.828e-05/0.006817, allocations: 0 / 325.7 MB, free: 15.45 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.581e-06/0.006822, allocations: 4 kB / 325.7 MB, free: 15.45 MB / 298.7 MB Notification: Performance of sorting global known variables: time 5.071e-05/0.006873, allocations: 118.3 kB / 325.9 MB, free: 15.34 MB / 298.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.006873, allocations: 0 / 325.9 MB, free: 15.34 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001505/0.007023, allocations: 15.95 kB / 325.9 MB, free: 15.32 MB / 298.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.617e-05/0.00709, allocations: 111.2 kB / 326 MB, free: 15.2 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001226/0.007212, allocations: 74.66 kB / 326.1 MB, free: 15.13 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.007214, allocations: 0 / 326.1 MB, free: 15.13 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 1.735e-05/0.007231, allocations: 8 kB / 326.1 MB, free: 15.12 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002774/0.007509, allocations: 67.92 kB / 326.1 MB, free: 15.06 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003283/0.007837, allocations: 285.6 kB / 326.4 MB, free: 14.74 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.304e-05/0.0079, allocations: 113.7 kB / 326.5 MB, free: 14.61 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.829e-05/0.007928, allocations: 16.48 kB / 326.5 MB, free: 14.59 MB / 298.7 MB Notification: Performance of SimCode: time 2.5e-07/0.007929, allocations: 0 / 326.5 MB, free: 14.59 MB / 298.7 MB Notification: Performance of Templates: time 0.0018/0.009729, allocations: 1.397 MB / 327.9 MB, free: 13.2 MB / 298.7 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: 3.835911857895553]