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.001078/0.001078, allocations: 79.69 kB / 21.7 MB, free: 2.848 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.001034/0.001034, allocations: 162.4 kB / 24.99 MB, free: 9.281 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 0.9822/0.9822, allocations: 177 MB / 205.2 MB, free: 5.59 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 1.473e-06/1.473e-06, allocations: 0 / 273 MB, free: 1.75 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.341e-05/1.488e-05, allocations: 2.312 kB / 273 MB, free: 1.746 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.UpSample): time 0.002453/0.002468, allocations: 2.052 MB / 275 MB, free: 15.68 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001327/0.003794, allocations: 1.234 MB / 276.3 MB, free: 14.43 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001056/0.0039, allocations: 3.938 kB / 276.3 MB, free: 14.43 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004608/0.004361, allocations: 159.4 kB / 276.4 MB, free: 14.27 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002451/0.004606, allocations: 163.2 kB / 276.6 MB, free: 14.11 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003311/0.004937, allocations: 223.1 kB / 276.8 MB, free: 13.89 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001958/0.005133, allocations: 231.4 kB / 277 MB, free: 13.67 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.851e-05/0.005231, allocations: 32.56 kB / 277.1 MB, free: 13.64 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001204/0.005352, allocations: 131.6 kB / 277.2 MB, free: 13.51 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.382e-05/0.005445, allocations: 83.7 kB / 277.3 MB, free: 13.43 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.171e-05/0.005467, allocations: 16 kB / 277.3 MB, free: 13.41 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.71e-05/0.005564, allocations: 59.91 kB / 277.4 MB, free: 13.35 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 5.723e-05/0.005621, allocations: 51.83 kB / 277.4 MB, free: 13.3 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 5.408e-05/0.005676, allocations: 55.77 kB / 277.5 MB, free: 13.25 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002216/0.005897, allocations: 191.2 kB / 277.6 MB, free: 13.06 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.743e-06/0.005899, allocations: 4 kB / 277.7 MB, free: 13.05 MB / 266.7 MB Notification: Performance of FrontEnd: time 7.41e-07/0.0059, allocations: 0 / 277.7 MB, free: 13.05 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.807e-06/0.005903, allocations: 0 / 277.7 MB, free: 13.05 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.0005272/0.006431, allocations: 0.5905 MB / 278.2 MB, free: 12.42 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.086e-05/0.006461, allocations: 15.97 kB / 278.3 MB, free: 12.41 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.067e-05/0.006522, allocations: 36.8 kB / 278.3 MB, free: 12.37 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002635/0.006786, allocations: 240.3 kB / 278.5 MB, free: 12.11 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.068e-05/0.006806, allocations: 16.36 kB / 278.5 MB, free: 12.09 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.692e-05/0.006823, allocations: 12.38 kB / 278.6 MB, free: 12.08 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003405/0.007164, allocations: 268.3 kB / 278.8 MB, free: 11.79 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.825e-06/0.007172, allocations: 4.125 kB / 278.8 MB, free: 11.79 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.165e-05/0.007183, allocations: 4.375 kB / 278.8 MB, free: 11.79 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.005e-05/0.007193, allocations: 11.94 kB / 278.8 MB, free: 11.77 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.211e-05/0.007265, allocations: 43.89 kB / 278.9 MB, free: 11.73 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003388/0.007604, allocations: 359 kB / 279.2 MB, free: 11.34 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001902/0.007794, allocations: 161.4 kB / 279.4 MB, free: 11.14 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.266e-05/0.007867, allocations: 67.03 kB / 279.5 MB, free: 11.06 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.962e-05/0.007887, allocations: 11.94 kB / 279.5 MB, free: 11.05 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.409e-05/0.007981, allocations: 69.03 kB / 279.5 MB, free: 10.97 MB / 266.7 MB Notification: Performance of pre-optimization done (n=22): time 1.623e-06/0.007982, allocations: 0 / 279.5 MB, free: 10.97 MB / 266.7 MB Notification: Performance of matching and sorting (n=22): time 0.0002801/0.008262, allocations: 193.4 kB / 279.7 MB, free: 10.77 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.72e-05/0.00832, allocations: 122.8 kB / 279.8 MB, free: 10.63 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001842/0.008504, allocations: 300.3 kB / 280.1 MB, free: 10.32 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.494e-05/0.008519, allocations: 25.7 kB / 280.2 MB, free: 10.29 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.277e-05/0.008592, allocations: 175.3 kB / 280.3 MB, free: 10.11 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.441e-05/0.008616, allocations: 19.86 kB / 280.4 MB, free: 10.09 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.097e-05/0.008657, allocations: 47.36 kB / 280.4 MB, free: 10.04 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001072/0.008764, allocations: 0.5001 MB / 280.9 MB, free: 9.523 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.961e-05/0.008794, allocations: 19.98 kB / 280.9 MB, free: 9.504 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.26e-05/0.008856, allocations: 103.5 kB / 281 MB, free: 9.367 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.862e-05/0.008935, allocations: 98.02 kB / 281.1 MB, free: 9.246 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.008937, allocations: 4 kB / 281.1 MB, free: 9.242 MB / 266.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0003668/0.009304, allocations: 129.7 kB / 281.2 MB, free: 9.109 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.244e-05/0.009316, allocations: 10.95 kB / 281.3 MB, free: 9.102 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.67e-06/0.009322, allocations: 8 kB / 281.3 MB, free: 9.094 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.104e-05/0.009333, allocations: 0 / 281.3 MB, free: 9.094 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.68e-05/0.00939, allocations: 12 kB / 281.3 MB, free: 9.082 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.79e-06/0.009395, allocations: 3.938 kB / 281.3 MB, free: 9.078 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.271e-05/0.009438, allocations: 19.92 kB / 281.3 MB, free: 9.059 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.202e-06/0.009444, allocations: 4 kB / 281.3 MB, free: 9.055 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 7.642e-05/0.009521, allocations: 168.9 kB / 281.5 MB, free: 8.879 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001189/0.00964, allocations: 125.4 kB / 281.6 MB, free: 8.75 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001221/0.009762, allocations: 107.4 kB / 281.7 MB, free: 8.641 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.396e-06/0.009765, allocations: 8 kB / 281.7 MB, free: 8.633 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.127e-06/0.009769, allocations: 3.984 kB / 281.7 MB, free: 8.629 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.827e-06/0.009773, allocations: 3.938 kB / 281.7 MB, free: 8.625 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000122/0.009895, allocations: 184.5 kB / 281.9 MB, free: 8.41 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.009896, allocations: 0 / 281.9 MB, free: 8.41 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.259e-05/0.009919, allocations: 11.98 kB / 281.9 MB, free: 8.398 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.324e-06/0.009921, allocations: 3.938 kB / 281.9 MB, free: 8.395 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.077e-06/0.00993, allocations: 11.94 kB / 281.9 MB, free: 8.383 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.944e-06/0.009932, allocations: 4 kB / 281.9 MB, free: 8.379 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.009933, allocations: 0 / 281.9 MB, free: 8.379 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001829/0.01012, allocations: 228.8 kB / 282.1 MB, free: 8.125 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.206e-05/0.01017, allocations: 43.77 kB / 282.2 MB, free: 8.082 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.396e-05/0.01019, allocations: 8 kB / 282.2 MB, free: 8.074 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.897e-05/0.01023, allocations: 8 kB / 282.2 MB, free: 8.066 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.167e-05/0.01026, allocations: 3.984 kB / 282.2 MB, free: 8.062 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.23e-05/0.01028, allocations: 12 kB / 282.2 MB, free: 8.051 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001094/0.01038, allocations: 209.1 kB / 282.4 MB, free: 7.848 MB / 266.7 MB Notification: Performance of sort global known variables: time 8e-08/0.01038, allocations: 0 / 282.4 MB, free: 7.848 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001795/0.01056, allocations: 39.92 kB / 282.5 MB, free: 7.809 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.0007802/0.01134, allocations: 412.1 kB / 282.9 MB, free: 7.512 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001617/0.01151, allocations: 95.61 kB / 283 MB, free: 7.414 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.452e-06/0.01151, allocations: 4.062 kB / 283 MB, free: 7.41 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 3.279e-05/0.01154, allocations: 23.67 kB / 283 MB, free: 7.383 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002918/0.01183, allocations: 110.3 kB / 283.1 MB, free: 7.277 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004052/0.01224, allocations: 386.8 kB / 283.5 MB, free: 6.863 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.625e-05/0.01228, allocations: 92.3 kB / 283.6 MB, free: 6.754 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 4.182e-05/0.01233, allocations: 17.95 kB / 283.6 MB, free: 6.734 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.942e-05/0.01236, allocations: 32.48 kB / 283.6 MB, free: 6.703 MB / 266.7 MB Notification: Performance of SimCode: time 6.41e-07/0.01237, allocations: 0 / 283.6 MB, free: 6.703 MB / 266.7 MB Notification: Performance of Templates: time 0.004463/0.01683, allocations: 3.151 MB / 286.8 MB, free: 3.59 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: 3.037790007190779]