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.000989/0.000989, allocations: 87.89 kB / 21.19 MB, free: 3.375 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.0011/0.0011, allocations: 145.1 kB / 24.54 MB, free: 24 kB / 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.9678/0.9678, allocations: 173.4 MB / 201.2 MB, free: 9.324 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.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 1.603e-06/1.603e-06, allocations: 3.938 kB / 268 MB, free: 6.43 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.421e-05/2.581e-05, allocations: 2.312 kB / 268 MB, free: 6.426 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.UpSample): time 0.002724/0.002749, allocations: 2.03 MB / 270 MB, free: 4.375 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.002012/0.004761, allocations: 1.098 MB / 271.1 MB, free: 3.27 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000154/0.004915, allocations: 7.938 kB / 271.1 MB, free: 3.262 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006371/0.005552, allocations: 159.3 kB / 271.3 MB, free: 3.105 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003243/0.005876, allocations: 127.4 kB / 271.4 MB, free: 2.98 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006174/0.006494, allocations: 235.2 kB / 271.6 MB, free: 2.75 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003119/0.006806, allocations: 223.3 kB / 271.9 MB, free: 2.531 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001282/0.006934, allocations: 36.42 kB / 271.9 MB, free: 2.492 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001695/0.007103, allocations: 123.7 kB / 272 MB, free: 2.371 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001284/0.007232, allocations: 83.7 kB / 272.1 MB, free: 2.289 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 3.07e-05/0.007262, allocations: 16 kB / 272.1 MB, free: 2.273 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001497/0.007412, allocations: 67.81 kB / 272.2 MB, free: 2.207 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 7.87e-05/0.007491, allocations: 51.83 kB / 272.2 MB, free: 2.156 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 7.336e-05/0.007564, allocations: 55.78 kB / 272.3 MB, free: 2.102 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003127/0.007877, allocations: 187.2 kB / 272.5 MB, free: 1.918 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.007881, allocations: 0 / 272.5 MB, free: 1.918 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.122e-06/0.007882, allocations: 4 kB / 272.5 MB, free: 1.914 MB / 250.7 MB Notification: Performance of Transformations before backend: time 5.269e-06/0.007887, allocations: 0 / 272.5 MB, free: 1.914 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.0006839/0.008571, allocations: 0.579 MB / 273.1 MB, free: 1.293 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.053e-05/0.008611, allocations: 8.031 kB / 273.1 MB, free: 1.285 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.196e-05/0.008693, allocations: 32.8 kB / 273.1 MB, free: 1.254 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003094/0.009003, allocations: 240.3 kB / 273.3 MB, free: 0.9883 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.771e-05/0.009031, allocations: 12.38 kB / 273.3 MB, free: 0.9766 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.064e-05/0.009051, allocations: 12.38 kB / 273.3 MB, free: 0.9648 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004529/0.009504, allocations: 266 kB / 273.6 MB, free: 0.6797 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.183e-05/0.009516, allocations: 3.938 kB / 273.6 MB, free: 0.6758 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.509e-05/0.009531, allocations: 4 kB / 273.6 MB, free: 0.6719 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.899e-06/0.009541, allocations: 7.938 kB / 273.6 MB, free: 0.6641 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.235e-05/0.009633, allocations: 47.89 kB / 273.7 MB, free: 0.6172 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004482/0.01008, allocations: 362.9 kB / 274 MB, free: 224 kB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002402/0.01032, allocations: 157.4 kB / 274.2 MB, free: 28 kB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001031/0.01042, allocations: 71.03 kB / 274.2 MB, free: 15.95 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.322e-05/0.01045, allocations: 8 kB / 274.3 MB, free: 15.94 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001197/0.01057, allocations: 72.97 kB / 274.3 MB, free: 15.85 MB / 266.7 MB Notification: Performance of pre-optimization done (n=22): time 1.903e-06/0.01057, allocations: 0 / 274.3 MB, free: 15.85 MB / 266.7 MB Notification: Performance of matching and sorting (n=22): time 0.0003691/0.01094, allocations: 205.9 kB / 274.5 MB, free: 15.64 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.642e-05/0.01101, allocations: 114.8 kB / 274.6 MB, free: 15.51 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002298/0.01123, allocations: 292.3 kB / 274.9 MB, free: 15.21 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.037e-05/0.01126, allocations: 29.7 kB / 275 MB, free: 15.17 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.925e-05/0.01134, allocations: 163.4 kB / 275.1 MB, free: 15 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.502e-05/0.01138, allocations: 27.78 kB / 275.1 MB, free: 14.98 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.355e-05/0.01144, allocations: 47.31 kB / 275.2 MB, free: 14.92 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001504/0.01159, allocations: 0.5001 MB / 275.7 MB, free: 14.41 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.072e-05/0.01163, allocations: 15.98 kB / 275.7 MB, free: 14.39 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.514e-05/0.01172, allocations: 114.7 kB / 275.8 MB, free: 14.25 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001066/0.01183, allocations: 98.02 kB / 275.9 MB, free: 14.13 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-06/0.01183, allocations: 0 / 275.9 MB, free: 14.13 MB / 266.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0001876/0.01202, allocations: 121.5 kB / 276 MB, free: 14 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.854e-05/0.01203, allocations: 8 kB / 276 MB, free: 14 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.661e-06/0.01204, allocations: 4.156 kB / 276 MB, free: 13.99 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.454e-05/0.01205, allocations: 0 / 276 MB, free: 13.99 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.949e-05/0.01213, allocations: 15.94 kB / 276.1 MB, free: 13.98 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.987e-06/0.01214, allocations: 7.984 kB / 276.1 MB, free: 13.97 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.834e-05/0.0122, allocations: 11.95 kB / 276.1 MB, free: 13.96 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.247e-06/0.01221, allocations: 4 kB / 276.1 MB, free: 13.95 MB / 266.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 0.0001099/0.01232, allocations: 180.4 kB / 276.3 MB, free: 13.77 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001569/0.01248, allocations: 121.5 kB / 276.4 MB, free: 13.64 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001716/0.01265, allocations: 103.8 kB / 276.5 MB, free: 13.53 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.03e-06/0.01265, allocations: 8 kB / 276.5 MB, free: 13.52 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.338e-06/0.01266, allocations: 0 / 276.5 MB, free: 13.52 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.388e-06/0.01266, allocations: 0 / 276.5 MB, free: 13.52 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001673/0.01283, allocations: 188.4 kB / 276.7 MB, free: 13.3 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.405e-06/0.01283, allocations: 0 / 276.7 MB, free: 13.3 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.223e-05/0.01288, allocations: 23.86 kB / 276.7 MB, free: 13.28 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.146e-06/0.01288, allocations: 0 / 276.7 MB, free: 13.28 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.509e-05/0.01289, allocations: 8.125 kB / 276.7 MB, free: 13.27 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.295e-06/0.0129, allocations: 0 / 276.7 MB, free: 13.27 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.035e-06/0.0129, allocations: 4 kB / 276.7 MB, free: 13.27 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000261/0.01316, allocations: 234.4 kB / 276.9 MB, free: 13.01 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.341e-05/0.01323, allocations: 47.77 kB / 277 MB, free: 12.96 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.136e-05/0.01326, allocations: 8 kB / 277 MB, free: 12.96 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.727e-05/0.01333, allocations: 4 kB / 277 MB, free: 12.95 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.884e-05/0.01338, allocations: 7.984 kB / 277 MB, free: 12.95 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.064e-05/0.0134, allocations: 8 kB / 277 MB, free: 12.94 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001445/0.01355, allocations: 201.1 kB / 277.2 MB, free: 12.74 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01355, allocations: 0 / 277.2 MB, free: 12.74 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002763/0.01382, allocations: 36 kB / 277.2 MB, free: 12.71 MB / 266.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.001289/0.01511, allocations: 409.2 kB / 277.6 MB, free: 12.45 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001992/0.01531, allocations: 87.56 kB / 277.7 MB, free: 12.36 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.01531, allocations: 320 / 277.7 MB, free: 12.36 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 4.617e-05/0.01536, allocations: 31.62 kB / 277.8 MB, free: 12.32 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004041/0.01576, allocations: 104.2 kB / 277.9 MB, free: 12.22 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005208/0.01628, allocations: 363 kB / 278.2 MB, free: 11.83 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.052e-05/0.01634, allocations: 92.31 kB / 278.3 MB, free: 11.72 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 6.125e-05/0.0164, allocations: 26.31 kB / 278.3 MB, free: 11.69 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.227e-05/0.01646, allocations: 20.5 kB / 278.3 MB, free: 11.67 MB / 266.7 MB Notification: Performance of SimCode: time 8.92e-07/0.01646, allocations: 4 kB / 278.4 MB, free: 11.67 MB / 266.7 MB Notification: Performance of Templates: time 0.006638/0.0231, allocations: 3.305 MB / 281.7 MB, free: 8.406 MB / 266.7 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=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.UpSample.pipe 2>&1) [Timeout 240] 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","",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.987565844785422]