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.00143/0.00143, allocations: 82.17 kB / 21.42 MB, free: 3.078 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.001165/0.001165, allocations: 151.2 kB / 24.8 MB, free: 8.789 MB / 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.9791/0.9791, allocations: 173.3 MB / 201.4 MB, free: 9.219 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 2.044e-06/2.044e-06, allocations: 0 / 268.4 MB, free: 6.203 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.626e-05/2.83e-05, allocations: 5.547 kB / 268.4 MB, free: 6.199 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.UpSample): time 0.002904/0.002932, allocations: 2.015 MB / 270.4 MB, free: 4.164 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001479/0.004411, allocations: 1.079 MB / 271.5 MB, free: 3.078 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001824/0.004593, allocations: 7.938 kB / 271.5 MB, free: 3.07 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007216/0.005315, allocations: 159.3 kB / 271.7 MB, free: 2.914 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003224/0.005637, allocations: 127.4 kB / 271.8 MB, free: 2.789 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005825/0.00622, allocations: 243.1 kB / 272 MB, free: 2.551 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002747/0.006494, allocations: 227.3 kB / 272.2 MB, free: 2.328 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001332/0.006628, allocations: 36.42 kB / 272.3 MB, free: 2.289 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001681/0.006796, allocations: 123.6 kB / 272.4 MB, free: 2.168 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001118/0.006908, allocations: 79.77 kB / 272.5 MB, free: 2.09 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.726e-05/0.006935, allocations: 16 kB / 272.5 MB, free: 2.074 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001352/0.00707, allocations: 63.89 kB / 272.6 MB, free: 2.012 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 6.438e-05/0.007134, allocations: 55.77 kB / 272.6 MB, free: 1.957 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 5.384e-05/0.007188, allocations: 47.84 kB / 272.7 MB, free: 1.91 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002782/0.007466, allocations: 195.2 kB / 272.9 MB, free: 1.719 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.548e-06/0.007471, allocations: 4 kB / 272.9 MB, free: 1.715 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.643e-06/0.007473, allocations: 0 / 272.9 MB, free: 1.715 MB / 250.7 MB Notification: Performance of Transformations before backend: time 4.839e-06/0.007478, allocations: 0 / 272.9 MB, free: 1.715 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.000667/0.008145, allocations: 0.575 MB / 273.4 MB, free: 1.098 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.711e-05/0.008192, allocations: 12.03 kB / 273.4 MB, free: 1.086 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.687e-05/0.008269, allocations: 32.8 kB / 273.5 MB, free: 1.055 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002775/0.008546, allocations: 240.3 kB / 273.7 MB, free: 0.7891 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.243e-05/0.008568, allocations: 12.31 kB / 273.7 MB, free: 0.7773 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.459e-05/0.008583, allocations: 16.38 kB / 273.7 MB, free: 0.7617 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003246/0.008908, allocations: 244.3 kB / 274 MB, free: 0.4961 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.133e-05/0.008919, allocations: 3.938 kB / 274 MB, free: 0.4922 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.231e-05/0.008931, allocations: 8 kB / 274 MB, free: 496 kB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.783e-06/0.008938, allocations: 0 / 274 MB, free: 496 kB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.736e-05/0.008995, allocations: 35.84 kB / 274 MB, free: 460 kB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000427/0.009422, allocations: 331.6 kB / 274.3 MB, free: 92 kB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002346/0.009657, allocations: 161.2 kB / 274.5 MB, free: 15.89 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.778e-05/0.009725, allocations: 71.09 kB / 274.6 MB, free: 15.81 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.463e-05/0.009759, allocations: 4 kB / 274.6 MB, free: 15.81 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001274/0.009887, allocations: 69.03 kB / 274.6 MB, free: 15.73 MB / 266.7 MB Notification: Performance of pre-optimization done (n=22): time 2.365e-06/0.009889, allocations: 0 / 274.6 MB, free: 15.73 MB / 266.7 MB Notification: Performance of matching and sorting (n=22): time 0.0003051/0.01019, allocations: 169.4 kB / 274.8 MB, free: 15.55 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.293e-05/0.01027, allocations: 126.7 kB / 274.9 MB, free: 15.41 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002074/0.01047, allocations: 288.2 kB / 275.2 MB, free: 15.11 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.659e-05/0.0105, allocations: 33.7 kB / 275.2 MB, free: 15.07 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.307e-05/0.01059, allocations: 167.3 kB / 275.4 MB, free: 14.9 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.12e-05/0.01063, allocations: 27.77 kB / 275.4 MB, free: 14.87 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.26e-05/0.01068, allocations: 47.3 kB / 275.5 MB, free: 14.82 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001594/0.01084, allocations: 0.5079 MB / 276 MB, free: 14.3 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.609e-05/0.01086, allocations: 8 kB / 276 MB, free: 14.29 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.794e-05/0.01094, allocations: 107.5 kB / 276.1 MB, free: 14.15 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.601e-05/0.01102, allocations: 86.08 kB / 276.2 MB, free: 14.04 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.777e-06/0.01102, allocations: 4 kB / 276.2 MB, free: 14.04 MB / 266.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0001295/0.01115, allocations: 121.3 kB / 276.3 MB, free: 13.91 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.28e-05/0.01116, allocations: 4 kB / 276.3 MB, free: 13.91 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.712e-06/0.01117, allocations: 4 kB / 276.3 MB, free: 13.9 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.348e-05/0.01118, allocations: 0 / 276.3 MB, free: 13.9 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6e-05/0.01124, allocations: 16.14 kB / 276.3 MB, free: 13.89 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.935e-06/0.01125, allocations: 4 kB / 276.3 MB, free: 13.88 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.417e-05/0.01129, allocations: 15.89 kB / 276.4 MB, free: 13.87 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.466e-06/0.0113, allocations: 8 kB / 276.4 MB, free: 13.86 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 9.725e-05/0.0114, allocations: 172.5 kB / 276.5 MB, free: 13.68 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000101/0.0115, allocations: 118 kB / 276.6 MB, free: 13.56 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001233/0.01162, allocations: 103.4 kB / 276.7 MB, free: 13.45 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.457e-06/0.01162, allocations: 4 kB / 276.8 MB, free: 13.45 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.976e-06/0.01163, allocations: 4 kB / 276.8 MB, free: 13.44 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.859e-06/0.01163, allocations: 3.984 kB / 276.8 MB, free: 13.44 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001213/0.01175, allocations: 153.1 kB / 276.9 MB, free: 13.26 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.296e-06/0.01176, allocations: 3.984 kB / 276.9 MB, free: 13.26 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.32e-05/0.01179, allocations: 11.98 kB / 276.9 MB, free: 13.25 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.657e-06/0.01179, allocations: 3.938 kB / 276.9 MB, free: 13.24 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.758e-06/0.0118, allocations: 8 kB / 276.9 MB, free: 13.23 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.495e-06/0.01181, allocations: 0 / 276.9 MB, free: 13.23 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.903e-06/0.01181, allocations: 3.938 kB / 276.9 MB, free: 13.23 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000113/0.01192, allocations: 139.7 kB / 277.1 MB, free: 13.06 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.614e-05/0.01198, allocations: 39.77 kB / 277.1 MB, free: 13.02 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.213e-05/0.012, allocations: 11.94 kB / 277.1 MB, free: 13.01 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.615e-05/0.01205, allocations: 12 kB / 277.1 MB, free: 13 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.187e-05/0.01208, allocations: 7.984 kB / 277.1 MB, free: 12.99 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.606e-05/0.01209, allocations: 8 kB / 277.2 MB, free: 12.98 MB / 266.7 MB Notification: Performance of sorting global known variables: time 9.23e-05/0.01219, allocations: 193.1 kB / 277.3 MB, free: 12.8 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01219, allocations: 0 / 277.3 MB, free: 12.8 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001884/0.01237, allocations: 35.98 kB / 277.4 MB, free: 12.76 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.0008492/0.01322, allocations: 411.6 kB / 277.8 MB, free: 12.5 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001733/0.0134, allocations: 83.5 kB / 277.9 MB, free: 12.41 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.0134, allocations: 0 / 277.9 MB, free: 12.41 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 3.928e-05/0.01344, allocations: 23.67 kB / 277.9 MB, free: 12.39 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002943/0.01373, allocations: 107.9 kB / 278 MB, free: 12.29 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004565/0.01419, allocations: 370.9 kB / 278.4 MB, free: 11.89 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.401e-05/0.01425, allocations: 96.3 kB / 278.4 MB, free: 11.77 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 5.363e-05/0.01431, allocations: 29.92 kB / 278.5 MB, free: 11.74 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001076/0.01441, allocations: 110.2 kB / 278.6 MB, free: 11.63 MB / 266.7 MB Notification: Performance of SimCode: time 7.91e-07/0.01442, allocations: 0 / 278.6 MB, free: 11.63 MB / 266.7 MB Notification: Performance of Templates: time 0.005681/0.0201, allocations: 3.378 MB / 282 MB, free: 8.32 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.9099732572212815]