Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_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.00135/0.00135, allocations: 82.59 kB / 21.43 MB, free: 3.07 MB / 18.57 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.0009867/0.0009867, allocations: 170 kB / 24.82 MB, free: 9.254 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.036/1.036, allocations: 177 MB / 205.1 MB, free: 5.48 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/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_trunk_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_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.UpSample") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.885e-06/2.885e-06, allocations: 0 / 273.3 MB, free: 1.234 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.429e-05/2.717e-05, allocations: 5.266 kB / 273.3 MB, free: 1.23 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.UpSample): time 0.002501/0.002528, allocations: 2.045 MB / 275.4 MB, free: 15.16 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001388/0.003917, allocations: 1.223 MB / 276.6 MB, free: 13.93 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001067/0.004023, allocations: 3.938 kB / 276.6 MB, free: 13.93 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004745/0.004498, allocations: 155.4 kB / 276.8 MB, free: 13.78 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002625/0.00476, allocations: 171.1 kB / 276.9 MB, free: 13.61 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003475/0.005108, allocations: 211.2 kB / 277.1 MB, free: 13.4 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002063/0.005314, allocations: 235.3 kB / 277.4 MB, free: 13.17 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.657e-05/0.005411, allocations: 32.56 kB / 277.4 MB, free: 13.14 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000126/0.005537, allocations: 119.7 kB / 277.5 MB, free: 13.02 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.201e-05/0.005629, allocations: 87.7 kB / 277.6 MB, free: 12.94 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.263e-05/0.005651, allocations: 12 kB / 277.6 MB, free: 12.93 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.821e-05/0.00575, allocations: 67.84 kB / 277.7 MB, free: 12.86 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 5.992e-05/0.005809, allocations: 67.75 kB / 277.7 MB, free: 12.79 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 4.404e-05/0.005853, allocations: 43.84 kB / 277.8 MB, free: 12.75 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002059/0.006059, allocations: 195.2 kB / 278 MB, free: 12.56 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.934e-06/0.006061, allocations: 0 / 278 MB, free: 12.56 MB / 266.7 MB Notification: Performance of FrontEnd: time 4.11e-07/0.006062, allocations: 0 / 278 MB, free: 12.56 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.246e-06/0.006065, allocations: 0 / 278 MB, free: 12.56 MB / 266.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.000494/0.006559, allocations: 0.5905 MB / 278.6 MB, free: 11.93 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.571e-05/0.006595, allocations: 15.98 kB / 278.6 MB, free: 11.91 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.038e-05/0.006645, allocations: 32.8 kB / 278.6 MB, free: 11.88 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002066/0.006852, allocations: 244.3 kB / 278.8 MB, free: 11.61 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.995e-05/0.006872, allocations: 12.38 kB / 278.9 MB, free: 11.6 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.465e-05/0.006886, allocations: 16.31 kB / 278.9 MB, free: 11.59 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002796/0.007166, allocations: 252.2 kB / 279.1 MB, free: 11.31 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.195e-06/0.007174, allocations: 192 / 279.1 MB, free: 11.31 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.867e-06/0.007183, allocations: 384 / 279.1 MB, free: 11.31 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.076e-06/0.007191, allocations: 7.938 kB / 279.1 MB, free: 11.3 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.845e-05/0.00724, allocations: 35.91 kB / 279.2 MB, free: 11.27 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003038/0.007543, allocations: 327.6 kB / 279.5 MB, free: 10.91 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001756/0.007719, allocations: 157.4 kB / 279.6 MB, free: 10.72 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.066e-05/0.00777, allocations: 63.02 kB / 279.7 MB, free: 10.65 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.988e-05/0.00779, allocations: 8 kB / 279.7 MB, free: 10.64 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.022e-05/0.00787, allocations: 76.91 kB / 279.8 MB, free: 10.55 MB / 266.7 MB Notification: Performance of pre-optimization done (n=22): time 1.143e-06/0.007871, allocations: 0 / 279.8 MB, free: 10.55 MB / 266.7 MB Notification: Performance of matching and sorting (n=22): time 0.0002368/0.008108, allocations: 177.3 kB / 280 MB, free: 10.37 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.914e-05/0.008157, allocations: 118.8 kB / 280.1 MB, free: 10.23 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001573/0.008314, allocations: 296.2 kB / 280.4 MB, free: 9.922 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.645e-05/0.008331, allocations: 29.7 kB / 280.4 MB, free: 9.887 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001131/0.008444, allocations: 179.3 kB / 280.6 MB, free: 9.707 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.126e-05/0.008465, allocations: 23.83 kB / 280.6 MB, free: 9.684 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.208e-05/0.008507, allocations: 47.33 kB / 280.6 MB, free: 9.629 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.000109/0.008616, allocations: 0.5001 MB / 281.1 MB, free: 9.117 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.883e-05/0.008635, allocations: 11.98 kB / 281.1 MB, free: 9.105 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.68e-05/0.008692, allocations: 111.4 kB / 281.3 MB, free: 8.961 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.297e-05/0.008755, allocations: 86.06 kB / 281.3 MB, free: 8.852 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.474e-06/0.008757, allocations: 0 / 281.3 MB, free: 8.852 MB / 266.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0001108/0.008868, allocations: 125.3 kB / 281.5 MB, free: 8.723 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.195e-05/0.00888, allocations: 7.125 kB / 281.5 MB, free: 8.719 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.99e-06/0.008885, allocations: 4 kB / 281.5 MB, free: 8.715 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.197e-05/0.008897, allocations: 0 / 281.5 MB, free: 8.715 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.977e-05/0.008947, allocations: 24.08 kB / 281.5 MB, free: 8.691 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.336e-06/0.00895, allocations: 4.312 kB / 281.5 MB, free: 8.688 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.051e-05/0.00899, allocations: 11.94 kB / 281.5 MB, free: 8.676 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.102e-06/0.008996, allocations: 3.938 kB / 281.5 MB, free: 8.672 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 8.441e-05/0.009081, allocations: 180.8 kB / 281.7 MB, free: 8.484 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.547e-05/0.009176, allocations: 117.4 kB / 281.8 MB, free: 8.363 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001134/0.00929, allocations: 95.42 kB / 281.9 MB, free: 8.266 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.477e-06/0.009293, allocations: 4 kB / 281.9 MB, free: 8.262 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.803e-06/0.009295, allocations: 0 / 281.9 MB, free: 8.262 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.877e-06/0.009299, allocations: 0 / 281.9 MB, free: 8.262 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001102/0.009409, allocations: 161.1 kB / 282.1 MB, free: 8.078 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.392e-06/0.009411, allocations: 0 / 282.1 MB, free: 8.078 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.498e-05/0.009436, allocations: 15.92 kB / 282.1 MB, free: 8.062 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.453e-06/0.009437, allocations: 0 / 282.1 MB, free: 8.062 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.196e-06/0.009445, allocations: 8 kB / 282.1 MB, free: 8.055 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.897e-06/0.009449, allocations: 7.938 kB / 282.1 MB, free: 8.047 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.00945, allocations: 0 / 282.1 MB, free: 8.047 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002222/0.009672, allocations: 143.6 kB / 282.2 MB, free: 7.875 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.303e-05/0.009725, allocations: 43.83 kB / 282.3 MB, free: 7.832 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.194e-05/0.009747, allocations: 8 kB / 282.3 MB, free: 7.824 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.857e-05/0.009786, allocations: 11.94 kB / 282.3 MB, free: 7.812 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.305e-05/0.009809, allocations: 7.984 kB / 282.3 MB, free: 7.805 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.286e-05/0.009822, allocations: 8 kB / 282.3 MB, free: 7.797 MB / 266.7 MB Notification: Performance of sorting global known variables: time 8.36e-05/0.009905, allocations: 197.1 kB / 282.5 MB, free: 7.605 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.009905, allocations: 0 / 282.5 MB, free: 7.605 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001793/0.01008, allocations: 39.92 kB / 282.5 MB, free: 7.566 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.0007342/0.01082, allocations: 409.1 kB / 282.9 MB, free: 7.273 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001272/0.01095, allocations: 83.42 kB / 283 MB, free: 7.188 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.122e-06/0.01095, allocations: 0 / 283 MB, free: 7.188 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 3.14e-05/0.01098, allocations: 27.61 kB / 283 MB, free: 7.156 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002692/0.01125, allocations: 121.6 kB / 283.2 MB, free: 7.043 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000385/0.01163, allocations: 374.8 kB / 283.5 MB, free: 6.641 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.767e-05/0.01168, allocations: 100.2 kB / 283.6 MB, free: 6.523 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 4.451e-05/0.01172, allocations: 17.95 kB / 283.6 MB, free: 6.504 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.381e-05/0.01182, allocations: 110.2 kB / 283.8 MB, free: 6.395 MB / 266.7 MB Notification: Performance of SimCode: time 4.31e-07/0.01182, allocations: 0 / 283.8 MB, free: 6.395 MB / 266.7 MB Notification: Performance of Templates: time 0.005105/0.01692, allocations: 3.41 MB / 287.2 MB, free: 3.031 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.UpSample.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.UpSample.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.UpSample.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.UpSample.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.UpSample.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.UpSample -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.UpSample.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.UpSample_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.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.8137226621620357]