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/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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) 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) 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/Complex 4.0.0+maint.om/package.mo): time 0.001765/0.001765, allocations: 188.9 kB / 17.27 MB, free: 4.504 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.552/1.552, allocations: 222.9 MB / 240.9 MB, free: 10.98 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001108/0.001108, allocations: 100.7 kB / 291.2 MB, free: 10.93 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0008839/0.0008842, allocations: 35.94 kB / 350 MB, free: 72 kB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3899/0.3908, allocations: 49.45 MB / 399.5 MB, free: 33.35 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.UpSample): time 0.004343/0.3952, allocations: 2.023 MB / 401.5 MB, free: 31.32 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.002051/0.3973, allocations: 1.089 MB / 402.6 MB, free: 30.23 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003285/0.3976, allocations: 3.938 kB / 402.6 MB, free: 30.22 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007318/0.3984, allocations: 139.6 kB / 402.7 MB, free: 30.09 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000313/0.3988, allocations: 103.7 kB / 402.8 MB, free: 29.98 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007998/0.3996, allocations: 232.6 kB / 403.1 MB, free: 29.76 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002406/0.3998, allocations: 215.4 kB / 403.3 MB, free: 29.55 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001356/0.4, allocations: 48.28 kB / 403.3 MB, free: 29.5 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.856e-05/0.4001, allocations: 87.56 kB / 403.4 MB, free: 29.42 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001106/0.4002, allocations: 87.59 kB / 403.5 MB, free: 29.33 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.821e-05/0.4002, allocations: 8 kB / 403.5 MB, free: 29.32 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001316/0.4004, allocations: 43.97 kB / 403.5 MB, free: 29.28 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 6.692e-05/0.4004, allocations: 55.7 kB / 403.6 MB, free: 29.23 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 9.599e-05/0.4005, allocations: 79.47 kB / 403.7 MB, free: 29.15 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002608/0.4008, allocations: 244.7 kB / 403.9 MB, free: 28.91 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.688e-06/0.4008, allocations: 0 / 403.9 MB, free: 28.91 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.102e-06/0.4008, allocations: 4 kB / 403.9 MB, free: 28.91 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.438e-06/0.4008, allocations: 0 / 403.9 MB, free: 28.91 MB / 298.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.0008997/0.4018, allocations: 0.5391 MB / 404.5 MB, free: 28.31 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.855e-05/0.4018, allocations: 8.031 kB / 404.5 MB, free: 28.3 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.889e-05/0.4019, allocations: 32.5 kB / 404.5 MB, free: 28.27 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003756/0.4023, allocations: 278.8 kB / 404.8 MB, free: 27.96 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.519e-05/0.4023, allocations: 12.38 kB / 404.8 MB, free: 27.95 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.312e-05/0.4024, allocations: 24.05 kB / 404.8 MB, free: 27.93 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000537/0.4029, allocations: 296.7 kB / 405.1 MB, free: 27.62 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.57e-05/0.4029, allocations: 3.938 kB / 405.1 MB, free: 27.61 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.265e-05/0.403, allocations: 8 kB / 405.1 MB, free: 27.61 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.823e-06/0.403, allocations: 0 / 405.1 MB, free: 27.61 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001424/0.4031, allocations: 55.97 kB / 405.2 MB, free: 27.55 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005005/0.4036, allocations: 390.2 kB / 405.5 MB, free: 27.11 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002752/0.4039, allocations: 176 kB / 405.7 MB, free: 26.91 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001127/0.404, allocations: 82.55 kB / 405.8 MB, free: 26.82 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.434e-05/0.4041, allocations: 16 kB / 405.8 MB, free: 26.81 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001596/0.4042, allocations: 71.3 kB / 405.9 MB, free: 26.73 MB / 298.7 MB Notification: Performance of pre-optimization done (n=22): time 1.773e-06/0.4043, allocations: 0 / 405.9 MB, free: 26.73 MB / 298.7 MB Notification: Performance of matching and sorting (n=22): time 0.0005056/0.4048, allocations: 221.5 kB / 406.1 MB, free: 26.5 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.792e-05/0.4049, allocations: 152.4 kB / 406.2 MB, free: 26.32 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002183/0.4051, allocations: 265 kB / 406.5 MB, free: 26.06 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.773e-05/0.4051, allocations: 29.7 kB / 406.5 MB, free: 26.02 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.907e-05/0.4052, allocations: 120.6 kB / 406.6 MB, free: 25.9 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.64e-05/0.4052, allocations: 31.69 kB / 406.7 MB, free: 25.87 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.434e-05/0.4053, allocations: 49.94 kB / 406.7 MB, free: 25.82 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 6.242e-05/0.4053, allocations: 338.8 kB / 407.1 MB, free: 25.48 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.22e-05/0.4054, allocations: 48.44 kB / 407.1 MB, free: 25.43 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001208/0.4055, allocations: 171.7 kB / 407.3 MB, free: 25.2 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001931/0.4057, allocations: 199.2 kB / 407.5 MB, free: 24.95 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.078e-06/0.4058, allocations: 4 kB / 407.5 MB, free: 24.95 MB / 298.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0002807/0.406, allocations: 225.1 kB / 407.7 MB, free: 24.72 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.764e-05/0.4061, allocations: 8 kB / 407.7 MB, free: 24.71 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.023e-06/0.4061, allocations: 4 kB / 407.7 MB, free: 24.71 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.02e-05/0.4061, allocations: 4 kB / 407.7 MB, free: 24.71 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.43e-05/0.4062, allocations: 24.3 kB / 407.7 MB, free: 24.68 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.201e-05/0.4062, allocations: 11.88 kB / 407.7 MB, free: 24.67 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000101/0.4063, allocations: 24.19 kB / 407.8 MB, free: 24.65 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.392e-05/0.4064, allocations: 16 kB / 407.8 MB, free: 24.63 MB / 298.7 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.0001292/0.4065, allocations: 176.3 kB / 408 MB, free: 24.45 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001468/0.4066, allocations: 121.3 kB / 408.1 MB, free: 24.33 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.166e-05/0.4067, allocations: 29.7 kB / 408.1 MB, free: 24.3 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.158e-06/0.4067, allocations: 4 kB / 408.1 MB, free: 24.29 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.542e-06/0.4068, allocations: 0 / 408.1 MB, free: 24.29 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.911e-06/0.4068, allocations: 3.938 kB / 408.1 MB, free: 24.29 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001579/0.4069, allocations: 249.5 kB / 408.4 MB, free: 24 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.823e-06/0.4069, allocations: 4 kB / 408.4 MB, free: 23.99 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.221e-05/0.407, allocations: 11.94 kB / 408.4 MB, free: 23.98 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.175e-06/0.407, allocations: 0 / 408.4 MB, free: 23.98 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.33e-05/0.407, allocations: 8 kB / 408.4 MB, free: 23.97 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.005e-06/0.407, allocations: 8.047 kB / 408.4 MB, free: 23.96 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.407, allocations: 0 / 408.4 MB, free: 23.96 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005541/0.4076, allocations: 0.8555 MB / 409.2 MB, free: 23.04 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.794e-05/0.4077, allocations: 124.7 kB / 409.4 MB, free: 22.9 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.376e-05/0.4077, allocations: 4 kB / 409.4 MB, free: 22.9 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.492e-05/0.4078, allocations: 8 kB / 409.4 MB, free: 22.89 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.612e-05/0.4078, allocations: 7.984 kB / 409.4 MB, free: 22.88 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.861e-05/0.4079, allocations: 8 kB / 409.4 MB, free: 22.88 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001492/0.408, allocations: 196.5 kB / 409.6 MB, free: 22.68 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.408, allocations: 4 kB / 409.6 MB, free: 22.68 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0004494/0.4085, allocations: 40 kB / 409.6 MB, free: 22.64 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: 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.001005/0.4095, allocations: 424.7 kB / 410 MB, free: 22.38 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0002961/0.4098, allocations: 140.8 kB / 410.2 MB, free: 22.24 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.4098, allocations: 4.062 kB / 410.2 MB, free: 22.23 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 6.251e-05/0.4099, allocations: 23.92 kB / 410.2 MB, free: 22.21 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004837/0.4104, allocations: 122.8 kB / 410.3 MB, free: 22.09 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000718/0.4111, allocations: 0.6075 MB / 410.9 MB, free: 21.43 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002068/0.4113, allocations: 0.756 MB / 411.7 MB, free: 20.65 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 8.574e-05/0.4114, allocations: 37.91 kB / 411.7 MB, free: 20.61 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.769e-05/0.4115, allocations: 23.44 kB / 411.7 MB, free: 20.59 MB / 298.7 MB Notification: Performance of SimCode: time 2.1e-07/0.4115, allocations: 0 / 411.7 MB, free: 20.59 MB / 298.7 MB Notification: Performance of Templates: time 0.005931/0.4174, allocations: 2.957 MB / 414.7 MB, free: 17.66 MB / 298.7 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/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/UpSample/UpSample.csv","../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.UpSample.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches