Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.UpSample.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.002325/0.002325, allocations: 114.2 kB / 19.04 MB, free: 3.281 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.002471/0.002471, allocations: 188.5 kB / 22.21 MB, free: 112 kB / 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.604/1.604, allocations: 225.6 MB / 250.8 MB, free: 13.39 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.BooleanSignals.UpSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5030,variableFilter="time|upSample1.y|upSample2.y|and1.y",fileNamePrefix="Modelica_4.0.0_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_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.UpSample") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001525/0.001525, allocations: 47.92 kB / 368.7 MB, free: 10.2 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3082/0.3097, allocations: 52.15 MB / 420.9 MB, free: 15.11 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.UpSample): time 0.003895/0.3136, allocations: 2.01 MB / 422.9 MB, free: 13.09 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001963/0.3155, allocations: 1.134 MB / 424 MB, free: 11.95 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000118/0.3157, allocations: 4 kB / 424 MB, free: 11.95 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005794/0.3162, allocations: 159.1 kB / 424.2 MB, free: 11.79 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003807/0.3166, allocations: 119.5 kB / 424.3 MB, free: 11.68 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007151/0.3173, allocations: 250.7 kB / 424.5 MB, free: 11.43 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003365/0.3177, allocations: 219.4 kB / 424.7 MB, free: 11.22 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001267/0.3178, allocations: 32.3 kB / 424.8 MB, free: 11.18 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001257/0.3179, allocations: 95.55 kB / 424.9 MB, free: 11.09 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000139/0.3181, allocations: 99.53 kB / 425 MB, free: 10.99 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.802e-05/0.3181, allocations: 12 kB / 425 MB, free: 10.98 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001367/0.3182, allocations: 63.95 kB / 425 MB, free: 10.92 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.017e-05/0.3183, allocations: 55.77 kB / 425.1 MB, free: 10.86 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001021/0.3184, allocations: 87.41 kB / 425.2 MB, free: 10.78 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003685/0.3188, allocations: 260.2 kB / 425.4 MB, free: 10.53 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.587e-06/0.3188, allocations: 3.938 kB / 425.4 MB, free: 10.53 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.383e-06/0.3188, allocations: 0 / 425.4 MB, free: 10.53 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.981e-06/0.3188, allocations: 0 / 425.4 MB, free: 10.53 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: 31 * Number of variables: 31 Notification: Performance of Generate backend data structure: time 0.0008792/0.3197, allocations: 0.5543 MB / 426 MB, free: 9.918 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.897e-05/0.3197, allocations: 15.89 kB / 426 MB, free: 9.902 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.603e-05/0.3198, allocations: 28.8 kB / 426 MB, free: 9.875 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004516/0.3202, allocations: 290.8 kB / 426.3 MB, free: 9.555 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.071e-05/0.3203, allocations: 8.375 kB / 426.3 MB, free: 9.547 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.609e-05/0.3203, allocations: 16.12 kB / 426.3 MB, free: 9.531 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006267/0.3209, allocations: 294.5 kB / 426.6 MB, free: 9.223 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.165e-05/0.3209, allocations: 8 kB / 426.6 MB, free: 9.215 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.022e-05/0.3209, allocations: 4 kB / 426.6 MB, free: 9.211 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.845e-06/0.321, allocations: 4 kB / 426.6 MB, free: 9.207 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001639/0.3211, allocations: 55.91 kB / 426.7 MB, free: 9.152 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006067/0.3217, allocations: 390.3 kB / 427.1 MB, free: 8.715 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003401/0.3221, allocations: 164 kB / 427.2 MB, free: 8.527 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000154/0.3222, allocations: 82.48 kB / 427.3 MB, free: 8.438 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.554e-05/0.3223, allocations: 4 kB / 427.3 MB, free: 8.434 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001771/0.3224, allocations: 75.39 kB / 427.4 MB, free: 8.348 MB / 334.1 MB Notification: Performance of pre-optimization done (n=22): time 1.643e-06/0.3224, allocations: 0 / 427.4 MB, free: 8.348 MB / 334.1 MB Notification: Performance of matching and sorting (n=22): time 0.0005501/0.323, allocations: 229.4 kB / 427.6 MB, free: 8.117 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001311/0.3231, allocations: 148.8 kB / 427.8 MB, free: 7.941 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003237/0.3234, allocations: 272.9 kB / 428 MB, free: 7.66 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.699e-05/0.3235, allocations: 37.7 kB / 428.1 MB, free: 7.617 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001028/0.3236, allocations: 112.7 kB / 428.2 MB, free: 7.504 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.812e-05/0.3236, allocations: 27.84 kB / 428.2 MB, free: 7.477 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.195e-05/0.3237, allocations: 53.89 kB / 428.3 MB, free: 7.418 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001959/0.3239, allocations: 335.1 kB / 428.6 MB, free: 7.082 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.914e-05/0.324, allocations: 40.45 kB / 428.6 MB, free: 7.043 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002052/0.3242, allocations: 167.5 kB / 428.8 MB, free: 6.82 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003071/0.3245, allocations: 203.2 kB / 429 MB, free: 6.566 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.186e-06/0.3245, allocations: 3.938 kB / 429 MB, free: 6.562 MB / 334.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0003695/0.3249, allocations: 221.5 kB / 429.2 MB, free: 6.34 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.66e-05/0.3249, allocations: 12.06 kB / 429.2 MB, free: 6.328 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.364e-06/0.3249, allocations: 4 kB / 429.2 MB, free: 6.324 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.836e-05/0.3249, allocations: 8 kB / 429.2 MB, free: 6.316 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.731e-05/0.325, allocations: 27.86 kB / 429.3 MB, free: 6.289 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.748e-05/0.325, allocations: 15.97 kB / 429.3 MB, free: 6.273 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001108/0.3251, allocations: 23.83 kB / 429.3 MB, free: 6.25 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.974e-05/0.3252, allocations: 8 kB / 429.3 MB, free: 6.242 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * Number of states: 0 () * Number of discrete variables: 26 ($PRE.table1.combiTimeTable.nextTimeEvent,$whenCondition1,table1.combiTimeTable.nextTimeEventScaled,$PRE.table1.combiTimeTable.nextTimeEventScaled,table1.combiTimeTable.nextTimeEvent,table1.y,and1.y,and1.u2,and1.u1,upSample2.u_super,$CLKPRE.upSample2.b_super,upSample2.b_super,upSample2.y,upSample1.u_super,$CLKPRE.upSample1.b_super,upSample1.b_super,upSample1.y,$CLKPRE.upSample2.b,upSample2.b,upSample2.dummy,upSample2.u,$CLKPRE.upSample1.b,upSample1.b,upSample1.dummy,upSample1.u,sample1.y) * 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 (28): * Single equations (assignments): 28 * 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.0001763/0.3253, allocations: 176.2 kB / 429.5 MB, free: 6.062 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002001/0.3255, allocations: 125.5 kB / 429.6 MB, free: 5.934 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002463/0.3258, allocations: 119.3 kB / 429.7 MB, free: 5.809 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.62e-06/0.3258, allocations: 4 kB / 429.7 MB, free: 5.805 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.957e-06/0.3258, allocations: 0 / 429.7 MB, free: 5.805 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.406e-06/0.3258, allocations: 7.938 kB / 429.7 MB, free: 5.797 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002444/0.326, allocations: 241.5 kB / 430 MB, free: 5.512 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.853e-06/0.326, allocations: 0 / 430 MB, free: 5.512 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.17e-05/0.3261, allocations: 11.98 kB / 430 MB, free: 5.5 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.525e-06/0.3261, allocations: 0 / 430 MB, free: 5.5 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.821e-05/0.3261, allocations: 12 kB / 430 MB, free: 5.488 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.914e-06/0.3261, allocations: 3.938 kB / 430 MB, free: 5.484 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.173e-06/0.3261, allocations: 0 / 430 MB, free: 5.484 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003619/0.3265, allocations: 218.5 kB / 430.2 MB, free: 5.246 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001165/0.3266, allocations: 120.9 kB / 430.3 MB, free: 5.109 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.097e-05/0.3266, allocations: 11.98 kB / 430.3 MB, free: 5.098 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.781e-05/0.3267, allocations: 12 kB / 430.3 MB, free: 5.086 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.841e-05/0.3267, allocations: 4 kB / 430.4 MB, free: 5.082 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.106e-05/0.3268, allocations: 7.984 kB / 430.4 MB, free: 5.074 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002212/0.327, allocations: 200.5 kB / 430.6 MB, free: 4.879 MB / 334.1 MB Notification: Performance of sort global known variables: time 8e-08/0.327, allocations: 0 / 430.6 MB, free: 4.879 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003107/0.3273, allocations: 47.81 kB / 430.6 MB, free: 4.832 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: 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 (22): * Single equations (assignments): 20 * 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.001532/0.3288, allocations: 429.6 kB / 431 MB, free: 4.562 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0003426/0.3292, allocations: 135.8 kB / 431.2 MB, free: 4.43 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.454e-06/0.3292, allocations: 0 / 431.2 MB, free: 4.43 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 6.958e-05/0.3292, allocations: 23.92 kB / 431.2 MB, free: 4.406 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004842/0.3297, allocations: 109.6 kB / 431.3 MB, free: 4.301 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007037/0.3304, allocations: 405 kB / 431.7 MB, free: 3.875 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000403/0.3308, allocations: 0.7556 MB / 432.4 MB, free: 3.09 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 8.568e-05/0.3309, allocations: 34.41 kB / 432.5 MB, free: 3.055 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.856e-05/0.331, allocations: 27.42 kB / 432.5 MB, free: 3.027 MB / 334.1 MB Notification: Performance of SimCode: time 4.41e-07/0.331, allocations: 0 / 432.5 MB, free: 3.027 MB / 334.1 MB Notification: Performance of Templates: time 0.007221/0.3382, allocations: 3.082 MB / 435.6 MB, free: 15.97 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.UpSample.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.UpSample.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.UpSample.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.UpSample.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.UpSample.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.UpSample -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.UpSample.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.UpSample_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/UpSample/UpSample.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.UpSample.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.9747572392225266]