Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.UpSample.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001794/0.001794, allocations: 120.7 kB / 19.18 MB, free: 3.906 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00219/0.00219, allocations: 202.6 kB / 22.12 MB, free: 0.9648 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.452/1.452, allocations: 230.5 MB / 255.4 MB, free: 9.051 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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.1.0-beta.om_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.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.UpSample") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002009/0.002009, allocations: 71.83 kB / 374.7 MB, free: 4.926 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2425/0.2445, allocations: 53.31 MB / 428 MB, free: 8.082 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.UpSample): time 0.003479/0.2479, allocations: 2.019 MB / 430.1 MB, free: 6.051 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002099/0.25, allocations: 1.266 MB / 431.3 MB, free: 4.781 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001185/0.2502, allocations: 7.938 kB / 431.3 MB, free: 4.773 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005849/0.2508, allocations: 159.5 kB / 431.5 MB, free: 4.617 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003846/0.2511, allocations: 155.3 kB / 431.6 MB, free: 4.465 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005673/0.2517, allocations: 205.8 kB / 431.8 MB, free: 4.266 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002961/0.252, allocations: 227.4 kB / 432.1 MB, free: 4.043 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001287/0.2521, allocations: 36.28 kB / 432.1 MB, free: 4.008 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001312/0.2523, allocations: 103.5 kB / 432.2 MB, free: 3.906 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001371/0.2524, allocations: 99.53 kB / 432.3 MB, free: 3.809 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.686e-05/0.2524, allocations: 12 kB / 432.3 MB, free: 3.797 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001353/0.2526, allocations: 59.97 kB / 432.4 MB, free: 3.738 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.406e-05/0.2526, allocations: 63.75 kB / 432.4 MB, free: 3.676 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 9.18e-05/0.2527, allocations: 83.42 kB / 432.5 MB, free: 3.594 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003565/0.2531, allocations: 264.1 kB / 432.8 MB, free: 3.344 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.397e-06/0.2531, allocations: 0 / 432.8 MB, free: 3.344 MB / 334.1 MB Notification: Performance of FrontEnd: time 3.306e-06/0.2531, allocations: 3.984 kB / 432.8 MB, free: 3.34 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.05e-05/0.2531, allocations: 0 / 432.8 MB, free: 3.34 MB / 334.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.0008174/0.2539, allocations: 0.566 MB / 433.3 MB, free: 2.719 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.209e-05/0.254, allocations: 8.031 kB / 433.4 MB, free: 2.711 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.051e-05/0.254, allocations: 28.8 kB / 433.4 MB, free: 2.684 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003736/0.2544, allocations: 282.9 kB / 433.7 MB, free: 2.371 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.584e-05/0.2544, allocations: 20.34 kB / 433.7 MB, free: 2.352 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.242e-05/0.2545, allocations: 20.12 kB / 433.7 MB, free: 2.332 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005466/0.255, allocations: 310.4 kB / 434 MB, free: 2.004 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.032e-05/0.255, allocations: 0 / 434 MB, free: 2.004 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.719e-05/0.255, allocations: 4 kB / 434 MB, free: 2 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.065e-05/0.255, allocations: 4 kB / 434 MB, free: 1.996 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001498/0.2552, allocations: 59.91 kB / 434.1 MB, free: 1.938 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005183/0.2557, allocations: 386.3 kB / 434.4 MB, free: 1.504 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003326/0.256, allocations: 171.9 kB / 434.6 MB, free: 1.309 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001394/0.2562, allocations: 78.55 kB / 434.7 MB, free: 1.223 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.871e-05/0.2562, allocations: 4.062 kB / 434.7 MB, free: 1.219 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001602/0.2564, allocations: 79.38 kB / 434.8 MB, free: 1.129 MB / 334.1 MB Notification: Performance of pre-optimization done (n=22): time 1.603e-06/0.2564, allocations: 3.938 kB / 434.8 MB, free: 1.125 MB / 334.1 MB Notification: Performance of matching and sorting (n=22): time 0.0004946/0.2569, allocations: 217.4 kB / 435 MB, free: 0.9062 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001094/0.257, allocations: 156.4 kB / 435.1 MB, free: 0.7227 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003065/0.2573, allocations: 277 kB / 435.4 MB, free: 448 kB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.458e-05/0.2573, allocations: 29.7 kB / 435.4 MB, free: 412 kB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.231e-05/0.2574, allocations: 124.6 kB / 435.6 MB, free: 280 kB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.773e-05/0.2574, allocations: 31.83 kB / 435.6 MB, free: 248 kB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.924e-05/0.2575, allocations: 49.94 kB / 435.6 MB, free: 192 kB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001578/0.2577, allocations: 338.8 kB / 436 MB, free: 15.85 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.027e-05/0.2577, allocations: 40.45 kB / 436 MB, free: 15.81 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000186/0.2579, allocations: 170.1 kB / 436.2 MB, free: 15.58 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002537/0.2582, allocations: 199.2 kB / 436.4 MB, free: 15.33 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.045e-06/0.2582, allocations: 0 / 436.4 MB, free: 15.33 MB / 350.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0003591/0.2586, allocations: 221.3 kB / 436.6 MB, free: 15.11 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.695e-05/0.2586, allocations: 8 kB / 436.6 MB, free: 15.1 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.092e-05/0.2586, allocations: 4 kB / 436.6 MB, free: 15.1 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.839e-05/0.2586, allocations: 8 kB / 436.6 MB, free: 15.09 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.299e-05/0.2587, allocations: 27.86 kB / 436.6 MB, free: 15.06 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.132e-05/0.2587, allocations: 8 kB / 436.6 MB, free: 15.05 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000113/0.2588, allocations: 27.81 kB / 436.7 MB, free: 15.03 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.426e-05/0.2588, allocations: 8.344 kB / 436.7 MB, free: 15.02 MB / 350.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.0001601/0.259, allocations: 172.3 kB / 436.8 MB, free: 14.84 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001882/0.2592, allocations: 129.4 kB / 437 MB, free: 14.71 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.467e-05/0.2592, allocations: 33.64 kB / 437 MB, free: 14.68 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.404e-06/0.2592, allocations: 0 / 437 MB, free: 14.68 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.709e-06/0.2592, allocations: 4.469 kB / 437 MB, free: 14.67 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.644e-06/0.2593, allocations: 7.922 kB / 437 MB, free: 14.66 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002314/0.2595, allocations: 241.6 kB / 437.3 MB, free: 14.38 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.476e-06/0.2595, allocations: 3.984 kB / 437.3 MB, free: 14.38 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.553e-05/0.2595, allocations: 11.94 kB / 437.3 MB, free: 14.36 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.154e-06/0.2595, allocations: 7.938 kB / 437.3 MB, free: 14.36 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.649e-05/0.2595, allocations: 8 kB / 437.3 MB, free: 14.35 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.893e-06/0.2595, allocations: 0 / 437.3 MB, free: 14.35 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.2595, allocations: 0 / 437.3 MB, free: 14.35 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003582/0.2599, allocations: 231.7 kB / 437.5 MB, free: 14.1 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001218/0.26, allocations: 124.9 kB / 437.6 MB, free: 13.96 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.849e-05/0.2601, allocations: 11.98 kB / 437.6 MB, free: 13.95 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.959e-05/0.2601, allocations: 4 kB / 437.6 MB, free: 13.94 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.57e-05/0.2602, allocations: 8 kB / 437.7 MB, free: 13.93 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.895e-05/0.2602, allocations: 7.984 kB / 437.7 MB, free: 13.93 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000209/0.2604, allocations: 204.5 kB / 437.9 MB, free: 13.73 MB / 350.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.2604, allocations: 0 / 437.9 MB, free: 13.73 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003041/0.2607, allocations: 47.88 kB / 437.9 MB, free: 13.68 MB / 350.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.001524/0.2622, allocations: 436.9 kB / 438.3 MB, free: 13.41 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003013/0.2625, allocations: 127.8 kB / 438.5 MB, free: 13.28 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.2625, allocations: 5.062 kB / 438.5 MB, free: 13.28 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 6.914e-05/0.2626, allocations: 23.98 kB / 438.5 MB, free: 13.25 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004655/0.2631, allocations: 118.5 kB / 438.6 MB, free: 13.14 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007105/0.2638, allocations: 427.1 kB / 439 MB, free: 12.69 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003789/0.2642, allocations: 0.7597 MB / 439.8 MB, free: 11.9 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.646e-05/0.2642, allocations: 31.38 kB / 439.8 MB, free: 11.87 MB / 350.1 MB Notification: Performance of SimCode: time 3.91e-07/0.2642, allocations: 0 / 439.8 MB, free: 11.87 MB / 350.1 MB Notification: Performance of Templates: time 0.005795/0.27, allocations: 3.296 MB / 443.1 MB, free: 8.586 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.UpSample.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.UpSample.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.UpSample.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.UpSample.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.UpSample.sim & ./Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.UpSample -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.UpSample.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.UpSample_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/UpSample/UpSample.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.UpSample.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 7.306901298929006]