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.001439/0.001439, allocations: 89.14 kB / 20.68 MB, free: 1.02 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.001607/0.001607, allocations: 162.8 kB / 23.95 MB, free: 4.148 MB / 14.72 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.451/1.451, allocations: 177 MB / 204.1 MB, free: 9.141 MB / 190.1 MB " [Timeout remaining time 178] 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 1.583e-06/1.583e-06, allocations: 0 / 325 MB, free: 0.5 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.559e-05/2.717e-05, allocations: 2.281 kB / 325 MB, free: 0.4961 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.UpSample): time 0.003541/0.003568, allocations: 1.993 MB / 327 MB, free: 15.16 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002534/0.006101, allocations: 1.2 MB / 328.2 MB, free: 14.38 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000213/0.006314, allocations: 7.875 kB / 328.2 MB, free: 14.38 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007458/0.00706, allocations: 163.7 kB / 328.4 MB, free: 14.32 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004589/0.007519, allocations: 159.7 kB / 328.5 MB, free: 14.25 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006774/0.008196, allocations: 221.4 kB / 328.7 MB, free: 14.12 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003507/0.008547, allocations: 229.7 kB / 329 MB, free: 14.02 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001332/0.00868, allocations: 37.34 kB / 329 MB, free: 14 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002144/0.008895, allocations: 132 kB / 329.1 MB, free: 13.94 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001516/0.009046, allocations: 79.77 kB / 329.2 MB, free: 13.91 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 3.605e-05/0.009082, allocations: 12.41 kB / 329.2 MB, free: 13.91 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001654/0.009248, allocations: 65.55 kB / 329.3 MB, free: 13.9 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 9.499e-05/0.009343, allocations: 57.81 kB / 329.3 MB, free: 13.87 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 8.688e-05/0.00943, allocations: 49.83 kB / 329.4 MB, free: 13.84 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004243/0.009854, allocations: 270.2 kB / 329.7 MB, free: 13.73 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.379e-06/0.009858, allocations: 1.062 kB / 329.7 MB, free: 13.73 MB / 302.1 MB Notification: Performance of FrontEnd: time 8.52e-07/0.009859, allocations: 0 / 329.7 MB, free: 13.73 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.045e-05/0.00987, allocations: 0 / 329.7 MB, free: 13.73 MB / 302.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.0008555/0.01073, allocations: 485.6 kB / 330.1 MB, free: 13.31 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.482e-05/0.01076, allocations: 14.38 kB / 330.1 MB, free: 13.31 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.004e-05/0.01083, allocations: 33.19 kB / 330.2 MB, free: 13.29 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003881/0.01122, allocations: 221.9 kB / 330.4 MB, free: 13.11 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.525e-05/0.01124, allocations: 14.22 kB / 330.4 MB, free: 13.1 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.005e-05/0.01127, allocations: 13.83 kB / 330.4 MB, free: 13.1 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005794/0.01185, allocations: 300.6 kB / 330.7 MB, free: 12.9 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.39e-05/0.01187, allocations: 4.172 kB / 330.7 MB, free: 12.89 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.542e-05/0.01188, allocations: 1.688 kB / 330.7 MB, free: 12.89 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.067e-06/0.01189, allocations: 7.094 kB / 330.7 MB, free: 12.89 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001648/0.01206, allocations: 68.16 kB / 330.8 MB, free: 12.86 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005128/0.01257, allocations: 314.4 kB / 331.1 MB, free: 12.56 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003512/0.01292, allocations: 164.1 kB / 331.3 MB, free: 12.43 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001625/0.01308, allocations: 75.33 kB / 331.3 MB, free: 12.38 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.33e-05/0.01313, allocations: 11.48 kB / 331.3 MB, free: 12.38 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002115/0.01334, allocations: 80.86 kB / 331.4 MB, free: 12.3 MB / 302.1 MB Notification: Performance of pre-optimization done (n=22): time 2.224e-06/0.01334, allocations: 0 / 331.4 MB, free: 12.3 MB / 302.1 MB Notification: Performance of matching and sorting (n=22): time 0.0006426/0.01398, allocations: 239.8 kB / 331.7 MB, free: 12.17 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001013/0.01408, allocations: 115 kB / 331.8 MB, free: 12.04 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003374/0.01442, allocations: 284.2 kB / 332 MB, free: 11.85 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.935e-05/0.01445, allocations: 31.92 kB / 332.1 MB, free: 11.81 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.351e-05/0.01454, allocations: 124 kB / 332.2 MB, free: 11.7 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.41e-05/0.01458, allocations: 33.3 kB / 332.2 MB, free: 11.67 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.041e-05/0.01464, allocations: 34.92 kB / 332.3 MB, free: 11.64 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001597/0.0148, allocations: 332.1 kB / 332.6 MB, free: 11.31 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.314e-05/0.01488, allocations: 31.61 kB / 332.6 MB, free: 11.3 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000133/0.01501, allocations: 107.6 kB / 332.7 MB, free: 11.19 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001734/0.01519, allocations: 99.02 kB / 332.8 MB, free: 11.11 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.354e-06/0.01519, allocations: 1.094 kB / 332.8 MB, free: 11.11 MB / 302.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0002694/0.01546, allocations: 151.6 kB / 333 MB, free: 11.01 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.478e-05/0.01547, allocations: 5.219 kB / 333 MB, free: 11.01 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.402e-06/0.01548, allocations: 6.438 kB / 333 MB, free: 11.01 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.838e-05/0.0155, allocations: 2.906 kB / 333 MB, free: 11.01 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.458e-05/0.01559, allocations: 18.23 kB / 333 MB, free: 11 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.324e-06/0.0156, allocations: 6.781 kB / 333 MB, free: 11 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.199e-05/0.01568, allocations: 12.06 kB / 333 MB, free: 10.99 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.122e-05/0.01569, allocations: 5 kB / 333 MB, free: 10.99 MB / 302.1 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.0001526/0.01585, allocations: 145 kB / 333.2 MB, free: 10.86 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002074/0.01605, allocations: 126.4 kB / 333.3 MB, free: 10.78 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002747/0.01633, allocations: 126.8 kB / 333.4 MB, free: 10.69 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.08e-06/0.01633, allocations: 3.375 kB / 333.4 MB, free: 10.69 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.709e-06/0.01634, allocations: 0.9375 kB / 333.4 MB, free: 10.69 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.125e-06/0.01635, allocations: 5.172 kB / 333.4 MB, free: 10.69 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002011/0.01655, allocations: 172.6 kB / 333.6 MB, free: 10.52 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.824e-06/0.01655, allocations: 1.562 kB / 333.6 MB, free: 10.52 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.927e-05/0.0166, allocations: 15.61 kB / 333.6 MB, free: 10.51 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.069e-06/0.0166, allocations: 9.031 kB / 333.6 MB, free: 10.5 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.656e-05/0.01662, allocations: 6.969 kB / 333.6 MB, free: 10.5 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.838e-06/0.01662, allocations: 2.156 kB / 333.6 MB, free: 10.5 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.01663, allocations: 1.281 kB / 333.6 MB, free: 10.5 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003786/0.017, allocations: 229.8 kB / 333.9 MB, free: 10.34 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.272e-05/0.0171, allocations: 48.53 kB / 333.9 MB, free: 10.31 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.929e-05/0.01714, allocations: 7.125 kB / 333.9 MB, free: 10.3 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.804e-05/0.01721, allocations: 11.89 kB / 333.9 MB, free: 10.3 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.06e-05/0.01726, allocations: 3 kB / 333.9 MB, free: 10.3 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.542e-05/0.01728, allocations: 14.27 kB / 333.9 MB, free: 10.29 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002199/0.0175, allocations: 209.3 kB / 334.1 MB, free: 10.15 MB / 302.1 MB Notification: Performance of sort global known variables: time 1e-07/0.0175, allocations: 0 / 334.1 MB, free: 10.15 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002984/0.0178, allocations: 39.97 kB / 334.2 MB, free: 10.14 MB / 302.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.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.001689/0.01949, allocations: 453.2 kB / 334.6 MB, free: 9.898 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0002806/0.01977, allocations: 104.5 kB / 334.7 MB, free: 9.855 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.01977, allocations: 1.219 kB / 334.7 MB, free: 9.855 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 7.627e-05/0.01985, allocations: 23.59 kB / 334.7 MB, free: 9.848 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005048/0.02035, allocations: 120.3 kB / 334.9 MB, free: 9.793 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007177/0.02107, allocations: 410.4 kB / 335.3 MB, free: 9.492 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001473/0.02122, allocations: 143.1 kB / 335.4 MB, free: 9.379 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 7.844e-05/0.02129, allocations: 28.22 kB / 335.4 MB, free: 9.363 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.251e-05/0.02136, allocations: 29.56 kB / 335.5 MB, free: 9.344 MB / 302.1 MB Notification: Performance of SimCode: time 3.2e-07/0.02136, allocations: 1.219 kB / 335.5 MB, free: 9.344 MB / 302.1 MB Notification: Performance of Templates: time 0.007784/0.02914, allocations: 3.115 MB / 338.6 MB, free: 7.262 MB / 302.1 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=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.UpSample.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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: 4.485989023000002]