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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) 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=5000,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=5000,variableFilter="time|upSample1.y|upSample2.y|and1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.UpSample") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001305/0.001305, allocations: 112.3 kB / 17.74 MB, free: 5.336 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001286/0.001286, allocations: 187 kB / 18.67 MB, free: 4.41 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.364/1.364, allocations: 222.9 MB / 242.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009472/0.0009472, allocations: 43.94 kB / 352 MB, free: 3.254 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2947/0.2957, allocations: 49.43 MB / 401.4 MB, free: 8.742 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.UpSample): time 0.003461/0.2992, allocations: 1.99 MB / 403.4 MB, free: 6.875 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001801/0.3011, allocations: 1.103 MB / 404.5 MB, free: 5.766 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001196/0.3012, allocations: 8 kB / 404.5 MB, free: 5.758 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005911/0.3018, allocations: 158.9 kB / 404.6 MB, free: 5.605 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002941/0.3021, allocations: 115.5 kB / 404.8 MB, free: 5.492 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006409/0.3028, allocations: 241.5 kB / 405 MB, free: 5.258 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002749/0.303, allocations: 227.4 kB / 405.2 MB, free: 5.035 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001388/0.3032, allocations: 52.27 kB / 405.3 MB, free: 4.98 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000121/0.3033, allocations: 91.56 kB / 405.4 MB, free: 4.891 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001333/0.3035, allocations: 91.61 kB / 405.5 MB, free: 4.801 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.11e-05/0.3035, allocations: 12 kB / 405.5 MB, free: 4.789 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001375/0.3036, allocations: 59.97 kB / 405.5 MB, free: 4.73 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 7.834e-05/0.3037, allocations: 63.69 kB / 405.6 MB, free: 4.668 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 9.198e-05/0.3038, allocations: 79.48 kB / 405.7 MB, free: 4.59 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003269/0.3042, allocations: 260.2 kB / 405.9 MB, free: 4.34 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.3042, allocations: 0 / 405.9 MB, free: 4.34 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.3042, allocations: 0 / 405.9 MB, free: 4.34 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.24e-06/0.3042, allocations: 0 / 405.9 MB, free: 4.34 MB / 318.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.0007693/0.305, allocations: 0.5429 MB / 406.5 MB, free: 3.742 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.293e-05/0.305, allocations: 15.89 kB / 406.5 MB, free: 3.727 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.519e-05/0.3051, allocations: 28.66 kB / 406.5 MB, free: 3.699 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003523/0.3054, allocations: 286.7 kB / 406.8 MB, free: 3.383 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.755e-05/0.3055, allocations: 8.375 kB / 406.8 MB, free: 3.375 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.894e-05/0.3055, allocations: 16.12 kB / 406.8 MB, free: 3.359 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005142/0.306, allocations: 302.7 kB / 407.1 MB, free: 3.043 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.648e-06/0.3061, allocations: 3.938 kB / 407.1 MB, free: 3.039 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.761e-05/0.3061, allocations: 8 kB / 407.1 MB, free: 3.031 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.173e-06/0.3061, allocations: 4 kB / 407.1 MB, free: 3.027 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001361/0.3062, allocations: 59.91 kB / 407.2 MB, free: 2.969 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004978/0.3067, allocations: 386.3 kB / 407.6 MB, free: 2.535 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003037/0.3071, allocations: 175.8 kB / 407.7 MB, free: 2.336 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001262/0.3072, allocations: 82.67 kB / 407.8 MB, free: 2.246 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.442e-05/0.3072, allocations: 4 kB / 407.8 MB, free: 2.242 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000145/0.3074, allocations: 75.39 kB / 407.9 MB, free: 2.156 MB / 318.1 MB Notification: Performance of pre-optimization done (n=22): time 1.573e-06/0.3074, allocations: 0 / 407.9 MB, free: 2.156 MB / 318.1 MB Notification: Performance of matching and sorting (n=22): time 0.0004656/0.3079, allocations: 229.3 kB / 408.1 MB, free: 1.926 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.656e-05/0.308, allocations: 144.5 kB / 408.2 MB, free: 1.754 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002705/0.3082, allocations: 272.9 kB / 408.5 MB, free: 1.473 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.482e-05/0.3083, allocations: 37.64 kB / 408.5 MB, free: 1.43 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.251e-05/0.3084, allocations: 120.6 kB / 408.7 MB, free: 1.309 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.118e-05/0.3084, allocations: 23.8 kB / 408.7 MB, free: 1.285 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.435e-05/0.3085, allocations: 53.84 kB / 408.7 MB, free: 1.227 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001358/0.3086, allocations: 342.8 kB / 409.1 MB, free: 0.8828 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.879e-05/0.3087, allocations: 36.69 kB / 409.1 MB, free: 0.8477 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001643/0.3089, allocations: 170.7 kB / 409.3 MB, free: 0.6211 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002313/0.3091, allocations: 211.2 kB / 409.5 MB, free: 368 kB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/0.3091, allocations: 0 / 409.5 MB, free: 368 kB / 318.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0003292/0.3095, allocations: 225.5 kB / 409.7 MB, free: 136 kB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.385e-05/0.3095, allocations: 4 kB / 409.7 MB, free: 132 kB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.095e-06/0.3095, allocations: 12.02 kB / 409.7 MB, free: 120 kB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.712e-05/0.3095, allocations: 8 kB / 409.7 MB, free: 112 kB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.664e-05/0.3096, allocations: 19.94 kB / 409.8 MB, free: 92 kB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.242e-05/0.3096, allocations: 12.3 kB / 409.8 MB, free: 80 kB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001011/0.3097, allocations: 19.88 kB / 409.8 MB, free: 60 kB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.551e-05/0.3098, allocations: 12 kB / 409.8 MB, free: 48 kB / 318.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.0001627/0.3099, allocations: 163.9 kB / 410 MB, free: 15.88 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001756/0.3101, allocations: 137.2 kB / 410.1 MB, free: 15.74 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.851e-05/0.3102, allocations: 29.7 kB / 410.1 MB, free: 15.71 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.715e-06/0.3102, allocations: 0 / 410.1 MB, free: 15.71 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.366e-06/0.3102, allocations: 4 kB / 410.1 MB, free: 15.7 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.72e-06/0.3102, allocations: 3.938 kB / 410.1 MB, free: 15.7 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002053/0.3104, allocations: 245.5 kB / 410.4 MB, free: 15.41 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.316e-06/0.3104, allocations: 4 kB / 410.4 MB, free: 15.41 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.371e-05/0.3105, allocations: 7.938 kB / 410.4 MB, free: 15.4 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.717e-06/0.3105, allocations: 4 kB / 410.4 MB, free: 15.39 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.216e-05/0.3105, allocations: 4 kB / 410.4 MB, free: 15.39 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.995e-06/0.3105, allocations: 8.062 kB / 410.4 MB, free: 15.38 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.377e-06/0.3105, allocations: 8.375 kB / 410.4 MB, free: 15.38 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003234/0.3108, allocations: 220 kB / 410.6 MB, free: 15.14 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001055/0.311, allocations: 120.7 kB / 410.7 MB, free: 15 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.764e-05/0.311, allocations: 7.984 kB / 410.7 MB, free: 14.99 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.565e-05/0.3111, allocations: 8 kB / 410.7 MB, free: 14.98 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.048e-05/0.3111, allocations: 8 kB / 410.8 MB, free: 14.98 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.235e-05/0.3112, allocations: 15.98 kB / 410.8 MB, free: 14.96 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001769/0.3113, allocations: 200.4 kB / 411 MB, free: 14.77 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.3113, allocations: 0 / 411 MB, free: 14.77 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002887/0.3116, allocations: 43.94 kB / 411 MB, free: 14.72 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.nextTimeEventScaled,table1.combiTimeTable.nextTimeEvent) * 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.0009655/0.3126, allocations: 436.2 kB / 411.4 MB, free: 14.45 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002945/0.3129, allocations: 135.8 kB / 411.6 MB, free: 14.31 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.824e-06/0.3129, allocations: 0 / 411.6 MB, free: 14.31 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 6.567e-05/0.313, allocations: 27.98 kB / 411.6 MB, free: 14.29 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004653/0.3135, allocations: 110.7 kB / 411.7 MB, free: 14.18 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006193/0.3141, allocations: 425.5 kB / 412.1 MB, free: 13.73 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003255/0.3144, allocations: 0.7517 MB / 412.9 MB, free: 12.95 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.36e-05/0.3145, allocations: 31.42 kB / 412.9 MB, free: 12.92 MB / 334.1 MB Notification: Performance of SimCode: time 2e-07/0.3145, allocations: 288 / 412.9 MB, free: 12.92 MB / 334.1 MB Notification: Performance of Templates: time 0.005525/0.32, allocations: 3.273 MB / 416.2 MB, free: 9.66 MB / 334.1 MB make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.UpSample.makefile (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) diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.UpSample_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/UpSample/UpSample.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.UpSample.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches