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.001486/0.001486, allocations: 75.91 kB / 21.18 MB, free: 3.395 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.001672/0.001672, allocations: 145.5 kB / 24.54 MB, free: 36 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.9782/0.9782, allocations: 173.4 MB / 201.1 MB, free: 9.348 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.503e-06/1.503e-06, allocations: 0 / 268 MB, free: 6.445 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.534e-05/2.684e-05, allocations: 2.312 kB / 268 MB, free: 6.441 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.UpSample): time 0.009189/0.009216, allocations: 2.034 MB / 270 MB, free: 4.391 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.008134/0.01735, allocations: 1.094 MB / 271.1 MB, free: 3.289 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001924/0.01754, allocations: 7.938 kB / 271.1 MB, free: 3.281 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006498/0.01819, allocations: 163.3 kB / 271.3 MB, free: 3.121 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003055/0.0185, allocations: 123.4 kB / 271.4 MB, free: 3 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006209/0.01912, allocations: 239.2 kB / 271.6 MB, free: 2.766 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.00637/0.02549, allocations: 231.3 kB / 271.9 MB, free: 2.539 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001538/0.02564, allocations: 32.44 kB / 271.9 MB, free: 2.504 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002112/0.02585, allocations: 123.7 kB / 272 MB, free: 2.383 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001396/0.02599, allocations: 75.78 kB / 272.1 MB, free: 2.309 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 3.031e-05/0.02602, allocations: 16 kB / 272.1 MB, free: 2.293 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001664/0.02619, allocations: 67.77 kB / 272.2 MB, free: 2.227 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 7.582e-05/0.02627, allocations: 51.83 kB / 272.2 MB, free: 2.176 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 7.654e-05/0.02634, allocations: 59.77 kB / 272.3 MB, free: 2.117 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003601/0.0267, allocations: 187.2 kB / 272.5 MB, free: 1.934 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.838e-06/0.02671, allocations: 4 kB / 272.5 MB, free: 1.93 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.522e-06/0.02671, allocations: 4 kB / 272.5 MB, free: 1.926 MB / 250.7 MB Notification: Performance of Transformations before backend: time 5.68e-06/0.02671, allocations: 0 / 272.5 MB, free: 1.926 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.0007579/0.02747, allocations: 0.5712 MB / 273 MB, free: 1.312 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.583e-05/0.02752, allocations: 8.031 kB / 273.1 MB, free: 1.305 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.167e-05/0.02761, allocations: 40.78 kB / 273.1 MB, free: 1.266 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003765/0.02799, allocations: 244.3 kB / 273.3 MB, free: 0.9961 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.927e-05/0.02801, allocations: 8.375 kB / 273.3 MB, free: 0.9883 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.625e-05/0.02804, allocations: 16.38 kB / 273.4 MB, free: 0.9727 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006566/0.03461, allocations: 256.3 kB / 273.6 MB, free: 0.6953 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.82e-05/0.03462, allocations: 7.938 kB / 273.6 MB, free: 0.6875 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.931e-05/0.03464, allocations: 7.938 kB / 273.6 MB, free: 0.6797 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.949e-06/0.03465, allocations: 0 / 273.6 MB, free: 0.6797 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001081/0.03476, allocations: 35.97 kB / 273.7 MB, free: 0.6445 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005281/0.03529, allocations: 370.9 kB / 274 MB, free: 244 kB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002598/0.03555, allocations: 161.4 kB / 274.2 MB, free: 44 kB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001076/0.03566, allocations: 67.03 kB / 274.2 MB, free: 15.96 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.159e-05/0.03569, allocations: 15.98 kB / 274.3 MB, free: 15.95 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001295/0.03582, allocations: 73.05 kB / 274.3 MB, free: 15.86 MB / 266.7 MB Notification: Performance of pre-optimization done (n=22): time 2.074e-06/0.03582, allocations: 0 / 274.3 MB, free: 15.86 MB / 266.7 MB Notification: Performance of matching and sorting (n=22): time 0.0003736/0.03619, allocations: 189.8 kB / 274.5 MB, free: 15.67 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.987e-05/0.03626, allocations: 130.8 kB / 274.6 MB, free: 15.52 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002236/0.03649, allocations: 284.3 kB / 274.9 MB, free: 15.23 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.178e-05/0.03651, allocations: 37.69 kB / 275 MB, free: 15.18 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.318e-05/0.03659, allocations: 163.4 kB / 275.1 MB, free: 15.02 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.202e-05/0.03662, allocations: 27.78 kB / 275.1 MB, free: 14.99 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.072e-05/0.03669, allocations: 51.31 kB / 275.2 MB, free: 14.93 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001373/0.03682, allocations: 0.504 MB / 275.7 MB, free: 14.41 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.934e-05/0.03686, allocations: 19.92 kB / 275.7 MB, free: 14.39 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.322e-05/0.03695, allocations: 107.5 kB / 275.8 MB, free: 14.25 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003321/0.04027, allocations: 93.98 kB / 275.9 MB, free: 14.14 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.128e-06/0.04027, allocations: 0 / 275.9 MB, free: 14.14 MB / 266.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0002164/0.04049, allocations: 125.5 kB / 276 MB, free: 14.01 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.033e-05/0.04051, allocations: 8 kB / 276 MB, free: 14 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.763e-06/0.04051, allocations: 0 / 276 MB, free: 14 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.165e-05/0.04054, allocations: 4 kB / 276.1 MB, free: 14 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.464e-05/0.04063, allocations: 11.94 kB / 276.1 MB, free: 13.98 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.057e-06/0.04064, allocations: 4 kB / 276.1 MB, free: 13.98 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.995e-05/0.04071, allocations: 11.94 kB / 276.1 MB, free: 13.97 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.152e-05/0.04072, allocations: 8 kB / 276.1 MB, free: 13.96 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.0001246/0.04085, allocations: 180.6 kB / 276.3 MB, free: 13.77 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001578/0.041, allocations: 117.5 kB / 276.4 MB, free: 13.65 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001923/0.0412, allocations: 99.83 kB / 276.5 MB, free: 13.55 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.252e-06/0.0412, allocations: 7.984 kB / 276.5 MB, free: 13.54 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.869e-06/0.04121, allocations: 0 / 276.5 MB, free: 13.54 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.819e-06/0.04121, allocations: 0 / 276.5 MB, free: 13.54 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001809/0.04139, allocations: 192.4 kB / 276.7 MB, free: 13.32 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.325e-06/0.04139, allocations: 0 / 276.7 MB, free: 13.32 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.565e-05/0.04144, allocations: 11.94 kB / 276.7 MB, free: 13.3 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.34e-06/0.04145, allocations: 7.984 kB / 276.7 MB, free: 13.3 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.359e-05/0.04146, allocations: 8.125 kB / 276.7 MB, free: 13.29 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.479e-06/0.04146, allocations: 8 kB / 276.7 MB, free: 13.28 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.174e-06/0.04147, allocations: 0 / 276.7 MB, free: 13.28 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002617/0.04173, allocations: 230.4 kB / 276.9 MB, free: 13.03 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.444e-05/0.0418, allocations: 39.78 kB / 277 MB, free: 12.99 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.458e-05/0.04184, allocations: 11.98 kB / 277 MB, free: 12.98 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.031e-05/0.0419, allocations: 4 kB / 277 MB, free: 12.97 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.933e-05/0.04194, allocations: 11.92 kB / 277 MB, free: 12.96 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.89e-05/0.04196, allocations: 8 kB / 277 MB, free: 12.95 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.000145/0.0421, allocations: 201.1 kB / 277.2 MB, free: 12.76 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.0421, allocations: 0 / 277.2 MB, free: 12.76 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002693/0.04237, allocations: 32 kB / 277.2 MB, free: 12.73 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.00115/0.04352, allocations: 426 kB / 277.6 MB, free: 12.45 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0002076/0.04373, allocations: 83.58 kB / 277.7 MB, free: 12.36 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.04373, allocations: 0 / 277.7 MB, free: 12.36 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 4.587e-05/0.04378, allocations: 23.62 kB / 277.8 MB, free: 12.34 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000427/0.0442, allocations: 108.5 kB / 277.9 MB, free: 12.23 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006045/0.04481, allocations: 363 kB / 278.2 MB, free: 11.84 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.926e-05/0.04488, allocations: 88.31 kB / 278.3 MB, free: 11.73 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 7.208e-05/0.04495, allocations: 30.62 kB / 278.3 MB, free: 11.7 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.6e-05/0.04501, allocations: 28.5 kB / 278.4 MB, free: 11.68 MB / 266.7 MB Notification: Performance of SimCode: time 1.062e-06/0.04502, allocations: 0 / 278.4 MB, free: 11.68 MB / 266.7 MB Notification: Performance of Templates: time 0.005731/0.05075, allocations: 3.129 MB / 281.5 MB, free: 8.59 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: 3.20093985600397]