Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.UpSample.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.001218/0.001218, allocations: 80.11 kB / 9.934 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001994/0.003212, allocations: 449.7 kB / 10.37 MB, free: 324 kB / 10.45 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.0013/0.0013, allocations: 165.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001569/0.002869, allocations: 463.6 kB / 11.72 MB, free: 2.453 MB / 13.93 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 0.9914/0.9914, allocations: 177.4 MB / 189.9 MB, free: 4.836 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1006/1.092, allocations: 53.87 MB / 243.8 MB, free: 14.91 MB / 250.7 MB " [Timeout remaining time 179] 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.BooleanSignals.UpSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5030,variableFilter="time|upSample1.y|upSample2.y|and1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.UpSample") translateModel(Modelica.Clocked.Examples.Elementary.BooleanSignals.UpSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5030,variableFilter="time|upSample1.y|upSample2.y|and1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.UpSample") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.122e-06/1.122e-06, allocations: 0 / 245 MB, free: 13.66 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.674e-05/1.786e-05, allocations: 2.312 kB / 245 MB, free: 13.66 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.UpSample): time 0.00244/0.002458, allocations: 2.088 MB / 247.1 MB, free: 11.55 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001443/0.003902, allocations: 1.261 MB / 248.4 MB, free: 10.28 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.529e-05/0.003997, allocations: 7.938 kB / 248.4 MB, free: 10.27 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003125/0.00431, allocations: 155.2 kB / 248.5 MB, free: 10.12 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000246/0.004556, allocations: 167.3 kB / 248.7 MB, free: 9.957 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000376/0.004932, allocations: 222.4 kB / 248.9 MB, free: 9.742 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002057/0.005137, allocations: 223.3 kB / 249.1 MB, free: 9.523 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.362e-05/0.005221, allocations: 34.53 kB / 249.2 MB, free: 9.492 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001654/0.005386, allocations: 171.5 kB / 249.3 MB, free: 9.324 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.418e-05/0.00548, allocations: 79.77 kB / 249.4 MB, free: 9.246 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.159e-05/0.005502, allocations: 19.94 kB / 249.4 MB, free: 9.227 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000106/0.005608, allocations: 63.91 kB / 249.5 MB, free: 9.164 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 4.845e-05/0.005657, allocations: 43.86 kB / 249.5 MB, free: 9.121 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 4.216e-05/0.005699, allocations: 39.88 kB / 249.6 MB, free: 9.082 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001971/0.005896, allocations: 183.3 kB / 249.7 MB, free: 8.902 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.026e-05/0.005906, allocations: 0 / 249.7 MB, free: 8.902 MB / 250.7 MB Notification: Performance of FrontEnd: time 7.02e-07/0.005907, allocations: 0 / 249.7 MB, free: 8.902 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.409e-05/0.005921, allocations: 0 / 249.7 MB, free: 8.902 MB / 250.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 31 * Number of variables: 31 Notification: Performance of Generate backend data structure: time 0.0005004/0.006421, allocations: 0.4889 MB / 250.2 MB, free: 8.383 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.461e-05/0.006446, allocations: 12.03 kB / 250.2 MB, free: 8.371 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.063e-05/0.006487, allocations: 28.91 kB / 250.3 MB, free: 8.344 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002038/0.00669, allocations: 229.4 kB / 250.5 MB, free: 8.094 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.641e-05/0.006707, allocations: 12.38 kB / 250.5 MB, free: 8.082 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.341e-05/0.00672, allocations: 12.38 kB / 250.5 MB, free: 8.07 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002401/0.00696, allocations: 245 kB / 250.8 MB, free: 7.809 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.705e-06/0.006968, allocations: 192 / 250.8 MB, free: 7.809 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.706e-06/0.006977, allocations: 8.375 kB / 250.8 MB, free: 7.801 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.222e-06/0.006983, allocations: 3.938 kB / 250.8 MB, free: 7.797 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.873e-05/0.007032, allocations: 30.75 kB / 250.8 MB, free: 7.766 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002507/0.007282, allocations: 211.6 kB / 251 MB, free: 7.535 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001395/0.007422, allocations: 178.4 kB / 251.2 MB, free: 7.332 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.444e-05/0.007466, allocations: 54.69 kB / 251.2 MB, free: 7.27 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.953e-05/0.007486, allocations: 4 kB / 251.2 MB, free: 7.266 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.599e-05/0.007572, allocations: 78.08 kB / 251.3 MB, free: 7.176 MB / 250.7 MB Notification: Performance of pre-optimization done (n=22): time 1.192e-06/0.007573, allocations: 0 / 251.3 MB, free: 7.176 MB / 250.7 MB Notification: Performance of matching and sorting (n=22): time 0.0001603/0.007733, allocations: 125.5 kB / 251.4 MB, free: 7.047 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.002e-05/0.007783, allocations: 114.8 kB / 251.5 MB, free: 6.91 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001379/0.007921, allocations: 250.6 kB / 251.8 MB, free: 6.648 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.653e-05/0.007938, allocations: 29.7 kB / 251.8 MB, free: 6.613 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.833e-05/0.007976, allocations: 109 kB / 251.9 MB, free: 6.504 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.174e-05/0.007998, allocations: 35.77 kB / 252 MB, free: 6.469 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.518e-05/0.008033, allocations: 37.67 kB / 252 MB, free: 6.426 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 6.84e-05/0.008101, allocations: 326.8 kB / 252.3 MB, free: 6.098 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.734e-05/0.008119, allocations: 14.81 kB / 252.3 MB, free: 6.082 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.418e-05/0.008163, allocations: 91.2 kB / 252.4 MB, free: 5.969 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.37e-05/0.008227, allocations: 74.75 kB / 252.5 MB, free: 5.875 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.008228, allocations: 0 / 252.5 MB, free: 5.875 MB / 250.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 8.623e-05/0.008314, allocations: 100.3 kB / 252.6 MB, free: 5.77 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.089e-05/0.008325, allocations: 11.94 kB / 252.6 MB, free: 5.758 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.406e-06/0.008329, allocations: 0 / 252.6 MB, free: 5.758 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.725e-06/0.008336, allocations: 4 kB / 252.6 MB, free: 5.754 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.102e-05/0.008387, allocations: 19.92 kB / 252.6 MB, free: 5.734 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.955e-06/0.00839, allocations: 4.156 kB / 252.6 MB, free: 5.73 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.688e-05/0.008427, allocations: 11.94 kB / 252.6 MB, free: 5.719 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.669e-06/0.008432, allocations: 4 kB / 252.6 MB, free: 5.715 MB / 250.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 14 ($PRE.table1.combiTimeTable.nextTimeEvent,$whenCondition1,table1.combiTimeTable.nextTimeEventScaled,$PRE.table1.combiTimeTable.nextTimeEventScaled,table1.combiTimeTable.nextTimeEvent,table1.y,$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 (16): * Single equations (assignments): 16 * 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.616e-05/0.008498, allocations: 128.9 kB / 252.8 MB, free: 5.578 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.648e-05/0.008565, allocations: 93.89 kB / 252.9 MB, free: 5.48 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.234e-05/0.008647, allocations: 75.84 kB / 252.9 MB, free: 5.402 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.066e-06/0.00865, allocations: 4 kB / 252.9 MB, free: 5.398 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.835e-06/0.008653, allocations: 4 kB / 252.9 MB, free: 5.395 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.338e-06/0.008657, allocations: 3.984 kB / 253 MB, free: 5.391 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.865e-05/0.008746, allocations: 121.8 kB / 253.1 MB, free: 5.254 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.008747, allocations: 0 / 253.1 MB, free: 5.254 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.773e-05/0.008775, allocations: 15.92 kB / 253.1 MB, free: 5.238 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.337e-05/0.008818, allocations: 35.78 kB / 253.1 MB, free: 5.203 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.164e-06/0.00882, allocations: 4 kB / 253.1 MB, free: 5.199 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.015e-06/0.008828, allocations: 7.938 kB / 253.1 MB, free: 5.191 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.963e-06/0.00883, allocations: 4 kB / 253.1 MB, free: 5.188 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.81e-07/0.008831, allocations: 0 / 253.1 MB, free: 5.188 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.885e-05/0.0089, allocations: 112.4 kB / 253.2 MB, free: 5.051 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.135e-05/0.008921, allocations: 11.98 kB / 253.3 MB, free: 5.039 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.514e-05/0.008956, allocations: 11.94 kB / 253.3 MB, free: 5.027 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.031e-05/0.008977, allocations: 7.984 kB / 253.3 MB, free: 5.02 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.037e-05/0.008987, allocations: 8 kB / 253.3 MB, free: 5.012 MB / 250.7 MB Notification: Performance of sorting global known variables: time 5.895e-05/0.009046, allocations: 81.61 kB / 253.4 MB, free: 4.93 MB / 250.7 MB Notification: Performance of sort global known variables: time 6e-08/0.009046, allocations: 4 kB / 253.4 MB, free: 4.926 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0001481/0.009194, allocations: 43.88 kB / 253.4 MB, free: 4.883 MB / 250.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: 20 ($whenCondition1,table1.y,table1.combiTimeTable.nextTimeEvent,table1.combiTimeTable.nextTimeEventScaled,upSample1.y,upSample1.b_super,upSample1.u_super,upSample2.y,upSample2.b_super,upSample2.u_super,and1.u1,and1.u2,and1.y,sample1.y,upSample1.u,upSample1.dummy,upSample1.b,upSample2.u,upSample2.dummy,upSample2.b) * Number of discrete states: 2 (table1.combiTimeTable.nextTimeEvent,table1.combiTimeTable.nextTimeEventScaled) * 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 (23): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001167/0.01036, allocations: 0.5603 MB / 254 MB, free: 4.547 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0001044/0.01047, allocations: 74.38 kB / 254 MB, free: 4.473 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 5.901e-06/0.01047, allocations: 4 kB / 254 MB, free: 4.469 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 2.435e-05/0.0105, allocations: 24.78 kB / 254.1 MB, free: 4.441 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002043/0.0107, allocations: 112.5 kB / 254.2 MB, free: 4.328 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004695/0.01117, allocations: 369.3 kB / 254.5 MB, free: 3.93 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.423e-05/0.01121, allocations: 92.3 kB / 254.6 MB, free: 3.82 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 4.257e-05/0.01126, allocations: 30.64 kB / 254.7 MB, free: 3.789 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.388e-05/0.01134, allocations: 95.33 kB / 254.8 MB, free: 3.695 MB / 250.7 MB Notification: Performance of SimCode: time 5.81e-07/0.01134, allocations: 0 / 254.8 MB, free: 3.695 MB / 250.7 MB Notification: Performance of Templates: time 0.00452/0.01586, allocations: 3.445 MB / 258.2 MB, free: 304 kB / 250.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.UpSample.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.UpSample.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.UpSample.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.UpSample.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.UpSample.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.UpSample -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.UpSample.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.UpSample_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/UpSample/UpSample.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.6986293150112033]